Integrations

Claude Code CLI

Connect Claude Code for terminal-based coding and execution. Verified against 507 lines of adapter code.

Overview

The Claude Code CLI integration lets your AI agents dispatch coding tasks to Claude's terminal-based agent. This is one of our most powerful integrations — agents can write, review, and deploy code through Claude Code.

Setup

  1. Go to Integrations page in your dashboard
  2. Click “Connect Claude Code”
  3. Follow the setup instructions to install Claude Code CLI on your server
  4. AgentAGI handles the rest — agents can now dispatch coding tasks

Execution Lock

The integration includes a global execution lock. Since multiple agents share a single Claude account, only one CLI call executes at a time. This prevents conflicts and ensures clean task execution.

Use Cases

  • Code generation and review
  • Deployment automation
  • Testing and quality assurance
  • Infrastructure management