Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– AI Agent Control Plane

Enterprise Self-Hosted Autonomous AI Agent & Automation Platform

Orchestrate, observe, and automate autonomous AI coding agents (Claude, Codex, Gemini, DeepSeek) across local, Docker, and private cloud sandboxes.

Author Email License MIT Status

πŸ“Œ Executive Overview

AI Agent Control Plane is a production-grade, self-hosted developer control center engineered to turn AI models into an always-on autonomous software engineering team.

Unlike closed commercial tools that upload source code to third-party servers, AI Agent Control Plane runs locally or on your private infrastructure. It equips autonomous agents with structured execution tools (bash shell, interactive file editing, headless browser testing, and git operations) operating inside isolated Docker sandboxes.

               β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
               β”‚    Developer Dashboard (React UI & Control Center)     β”‚
               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                           β”‚ WebSocket / ACP Protocol
                                           β–Ό
               β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
               β”‚    AI Agent Control Server Engine                      β”‚
               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                           β”‚
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β–Ό                                 β–Ό                                 β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Agent Execution β”‚             β”‚ Microsecond      β”‚             β”‚ System Safety    β”‚
β”‚  Sandbox (Docker)β”‚             β”‚ Telemetry Tracer β”‚             β”‚ Guards & Circuit β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”₯ Key System Capabilities

1. πŸ€– Autonomous Agentic Execution Loop

Implements the continuous Observe βž” Reason βž” Select Tool βž” Execute βž” Evaluate control loop. Agents autonomous analyze bug reports, inspect repositories, write code fixes, execute test suites (pytest, vitest, npm test), and commit verified changes.

2. 🐳 Isolated Docker Sandboxing

Prevents unsafe shell commands (rm -rf, arbitrary package installations) from damaging your host operating system. All bash execution, file mutations, and dependencies run inside lightweight, isolated Docker containers (ghcr.io/openhands/agent-canvas).

3. ⏱️ Microsecond Telemetry & Token Tracing

Monitors step-by-step agent telemetry in real time:

  • Step duration and tool execution latencies (milliseconds).
  • Prompt and completion token consumption per action.
  • Dollar cost calculations per task ($/task).

4. πŸ›‘οΈ Fault Tolerance & Safety Guards

  • Decision Loop Detection: Monitors action signatures and aborts execution if identical tool calls repeat $\ge 3$ times.
  • Step Budgeting: Enforces configurable execution ceilings (MAX_STEPS=10).
  • Distributed Circuit Breaker: State machine (CLOSED -> OPEN -> HALF-OPEN) that isolates failing external API dependencies.

5. ⚑ Event-Driven GitHub & Slack Automations

Listens for webhooks and cron schedules to automate everyday engineering tasks:

  • Auto-Fix GitHub Issues: Listens for opened issues, reproduces bugs, writes fixes, and opens Pull Requests.
  • Automated PR Reviews: Audits diffs against code formatting and security rules.
  • Incident Response: Monitors Slack alerts, diagnoses stack traces, and reports root causes.

🌐 Supported AI Models ("Bring Your Own LLM")

AI Agent Control Plane supports multi-model LLM backends via LiteLLM and OpenAI API adapters:

Provider Model Family Recommended Use Case
Anthropic Claude 3.5 Sonnet / Claude Code Primary choice for complex code refactoring and agentic tasks.
OpenAI GPT-4o / Codex Fast multi-modal reasoning and structured JSON extraction.
Google Gemini 1.5 Pro / Flash Long-context repo analysis and documentation synthesis.
Local LLMs DeepSeek-R1 / Qwen 2.5 Coder / Llama 3 Private offline execution via Ollama or vLLM.

πŸ“‚ Repository Architecture

ai-agent-control-plane/
β”œβ”€β”€ README.md                      # Primary platform documentation
β”œβ”€β”€ README.windows.md              # Windows PowerShell quickstart guide
β”œβ”€β”€ package.json                   # Package manifest (@nadeemahmad3/ai-agent-control-plane)
β”œβ”€β”€ requirements.txt               # Python core dependencies
β”œβ”€β”€ bin/
β”‚   └── agent-control-plane.mjs    # Executable CLI binary entry point
β”œβ”€β”€ control_plane/
β”‚   β”œβ”€β”€ schemas/                   # Pydantic state & execution contracts
β”‚   β”œβ”€β”€ core/                      # Autonomous agent execution engine
β”‚   β”œβ”€β”€ sandbox/                   # Isolated Docker / process runner
β”‚   β”œβ”€β”€ monitoring/                # Microsecond telemetry tracer
β”‚   β”œβ”€β”€ guards/                    # Loop detector & circuit breakers
β”‚   β”œβ”€β”€ api/                       # FastAPI control plane web server
β”‚   └── workflows/                 # Event-driven GitHub automation runners
β”œβ”€β”€ src/                           # Frontend UI dashboard & agent server tree
β”œβ”€β”€ docker/                        # Docker sandbox container configurations
β”œβ”€β”€ docs/                          # Architecture & self-hosting guides
└── tests/                         # Pytest unit & E2E integration test suite

⚑ Quickstart Guide

Option 1: Global NPM CLI Installation

# Install globally
npm install -g @nadeemahmad3/ai-agent-control-plane

# Launch Control Center
agent-control-plane

Option 2: Docker Sandbox Deployment (Recommended)

Prerequisites: Docker Desktop (Windows/macOS) or Docker Engine (Linux).

Linux / macOS:

export PROJECTS_PATH="$HOME/projects"
mkdir -p "$PROJECTS_PATH" "$HOME/.agent-control-plane"

docker run -it --rm \
  -p 8000:8000 \
  -v "$HOME/.agent-control-plane:/home/openhands/.openhands" \
  -v "${PROJECTS_PATH}:/projects" \
  ghcr.io/openhands/agent-canvas:latest

Windows (PowerShell):

$env:PROJECTS_PATH = Join-Path $HOME "projects"
New-Item -ItemType Directory -Force -Path $env:PROJECTS_PATH, (Join-Path $env:USERPROFILE ".agent-control-plane") | Out-Null

docker run -it --rm `
  -p 8000:8000 `
  -v "$($env:USERPROFILE)\.agent-control-plane:/home/openhands/.openhands" `
  -v "$($env:PROJECTS_PATH):/projects" `
  ghcr.io/openhands/agent-canvas:latest

Open http://localhost:8000 in your browser to access the control dashboard.


πŸ‘€ Author & Maintainer Information


πŸ“„ License

Distributed under the MIT License. See LICENSE for full details.

About

Enterprise Autonomous AI Agent Control Plane & Automation Platform

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages