BaihuBaihu
Getting Started

quick start

get baihu running in under 60 seconds

setup wizard

baihu onboard --interactive

the wizard walks you through:

  1. choosing a provider (openrouter, anthropic, openai, ollama, etc.)
  2. entering your API key (encrypted with ChaCha20-Poly1305 on save)
  3. testing the connection
  4. 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.

On this page