Skip to content

Configuration

Set environment variables or a future config.toml (planned). Precedence: CLI flags > environment.

VariablePurposeDefault
CYBERZARD_MODEL_PROVIDERopenai, anthropic, nonenone
CYBERZARD_MAX_CONTEXT_BYTESUpper bound for model context payload20000
CYBERZARD_NO_HISTORYDisable transcript retentionunset

Example minimal AI setup:

Terminal window
export CYBERZARD_MODEL_PROVIDER=openai
export OPENAI_API_KEY=sk-...

Or per-invocation without changing your shell environment:

Terminal window
cyberzard --provider anthropic advise
  • Chat history is persisted to cyberzard_agent.sqlite in the project directory.
  • Use cyberzard chat --session <id> to segment conversations (each session has its own history).
  • Clear the current session during chat with /clear.