Skip to content

Coding Agents Connector

The Coding Agents connector integrates Agentcy with sandboxed coding agents. It provides 4 live tools to spawn, manage, and interact with isolated coding environments powered by Claude Code, Codex, Gemini, or Cursor.

Authentication

The Coding Agents connector connects to a Coding Agents server instance using a server URL and API key.

json
{
  "name": "Coding Agents",
  "source_type": "ciab",
  "config": {
    "server_url": "https://coding-agents.example.com",
    "api_key": "ciab-key-...",
    "default_agent": "claude-code",
    "timeout_secs": 30
  }
}
VariableRequiredDescription
server_urlYesCoding Agents server URL
api_keyYesCoding Agents API key
default_agentNoDefault coding agent: claude-code, codex, gemini, cursor
default_modelNoDefault model for the selected agent
timeout_secsNoRequest timeout in seconds (default: 30)

Live Tools (4)

ToolDescriptionArguments
ciab_spawn_agentSpawn a new sandboxed coding agentagent?, model?, repo_url?, branch?
ciab_assign_taskAssign a coding task to a running agentsession_id, task, files?
ciab_exec_commandExecute a shell command in the agent's sandboxsession_id, command
ciab_terminateTerminate a running agent sessionsession_id

Example: Agent Using Coding Agents Tools

User: "Spin up a coding agent to fix the login bug in our repo"

Agent: I'll spawn a sandboxed coding agent.
→ Calls ciab_spawn_agent(agent: "claude-code", repo_url: "https://github.com/org/app.git", branch: "main")
→ Returns session_id: "sess-abc123"
→ Calls ciab_assign_task(session_id: "sess-abc123", task: "Fix the login bug where users get a 401 after password reset. Check auth/login.ts and auth/middleware.ts")
→ Returns: "Task assigned. Agent is analyzing the codebase..."
User: "Check if the tests pass now"

Agent: I'll run the tests in the sandbox.
→ Calls ciab_exec_command(session_id: "sess-abc123", command: "npm test -- --filter auth")
→ Returns test output with pass/fail results

ETL Ingestion

This connector does not support ETL ingestion. All tools operate as live interactions with sandboxed coding environments.

Configuration Reference

json
{
  "name": "Coding Agents",
  "source_type": "ciab",
  "config": {
    "server_url": "https://coding-agents.example.com",
    "api_key": "ciab-key-...",
    "default_agent": "claude-code",
    "default_model": "claude-sonnet-4-20250514",
    "timeout_secs": 30
  }
}
FieldTypeDefaultDescription
server_urlstringrequiredCoding Agents server URL
api_keystringrequiredCoding Agents API key
default_agentstringclaude-codeDefault coding agent to spawn
default_modelstring--Default model for the agent
timeout_secsnumber30Request timeout in seconds

Proxy CLI

Inside CIAB sandboxes, the Proxy CLI provides the agent with direct access to the Agentcy knowledge graph and file storage. It is the primary communication channel between sandboxed coding agents and the Agentcy platform — see the pipeline agent use case for a full walkthrough.

Troubleshooting

ErrorCauseFix
Connection refusedCoding Agents server is unreachableVerify server_url and network connectivity
401 UnauthorizedInvalid API keyCheck the API key in Coding Agents server settings
Session not foundAgent session expired or was terminatedSpawn a new agent with ciab_spawn_agent
Agent spawn timeoutServer took too long to provision the sandboxIncrease timeout_secs or check server load
Unsupported agentRequested agent type is not available on the serverCheck available agents on your Coding Agents instance

Built by AgentcyLabs. For in-house deployment or Agentcy Cloud (PaaS) access, visit agentcylabs.com.