The chat sidebar
The chat sidebar is a panel on the right where you ask questions about the page you’re reading or the whole wiki. Answers are grounded in your own wiki, and the agent’s edits appear live in the main view.
Connect an agent
Wikai is bring-your-own-agent: it doesn’t ship its own model, and AI usage is billed by your provider, not by Wikai (no token markup). You connect one of two backends, set in Settings.
Claude Code (recommended)
If you have a Claude Code subscription, Wikai uses your existing
Claude Code install — there’s no API key to manage. Wikai finds
the claude binary automatically.
Authenticate once per machine by running this in a terminal:
claude /login
Wikai never sees your subscription token — it uses the credentials Claude
Code stores in ~/.claude/. If Settings shows “Found, but not signed in”,
run the command above and re-detect.
Anthropic API (fallback)
If you don’t have a Claude Code subscription, paste an Anthropic API
key in Settings instead and click Test & save. You can pick the model
(default claude-sonnet-4-6). Use this only if you don’t have Claude Code
or specifically want a different model.
Grounding
Each message is grounded either in the current page or the whole wiki — so the agent answers from your sources, not the open web (unless you turn on internet search).
What the agent can do
- Answer questions with citations into your wiki.
- Draft new pages and edit existing ones — edits respect each page’s
agent_editpolicy, so changes to protected pages arrive as suggestions you approve rather than silent rewrites. - Tool calls show up in the transcript as it works; a Stop button interrupts a turn.
Last updated 2026-06-18.