nullclaw agent command starts the AI agent for interactive conversations or executes single messages.
Usage
Modes
Interactive Mode
Start an interactive chat session:- Type your messages and press Enter
- The agent responds using the configured primary model
- Type
exitor press Ctrl+C to quit - Full conversation history is maintained
- Memory tools are available (memory_store, memory_recall)
Single Message Mode
Execute a single message and exit:- Scripting and automation
- Quick queries
- Integration with other tools
Options
string
Execute a single message and exit (non-interactive)
Configuration
The agent uses the default model from~/.nullclaw/config.json:
Examples
Basic Interactive Session
Single Message
With Memory
Tool Access
The agent has access to all configured tools by default:- File operations: file_read, file_write, file_edit, file_append
- Shell: shell command execution (with allowlist)
- Memory: memory_store, memory_recall, memory_forget
- Browser: browser, browser_open, screenshot
- Git: git_operations
- Hardware: hardware_info, hardware_memory
autonomy and workspace_only settings).
Security
See Also
- Gateway - Long-running gateway mode
- Onboard - Initial setup wizard
- Configuration - Config file reference