Config Hierarchy
Settings are merged in order (later overrides earlier):- Built-in defaults — Sensible defaults for all options
- Global config —
~/.strawpot/config.toml(or$STRAWPOT_HOME/config.toml) - Project config —
.strawpot/config.toml(in project root) - CLI flags — Override everything
Full Reference
Environment Variables
| Variable | Description | Default |
|---|---|---|
STRAWPOT_HOME | Global config and data directory | ~/.strawpot |
ANTHROPIC_API_KEY) are declared in the agent’s AGENT.md manifest and prompted for interactively when missing.
Config Locations
| Scope | Path |
|---|---|
| Global | ~/.strawpot/config.toml |
| Project | .strawpot/config.toml |
Agent Config
The[agents.<name>] section holds agent-specific settings beyond the standard protocol args. These are serialized as JSON and passed to the wrapper via --config.
Common examples: