Seshat

Documentation

Overview

Seshat Documentation

Technical deep-dives into Seshat's intelligence systems — the scoring engine, the self-learning loop, the discovery layers, and the identity model underneath it all. Written for developers and researchers who want to understand the implementation, methodology, and data pipelines behind the scores.

Start here

See the big picture → Architecture

A top-to-bottom tour of the eight layers — from the UI you're looking at down to the edge runtime it lives on. Read that first, then dive into the details below.

Scoring & Intelligence

How a token becomes a single 0–100 number, and the signals that feed it.

Learning Loop

The feedback cycle that makes the scores objectively better over time.

Discovery & Data

Surfacing where attention concentrates, finding by meaning, and cross-source context.

Identity & Safety

The principle the whole system is built on.

Pipeline at a glance

Seshat runs entirely on Cloudflare Workers (TypeScript/ESM) with zero server infrastructure. All compute is edge-native; persistence is Cloudflare D1 (SQLite) and KV; blob storage is R2; semantic search runs on Workers AI + a Vectorize index. Three cron triggers drive everything, fanning heavy work out through Cloudflare Queues.

Every 10 min → fee scan (Bankr API) + enqueue composite scoring
Every 2 hours → dev enrichment · fee velocity · contract safety · auto-labeler · narratives · external enrich · identity research
Every 6 hours → AI research queue (top tokens by volume) → swarm on high-conviction (≥65)
Every Sunday → ridge-regression weight update (self-learning)

Admin endpoints

All require an Authorization: Bearer token.

POST /api/admin/fee-scan — full fee scan + enqueue scoring
POST /api/admin/score/:address — score one token synchronously
POST /api/admin/import/:address — import any Base token by address
POST /api/admin/enrich-devs?limit=N — bulk developer enrichment
POST /api/admin/enrich-dev/:wallet — single developer enrichment + score
POST /api/admin/trigger-research — queue top tokens for AI research
POST /api/admin/scan-narratives — run the narrative scanner
POST /api/admin/research-identity/:address — project/developer identity research
POST /api/admin/swarm/:address — run the multi-persona swarm
POST /api/admin/embed-backfill — backfill semantic vectors
POST /api/admin/enrich-external — CoinGecko + DeFiLlama enrich
POST /api/admin/backfill-twitter — backfill feeRecipient Twitter handles
POST /api/admin/bootstrap — seed labelled training outcomes