ironclaw config
Manage application configuration settings. Settings are stored in the database (if available) or on disk, with environment variables taking precedence.Subcommands
init- Generate a default config.toml filelist- List all settings and their current valuesget- Get a specific setting valueset- Set a setting valuereset- Reset a setting to its default valuepath- Show settings storage info
Settings Priority
Settings are resolved in this order (highest to lowest priority):- Environment variables -
AGENT_NAME=mybot - config.toml file -
~/.ironclaw/config.toml - Database - Settings table
- Defaults - Built-in defaults
ironclaw config init
Generate a defaultconfig.toml file with current settings.
Syntax
Flags
--output, -o <PATH>
Output path for the config file.
- Default:
~/.ironclaw/config.toml
--force
Overwrite existing file.
Examples
Output
ironclaw config list
List all settings and their current values.Syntax
Flags
--filter, -f <PREFIX>
Show only settings matching this prefix.
Examples
Output
ironclaw config get
Get a specific setting value.Syntax
Arguments
<PATH>
Setting path using dot notation (e.g., agent.name, llm.model).
Examples
Error Handling
ironclaw config set
Set a setting value.Syntax
Arguments
<PATH>
Setting path using dot notation.
<VALUE>
Value to set. Can be a string, number, boolean, or JSON.
Examples
Requirements
- Requires database connection
- Setting path must exist in the schema
- Value must be valid for the setting type
Error Handling
ironclaw config reset
Reset a setting to its default value.Syntax
Arguments
<PATH>
Setting path to reset.
Examples
Behavior
- Removes the setting from the database
- The default value will be used
- Environment variables and config.toml still take precedence
ironclaw config path
Show settings storage information.Syntax
Output
Common Settings
Agent Settings
Heartbeat Settings
LLM Settings
Workspace Settings
Configuration File Format
Theconfig.toml file uses TOML format:
Troubleshooting
”Database connection required”
config set and config reset require a database connection:
“Warning: Could not connect to database”
The command falls back to disk-based configuration. Settings will be read from defaults and config.toml only.Settings not taking effect
Remember the priority order:- Check environment variables:
env | grep -i <setting> - Check config.toml:
cat ~/.ironclaw/config.toml - Check database:
ironclaw config get <path>