Skip to content

titan-platformShared parts for agentic tools

Thirty-five packages in a strict acyclic DAG, and the products composed thinly on top of them.

What this is ​

Four sibling projects — brain, active-work, codewatch, and a session miner — each independently grew the same concerns: SQLite storage with full-text search and a graph of edges, hybrid retrieval, headless agent triggering, a command registry exposed as CLI and MCP and HTTP, session-log mining, human-in-the-loop pauses, workflow orchestration.

titan-platform is where those concerns get factored out. Each one becomes a published @titan-design/* package with a single job, arranged so that a package may import only its own tier or a lower one. The old projects then shrink: they keep their own commands, their own domain rules, and their own names, and get the machinery from npm.

This is mostly an extraction problem rather than a build problem. Almost every package here started as working code in one of those four projects, and the extraction notes in each package's page say which one and what was deliberately left behind.

Who it is for ​

You are building an agentic tool and you need one of the parts: a durable human-approval gate, a Drain clusterer for tool errors, a byte-offset provenance scheme, a daemon that speaks MCP and HTTP over the same command definitions. Install that one package. Nothing here requires adopting the rest.

You are working on one of the four projects and want to replace hand-rolled machinery with a package. Read the binding pattern first — it is the technique that makes an adoption a hundred-line diff instead of a rewrite — and then the case study of the adoption that took active-work's server from 1,302 lines to 632 with its 1,321 tests unchanged.

You are contributing here. Working in the repo has the DAG rules, the scaffold, the changeset requirement, and the release flow.

Where to start ​

If you wantGo to
To install one package and use itGet started
To know what each package doesPackages
To understand the tiers and why they are enforcedArchitecture
To see the whole DAG working end to endCase study: the session miner
To run the factory, Shepherd, or another productRunning the products
To add a package or cut a releaseWorking in the repo

MIT licensed