1
Create a knowledge base
Knowledge bases store the documents your assistant searches at runtime. Create one for your product documentation now — you’ll attach it to the assistant in the next step.The knowledge base is empty for now. See Ingest Documents to populate it with files, text, or external sources like Notion.
2
Register a custom tool
Tools let your assistant call external APIs mid-conversation — for example, looking up an order. Register an HTTP tool with a request template and an input variable.Mark secrets in headers or query params with
secure: true — Feather encrypts them at rest. The assistant fills {{order_id}} from the conversation at call time.3
Create the assistant
Create the assistant with a system prompt, the knowledge base, and the tool attached. Feather provisions the assistant, an initial revision (with everything you passed), and a bound workflow, and returns all three.The assistant is created inactive (
active_revision_id is null). Save agent.id and agent_revision.id.4
Activate the revision
Activating the revision points the assistant’s A subsequent
active_revision_id at it and makes it handle all new conversations.GET /v1/assistants/agt_01hx3k2mz9vbqwerty123456 now shows active_revision_id pointing to this revision. There is no separate “publish” step — activation is what makes a revision live.5
Run a conversation
Start a conversation and send a turn to see your assistant in action.
API-key callers create
live conversations. For isolated development
testing that stays out of production analytics, use the dashboard test chat.
See Run a Conversation for streaming, polling,
and closing conversations.Iterating with revisions
To change your assistant’s behavior, don’t edit the live revision — create a new one, configure it, and activate it. Previous revisions stay available for instant rollback.1
Create a new revision from the current one
2
Update its configuration
Patch the new revision — for example, refine the prompt or attach another tool.
3
Activate it
Activate the new revision to roll it out. To roll back, activate any earlier revision.
What’s next?
Ingest documents
Upload files, paste text, or sync from Notion and Google Drive into your knowledge base.
Run a conversation
Open conversations, stream responses, poll, and close — with full code examples.