Conversation engine
ConversationAgent runs and streams turns with conversation history, tool calling, structured output, and plugins. The minimum setup is core and one provider.
Guide ↗Framework components
Use createQuery for a single query with built-in tools and permissions, InteractiveSession for a full conversation, and createAgentRuntime to assemble a host runtime.
Guide ↗Servers, bots and serverless
Use the framework in an SSE or WebSocket server with a full event stream for each session. Resume a saved session for each bot channel, or use a stateless runtime that stores nothing.
Guide ↗One agent, many channels
TransportRegistry runs one agent definition across multiple transports. A settings file records which transports are enabled. No separate gateway process is needed.
Guide ↗Product composition
Build a product from a declarative profile with assembleProduct. Use the same capability packs, slash-command modules, presets, and output styles as the coding CLI.
Guide ↗Ship your own CLI product
Use the published CLI package while controlling your product's entry point, identity, assets, and packaging. It provides a product-bound CLI host, desktop-host helpers for Electron, and native binary builds.
Package README ↗Diagnostics, usage and evals
Check settings, providers, workspace trust, and plugins in one report. Summarize local token usage and cost without sending content, export metrics without conversation content, and run evaluations as code.
Guide ↗