Focused, navigation-friendly walkthroughs for building with @hec-ovi/agentickit. Each page is self-contained: open the one matching your task, copy the snippets, ship.
The root README is the marketing-and-overview page. These guides are the "I'm in the editor, now what" pages.
- Getting started - install, minimal Next/Bun example, run it locally
- The three hooks -
usePilotState,usePilotAction,usePilotForm - Chat surfaces -
<PilotSidebar>,<PilotPopup>,<PilotModal>,<PilotChatView> - Server handler -
createPilotHandler, the.pilot/skills protocol, the CLI
- Runtimes and multi-agent - swap
localRuntimeforagUiRuntime; route to one of many agents - Human-in-the-loop - confirm modal for mutating actions,
renderAndWaitfor pause-and-resume - Providers - the supported AI SDK adapters; vLLM-specific gotchas (live-verified)
- Testing - the mocked fetch harness, the live vLLM gate, what to assert
- API surface reference. Use TypeScript and your editor's hover, or read
packages/agentickit/src/types.tsdirectly. Types are the contract. - Phase history. The CHANGELOG is the running log.
- Generative UI internals. See
PilotAgentStateViewsource; the test file alongside it is a good worked example.
- Compact, opinionated, code-first. If a page is more than a screen of prose, something is wrong.
- Examples are real. Every snippet here is structurally close to something in
packages/agentickit/src/orexamples/todo/. - We update these alongside the code. If a guide claims something the source no longer does, file an issue.