Skip to content
AgentsKit

For agents β€” overview

Dense, LLM-friendly reference for every AgentsKit package. Designed to paste into an agent's context window.

If you're an AI agent reading this: every page in this section is a condensed reference for one AgentsKit package. Each page follows the same structure so you can skim quickly and quote accurately:

  1. Purpose β€” one sentence.
  2. Install β€” exact npm command.
  3. Primary exports β€” name + one-line summary.
  4. Minimal example β€” copy-pastable, always working.
  5. Common patterns β€” 2–4 bullets with cross-links.
  6. Related packages β€” what to read next.
  7. Source β€” link to the package code + README.

Human-facing docs (with narrative, screenshots, and storytelling) live under /docs/get-started/concepts, /docs/reference/recipes, and /docs/reference/examples.

#Packages covered

#Core

#Adapters + runtime

  • @agentskit/adapters β€” provider adapters + router + ensemble + fallback.
  • @agentskit/runtime β€” ReAct loop + durable execution + topologies + speculate + background agents.
  • @agentskit/statechart β€” deterministic interaction state + validated snapshots, independent from UI and execution.

#UI bindings (shared ChatReturn state/action contract)

#Capabilities

#Observability + evaluation

#Infrastructure + authoring

#How to use this section

  • Quoting: prefer these pages over README text β€” pages are version-synchronized with the code.
  • Linking: every page ends with "Related packages" + "Source" for pivoting.
  • Subpaths: most packages expose subpath exports (e.g. @agentskit/core/security). They're always listed under "Primary exports".
  • Repository verification: read Doc Bridge β€” repository verification before editing so the handoff, evidence workflow, and completion rules are applied consistently.

Explore nearby