Delegate tasks to external CLI coding tools like Claude Code, Gemini CLI, Codex, Copilot, or Aider.
cli_agent
tool
—
prompt
working_dir
null
When cli_agents.enabled = true with no explicit tool configs, these defaults are registered (if the command exists on the system):
cli_agents.enabled = true
claude
-p --output-format json
gemini
-p --output-format json --sandbox=false
codex
exec --json --full-auto
copilot
-p
aider
--yes --message
which
[cli_agents] enabled = true timeout_secs = 600 max_output_chars = 16000 [cli_agents.tools.claude] command = "claude" args = ["-p", "--output-format", "json"] description = "Claude Code for coding tasks" [cli_agents.tools.custom-tool] command = "/usr/local/bin/my-ai-tool" args = ["--json"] description = "My custom AI tool" timeout_secs = 120
The tool attempts to extract structured output:
result
output
content
message
max_output_chars