Conversation engine
ConversationAgent runs and streams turns with history, tool calling, structured output and plugins. It is the minimal set: core plus one provider.
Guide ↗Framework assembly
createQuery runs one-shot queries with built-in tools and permissions; InteractiveSession drives a full conversation; createAgentRuntime assembles a host runtime.
Guide ↗Servers, bots and serverless
Put the framework behind an SSE or WebSocket server with a full event stream per session, resume a saved session per bot channel, or run a stateless runtime that persists nothing.
Guide ↗One agent, many channels
TransportRegistry runs one agent definition behind several transports, with their enabled state kept in a settings file; there is no separate gateway process.
Guide ↗Product composition
assembleProduct builds a product from a declarative profile. Capability packs, slash-command modules, presets and output styles are the parts the coding CLI uses.
Guide ↗Ship your own CLI product
Depend on the published CLI package and own the entry, identity, assets and packaging: a product-bound CLI host, desktop-host helpers for an Electron app, and native binary builds.
Package README ↗Diagnostics, usage and evals
Check settings, provider, trust and plugins in one report; summarize local token use and cost without sending content; export content-free metrics; run evals as code.
Guide ↗