hraness

saved

Agencity: a durable runtime for autonomous agents

by Rob CheungGitHub

gist

Agencity is Rob Cheung's durable, client-independent runtime for autonomous agents whose work outlives any single model context, interface, or process. Committed local event history, not the live TypeScript heap, is the source of truth, so tasks, decisions, effects, and relationships survive crashes and closed terminals. Models work through a persistent TypeScript console with one formal tool pair, bun_console and finish. It is trusted-local software, not a sandbox: generated code has the process's OS authority.

ideas

  • Committed state outlives the process. Tasks, messages, decisions, effects, and relationships resume from the last committed boundary without a preserved language heap.
  • The model gets a TypeScript console, not a workflow menu. File, shell, SQL, subagent, skill, and artifact work runs through durable APIs; repeated workflows can become skills.
  • Autonomy is bounded and attributable. Budgets, deadlines, permissions, cancellation, and completion gates constrain work; uncertain effects stay unknown instead of being retried as success.
  • Learning stays under review. Proposed memory, prompt, skill, and subagent changes need evidence, deterministic validation, and independent review, and every accepted refinement is reversible.
  • This is trusted-local software. Generated TypeScript and shell have the process's OS authority; the Bun worker isolates crashes, not hostile code.

quotes

Agencity treats committed state—not the live process or model context—as the source of truth.

Rob Cheung, stating the durability thesis.

The agent cannot expand its own authority.

Rob Cheung, stating the authority bound.

Generated code is not isolated from the host operating system.

Rob Cheung, stating the isolation limit.

The separate Bun worker provides crash isolation only.

Rob Cheung, distinguishing crash isolation from a sandbox.