Getting Started
quick start
get baihu running in under 60 seconds
setup wizard
baihu onboard --interactive
the wizard walks you through:
- choosing a provider (openrouter, anthropic, openai, ollama, etc.)
- entering your API key (encrypted with ChaCha20-Poly1305 on save)
- testing the connection
- writing config to
~/.baihu/config.toml
first message
baihu agent -m "hello"
interactive mode
baihu agent
starts a REPL session. type messages, get responses. ctrl+c to exit.
with a specific provider
baihu agent -p anthropic -m "explain ownership in rust"
start the daemon
baihu daemon
runs the full runtime: gateway server, all configured channels, heartbeat engine, cron scheduler. use this for always-on operation.