Skip to content

Packages ​

Every package below is published to npm under @titan-design/ and versions independently. A package in this repo may import only its own tier or a lower one. Products are compositions, private unless linked; the design system is published from a separate repository.

Tier 0 — primitives ​

Domain-free building blocks. No titan dependencies.

PackageWhat it doesTitan dependencies
agent-protocolHarness-neutral identity and usage contracts for execution and session readersnone
anthropic-accountAnthropic account state: usage readings, token-free login state, account labels and secret redaction, with a ./node subpath for profiles, the 0600-gated credentials read, the usage file, the usage poller and the locked, atomic token refreshnone
app-pathsResolve an app's per-user data, config, cache and log directories, plus active-work's data root, with no runtime dependenciesnone
authorityThe authority decision table as data: who may merge, release, read secrets, spawn or actuate hardware, with a pure evaluatornone
chat-protocolThe canonical chat message document and envelope every agent-chat surface speaksnone
clusterDeterministic Drain template mining with pluggable line maskingnone
code-parserTree-sitter WASM parsing for TypeScript, TSX and Python, plus the source-file filter and the Extractor contractnone
egress-scanScan git diff text for home paths, private-workspace paths, private terms and credential tokens, reporting location and rule id onlyfix-proof
embedLocal embedding runtime (local/Ollama/remote) with a zero-download hash fallbacknone
eslint-pluginESLint rules that enforce the titan code-quality limits: functions of at most 30 non-blank lines, opt-in code lines of at most 200 characters, comments that hold code, and TODO comments without a tracking tasknone
evidenceCitation verification, overlap grouping, planted-control scoring and small-sample statistics for model-judged evidencenone
fix-proofProves a fix PR's new tests fail on the merge base and pass at head: diff plan, vitest report classification, fix-proof/v1 result linenone
locatorByte-offset provenance locators and raw-mirror durability helpersnone
openai-accountRead-only Codex account state: login status, rollout quota readings, freshness and admissionanthropic-account
owner-proofOwner-signed statements: canonical JSON, P-256 key ring and an exact-bytes ECDSA verify core generic over a zod schemanone
rpc-protocolDependency-free wire contract between a titan daemon and its clients: envelope, exit codes, routes, SSE vocabulary, CommandMapnone
store-sqliteSQLite table-factory kit: bi-temporal edges, current-state entities with soft expiry, content-addressed cache, contentless FTS5, watermark, migrationsnone
test-kitTyped test doubles: partialFake builds a T from only the fields a test uses, without a castnone
tool-guardClassifies Claude Code tool calls into guarded authority actions, with a POSIX shell tokenizerauthority

Tier 1 — engines ​

Reusable machinery over the primitives.

PackageWhat it doesTitan dependencies
agentHeadless agent triggering over the Claude Agent SDK with env-scrub, failure taxonomy, and hard budgetsagent-protocol, agent-lifecycle
agent-dispatchStart and resume agent-chat agents through the agent-chat CLI, with the brief kept out of argvnone
agent-lifecycleDurable agent execution state and fenced ownershipagent-protocol, store-sqlite
agent-surfaceWhere a spawned agent is presented (headless or an iTerm2 pane, tab or window), and the launcher that execs its plannone
daemonhono host: /rpc + /mcp + SSE events, file watch, and process lifecycleregistry, rpc-protocol
frame-captureDeterministic frame capture of any page that speaks the __titanMotion protocolnone
githubGitHub REST port over the gh CLI: validated paths, required checks from branch rules, and an in-memory fakenone
healthhealth/v1 contract, probes, append-only sample store and uptimestore-sqlite
hitlHuman-in-the-loop gate()/resolve() primitiveauthority, evidence, store-sqlite
matrix-busMatrix client-server API over fetch: appservice client, io.titan.item codec, owner resolution fold, #queue bootstrapnone
messagingRuntime-neutral messaging transport: contract, BlueBubbles iMessage and Telegram Bot API adapters, mock, inbound validators, livenessnone
registryzod command registry projected to CLI, MCP, and HTTP surfacesrpc-protocol
retrievalFTS + vector + graph retrieval with RRF fusion, rerank cascade, and fail-openembed, store-sqlite
rpc-clientBrowser-safe typed client for titan daemons, with live (HTTP + SSE) and static (snapshot file) data sourcesrpc-protocol
speech-g2pEnglish text to misaki phoneme tokens in pure TypeScript: lexicon G2P, spaCy-compatible tokenizer, compromise POS taggernone
speech-sttSpeech-recognition helpers: a transformers.js Whisper recogniser with an audio-hash cache, a wav2vec2 phone recogniser with CTC logits, a CPython-parity SequenceMatcher, script alignment, transcript diff, Word and Transcript schemas, and a resamplernone
speech-ttsSwappable text-to-speech provider contract, registry and command/HTTP adaptersapp-paths
worktreeGit worktree mechanics for headless agents: budgeted allocation, release safety, park, re-create and sweepnone

Tier 2 — domain ​

Modules that know about a subject: transcripts, code, rules.

