Overview
Theironclaw config command provides subcommands for viewing and modifying IronClaw settings. Settings are stored in the database with fallback to disk, following the precedence: environment variables > config.toml > database > defaults.
Subcommands
init
Generate a defaultconfig.toml file:
Output path for the config file. Defaults to
~/.ironclaw/config.toml.Overwrite existing config file if it exists.
list
List all settings and their current values:Show only settings matching this prefix (e.g., “agent”, “heartbeat”, “embeddings”).
get
Get the value of a specific setting:Setting path using dot notation (e.g., “agent.max_parallel_jobs”).
set
Set a setting value:Setting path using dot notation (e.g., “agent.max_parallel_jobs”).
Value to set. Will be parsed as JSON if possible, otherwise stored as a string.
reset
Reset a setting to its default value:Setting path to reset (e.g., “agent.name”).
path
Show information about where settings are stored:Available Settings
Key settings you can configure:Agent Settings
agent.name- Agent display name (default: “ironclaw”)agent.max_parallel_jobs- Maximum concurrent jobs (default: 5)agent.max_iterations- Maximum iterations per agent loop (default: 50)agent.timeout_secs- Job timeout in seconds (default: 300)
Heartbeat Settings
heartbeat.enabled- Enable periodic heartbeat loop (default: true)heartbeat.interval_secs- Seconds between heartbeats (default: 300)
Embeddings Settings
embeddings.enabled- Enable semantic search (default: false)embeddings.provider- Embeddings provider (“openai”, “local”) (default: “openai”)embeddings.model- Model to use (default: “text-embedding-3-small”)embeddings.batch_size- Batch size for indexing (default: 100)
Channel Settings
channels.http_enabled- Enable HTTP API (default: false)channels.http_port- HTTP server port (default: 3000)
WASM Settings
wasm.max_memory_mb- Maximum memory per WASM instance (default: 512)wasm.max_execution_time_ms- Execution timeout (default: 30000)
Configuration Precedence
Settings are resolved in this order (highest to lowest priority):- Environment variables -
AGENT_NAME,HEARTBEAT_ENABLED, etc. - config.toml - TOML configuration file
- Database - Settings stored in the database
- Defaults - Built-in default values
Examples
View all agent settings
Change agent name
Enable heartbeat with custom interval
Generate config file from current settings
config.toml file reflecting your current configuration, which you can then edit directly.
Editing config.toml
You can also edit the TOML file directly:Changes to
config.toml take effect when the agent restarts.Related Commands
ironclaw status
View current configuration status
ironclaw doctor
Validate configuration
ironclaw onboard
Reconfigure with interactive wizard
