NullClaw’s configuration system uses a JSON file located atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/nullclaw/nullclaw/llms.txt
Use this file to discover all available pages before exploring further.
~/.nullclaw/config.json to control every aspect of the agent runtime.
Configuration Location
The config file is automatically created during onboarding at:Configuration Structure
The configuration is organized into logical sections:- Models: Provider credentials and model selection
- Channels: Communication interfaces (Telegram, Discord, CLI, etc.)
- Memory: Storage backends and vector search
- Security: Sandbox, audit, and resource limits
- Gateway: HTTP webhook server
- Autonomy: Action approval and workspace restrictions
- Agent: Behavior settings like context limits and tool iterations
Full Example Configuration
Here’s a complete example showing all major sections:Configuration Loading Order
NullClaw loads configuration in this order (later sources override earlier ones):- Built-in defaults — Hardcoded fallback values in the source code
- Config file —
~/.nullclaw/config.jsonif it exists - Environment variables — Specific overrides (e.g.,
NULLCLAW_API_KEY) - Profile presets — Memory profile defaults applied after parsing
- Start with an empty config file and add only what you need
- Override specific values without duplicating the entire structure
- Use environment variables for sensitive credentials
Editing the Configuration
To modify your configuration:-
Open the file:
- Make your changes (ensure valid JSON syntax)
-
Restart NullClaw for changes to take effect:
NullClaw validates the config at startup. If parsing fails, you’ll see a warning and the agent will fall back to defaults.
Next Steps
Explore detailed configuration for each section:Model Configuration
Configure AI providers and model selection
Channels
Set up Telegram, Discord, and other messaging platforms
Memory
Choose memory backends and enable vector search
Security
Configure sandboxing and resource limits