Skip to main content
Provider id: claude · CtrlNode agent type: ClaudeCode Runs tasks through the Claude Code CLI (claude command) with stream-json output. The Bridge writes CLAUDE.md into each task folder with role, instructions, and completion tags.

When to use it

  • You use an Anthropic Claude Code subscription on the Bridge machine
  • You prefer the official CLI over the programmatic Agent SDK
  • You want --resume session continuity on follow-up dispatches for the same task
For API-key-based programmatic agents, use Claude Agent SDK (claude-sdk) instead.

Prerequisites

Install Claude Code globally:
Authenticate once:

Environment variables

No ANTHROPIC_API_KEY is required when using CLI login.

CtrlNode setup

  1. Create a project with agent type Claude (CLI) / ClaudeCode
  2. Register agents in Team
  3. Ensure claude is on PATH for the user running ctrlnode

Example .env

How dispatch works

  1. Bridge creates the task folder under {BASE_PATH}/.ctrlnode/tasks/...
  2. Writes CLAUDE.md with instructions and required output paths
  3. Spawns claude with the task prompt; streams events to CtrlNode
  4. Parses terminal tags (TASK_COMPLETED, TASK_FAILED, TASK_BLOCKED) from the reply

Troubleshooting

← All providers