Skip to main content
The nullclaw agent command starts the AI agent for interactive conversations or executes single messages.

Usage

Modes

Interactive Mode

Start an interactive chat session:
In interactive mode:
  • Type your messages and press Enter
  • The agent responds using the configured primary model
  • Type exit or 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:
Useful for:
  • 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
Tool availability depends on your security configuration (autonomy and workspace_only settings).

Security

The agent respects security boundaries configured in config.json:
  • workspace_only: Restricts file access to workspace
  • allowed_commands: Shell command allowlist
  • max_actions_per_hour: Rate limiting

See Also