API Reference
One page per kind of thing, each with its signature, its options and an example.
| Page | What is on it | Import from |
|---|---|---|
| Components | <Agent>, <Skill>, <Tool>, <Procedure> and the rest | curb |
| Hooks | useSession, useRouter, useSend and the rest | curb |
| Functions | defineAgent, createAgentStore, defineTool, the errors, what programs built on Curb use | curb |
| Providers | The LLM, speech-to-text and text-to-speech providers | curb/providers |
| Client | The browser side of a call | curb/client |
| Testing | scenario | curb/testing |
| Orchestration | Server-only exports for scripts | curb/orchestration |
| Configuration | Every environment variable, and package.json | |
| CLI | Every command | |
| Diagnostics | Every code | |
| Host protocol | How a host talks to a runner |
Types are exported too, such as ToolProps, SkillMeta and ConversationSink from curb, and
EffectiveSettings and SessionUpdate from curb/client.