Skip to content

Contracts and routes

Use this section when you already understand the product shape and need route-level or SDK-level detail.

Reference map

This section is the bridge between product docs and raw repository contracts. Use it when you need to know which public surface exists, which route backs it, and where the literal source of truth lives.

MemoryPolicy memoryHandoffReplayAutomation + sandboxRaw contracts

Think in route families first, not single endpoints. Most integration mistakes happen when teams read one method in isolation and miss the surrounding continuity loop.

Best entry points

Start with the page that matches the runtime surface you are integrating:

How to use this section

Use this section in two passes:

  1. stay in the docs site for the public surface and family-level understanding
  2. only open raw contracts when you need exact field names or source-level debugging

For most integrations, you should not need to start from raw TypeScript files.

Public route families

FamilyMain jobStart here
MemoryWrite, recall, planning, task start, sessions, lifecycleMemory
Action retrievalRetrieve the next move explicitly, with evidence, uncertainty, and gate surfacesAction Retrieval
Policy memoryPersist, inspect, and govern self-evolving policy statePolicy Memory and Evolution
HandoffPause, store, recover, and resume task stateHandoff
ReplayRecord runs, compile playbooks, promote and reuseReplay and Playbooks
ReviewBuild continuity/evolution review material and review replay repairsReview Runtime
AutomationValidate, create, run, pause, and resume local automation graphsAutomation
SandboxExecute bounded local runtime actions and inspect logs/artifactsSandbox
Runtime operationsBoot, health, config, Lite boundaryLite Runtime
SDK integrationCall the runtime from TypeScriptSDK Quickstart

Common lookup tasks

If you are trying to answer...Read this page first
"How do I ask for a better first action?"Memory
"How do I ask what the agent should do next, and why?"Action Retrieval
"How do I know when the runtime wants inspect / widen recall / rehydrate first?"Uncertainty and Gates
"How do I turn gate output into a host action?"Operator Projection and Action Hints
"How do I inspect or govern self-evolving policy state?"Policy Memory and Evolution
"How do I pause work and resume it later?"Handoff
"How do I turn a successful run into something reusable?"Replay and Playbooks
"How do I validate or run an automation graph?"Automation
"How do I execute bounded local commands and inspect outputs?"Sandbox
"How do I get review-ready runtime state?"Review Runtime
"Which route families are really in Lite?"Lite Runtime
"How do I integrate this from code?"SDK Quickstart

What the public docs already cover

The docs site already explains:

  • the runtime model
  • the main continuity surfaces
  • the explicit action-retrieval and gate surfaces
  • the public SDK integration path
  • the Lite runtime boundary
  • the most important memory, handoff, and replay families

That means the raw repository references should be the second stop, not the first one.

Use the docs site for shape and meaning. Use raw contracts only when you need exact field names, support boundaries, or source-level debugging.

Raw sources when you need exactness

Sometimes you do need the literal source of truth. Use the raw sources below only when the docs page above is not enough.

SDK contracts

The main typed SDK request and response shapes live here:

Use that file when you need:

  • memory request shapes
  • replay payload shapes
  • handoff envelopes
  • automation and sandbox contracts

Runtime capability matrix

The best raw route-level reference today is:

Use it to answer:

  1. which routes are supported
  2. which are Lite subsets
  3. which are conditional
  4. which are intentionally unavailable in Lite

Runtime boundary

For public product boundary and open-core distribution stance:

Package-level references

How to use this page

Use this page for the public shape and integration path first.

When you need exact field-level detail, continue into:

  1. the repository contract files
  2. the capability matrix
  3. the SDK contract sources

Self-evolving continuity runtime for agent systems