PackageWhat it doesTitan dependencies
code-graphTypeScript/Python code graph: ts-morph + tree-sitter extraction with incremental reuse, on the store kitcode-parser, embed, evidence, retrieval, store-sqlite
code-readVersioned read API over code-graph snapshots: a contract, a per-snapshot ReadModel, browser-safe query functions, and registry commandscode-graph, registry, rpc-protocol
coordinatorSeat config and charter policy schemas for the autonomy coordinator (pure code: zod schemas and inferred types).agent-dispatch
deciderDecision ledger: v2 row schema, outcome classifier, exclusion, append-only store and the AskUserQuestion transcript sourcelocator, memory, session-read, store-sqlite
dispatch-ledgerBurndown claim ledger: zod schema, phase edges, and burndown.json parse and export.store-sqlite
graph-layoutLevel collapses and deterministic ELK layered layouts (flat and compound) over a code-graph snapshotcode-graph
memoryDecaying rule playbook: bullets, feedback, deterministic curation, recallembed, retrieval, store-sqlite
owner-queueThe owner queue core: one OwnerItem schema across every store of record, the QueueSource port, merge-by-keys and rank as pure functionsevidence, review-schema
pmProject-management schemas: the zod task schema and its type, as active-work stores tasksnone
queue-mirrorProjects a local queue of human-actionable items into a Matrix room and folds the owner's verdicts backhitl, matrix-bus, store-sqlite
review-panelReview-panel types and the reviewer ports a caller satisfiesevidence, fix-proof, session-read
session-analyticsPricing, session classification, banding, the cost report and the session timeline over mined session dataagent-protocol, review-panel, session-graph, session-read, store-sqlite
session-graphFold session events into the activity graph on store-sqlitelocator, session-read, store-sqlite, agent-protocol
session-readClaude Code and Codex transcript parse: JSONL lines to typed session events with byte-offset locatorslocator, agent-protocol, anthropic-account
speech-vetSpeech text vetting: pronunciation override markup, heteronym reading checks, lexicon.v1, initialism spelling, number normalization and phone-level pronunciation verdictsspeech-g2p, speech-stt, speech-tts
style-analyzerTree-sitter style extractors that turn source files into observations, and the aggregator that turns observations into a style profile with confidence and stabilitycode-parser, style-profile
style-checkerRun external lint tools (ruff, ESLint) against configs generated from a style profile, normalize their output into one diagnostic shape, and diff observations against a profilestyle-analyzer, style-profile
style-profileDeclare one code-style profile and export it as enforcement artifacts: ESLint and ruff configs, EditorConfig, Claude rules, hooks, a skill, and markdownnone
throughputPer-class throughput model: recency-weighted quantiles of agent-hours and cost over task actualsevidence
workflowDurable imperative workflows: memoized steps, agent dispatch, human gates, replay on restartagent, agent-protocol, authority, hitl, store-sqlite

UI ​

React bindings for the daemon wire. The design system, react-ui, is listed here but published from a separate repository.

PackageWhat it doesTitan dependencies
react-appReact hooks over @titan-design/rpc-client and a Vite preset for daemon-backed appsrpc-client, rpc-protocol
react-uiCross-platform design system built on React Native primitives with NativeWindnone

Products ​

Thin compositions of the tiers. A linked product is published; the rest are private.

PackageWhat it doesTitan dependencies
active-workDurable workspace state for engineering work — CLI, MCP, and Claude skill for tracking initiatives across sessionsagent-protocol, cluster, daemon, decider, locator, pm, registry, retrieval, session-analytics, session-graph, session-read, store-sqlite
evalsEval registry: spec schemas for units, variants, cases, suites, checks and scorecards, with canonical content hashingagent, authority, evidence, fix-proof, health, hitl, review-panel, session-analytics, session-read, store-sqlite, workflow
explainerExplainer video pipeline: beats.json and digest.json schemas, packet builder, finding attributionagent, agent-protocol, evidence, graph-layout, pm, speech-vet
factoryCode-driven software-factory workflows: durable runs, routed step runners, evidence and gate-policy seamsagent, agent-dispatch, app-paths, authority, coordinator, daemon, fix-proof, github, health, hitl, owner-queue, registry, review-panel, review-schema, rpc-client, session-analytics, session-read, store-sqlite, workflow, worktree
retrieval-evalRetrieval eval harness: transcript-mined query/label pairs scored over candidate retrieversapp-paths, embed, retrieval, store-sqlite
session-minerThe session miner: index Claude Code transcripts into a session graph and serve it over CLI, MCP, and HTTPapp-paths, cluster, daemon, embed, github, locator, memory, pm, registry, retrieval, session-analytics, session-graph, session-read, store-sqlite, throughput
titanThe titan host CLI: health sampling of the factory and the hostdaemon, health
codewatchcodewatch's layered code report: the first consumer of @titan-design/react-app and @titan-design/code-readcode-read, react-app, react-ui, rpc-client, rpc-protocol
titan-consoleThe titan console: one read-only loopback daemon and react-ui shell over active-work, the agent-chat broker and the session graphapp-paths, chat-protocol, daemon, decider, github, owner-queue, pm, react-app, react-ui, registry, review-schema, rpc-client, session-analytics, session-graph, session-read, store-sqlite, worktree

MIT licensed