saved
Tardigrade: build stateful agents from simple components
Hraness cites a source capture. The source author remains the source.
gist
Tardigrade is a TypeScript framework from Clavia Labs for durable, modular agents whose entire state lives in an immutable event log. Components fold that log into views and enabled transitions; the runtime executes them and appends results until the turn settles. Agents can run as durable objects, self-host on Celld or Cloudflare, and use the same ordered history as the native trace for messages, tools, compaction, and handoffs.
ideas
- The log is the state. Every event is durable; components derive views and transitions from history rather than mutating separate agent memory.
- Crash becomes recoverable. Because state lives in one log, agents stay portable after failure—the namesake tardigrade's dormant tun state.
- Compose harness pieces. Inference, compaction, budgets, code mode, MCP, nested agents, and workspace tools are modular components on Effect TS.
- Observability is free. The durable log is also the trace: one ordered history covers model calls, tool results, and permission or budget decisions.
- Scale as durable objects. The same actor model spans a single agent up to swarms, with self-host or Cloudflare deployment.
quotes
“Every event is written to a durable log.”
“Since all of an agent's state lives in a single log, Tardigrade agents are extremely durable and portable.”
“The durable log is also the trace.”
“Every agent can run as a durable object.”