Provider id:Documentation Index
Fetch the complete documentation index at: https://docs.ctrlnode.ai/llms.txt
Use this file to discover all available pages before exploring further.
claude-sdk · CtrlNode agent type: ClaudeAgentSdk
Uses @anthropic-ai/claude-agent-sdk to run agentic tasks in the task workspace. CtrlNode labels this Claude in the UI (SDK mode).
When to use it
- You have an Anthropic API key and want programmatic tool access
- You need configurable tool lists (
Read,Write,Bash, etc.) - You run headless servers without Claude Code subscription
Prerequisites
Option A — API key (servers)CLAUDE_SDK_EXECUTABLE to a custom claude binary path on Linux.
Environment variables
| Variable | Default | Description |
|---|---|---|
ANTHROPIC_API_KEY | — | API key (if not using CLI login) |
CLAUDE_SDK_TOOLS | Read,Write,Edit,Bash,Glob,Grep | Allowed tools |
CLAUDE_SDK_MAX_TURNS | 50 | Max turns |
CLAUDE_SDK_TIMEOUT_MINUTES | 10 | Task timeout |
CLAUDE_SDK_PERMISSION_MODE | bypassPermissions | bypassPermissions | acceptEdits | dontAsk |
CLAUDE_SDK_EXECUTABLE | — | Path to claude binary |
AGENTS_FOLDER | Home | Workspace root |
Example .env
CtrlNode setup
- Project agent type Claude /
ClaudeAgentSdk - Register agents in Team
- Start Bridge with key or login present
Combine providers
Troubleshooting
| Issue | Fix |
|---|---|
Warning anthropic_api_key_missing | Set ANTHROPIC_API_KEY or run claude login |
| SDK cannot find binary | Set CLAUDE_SDK_EXECUTABLE |
| Task uses CLI provider instead | Agent type must be ClaudeAgentSdk |