Agent Control Room (ACR)
๐ Live Dashboard ยท โก Quick Start ยท ๐ SDK Reference ยท ๐ฆ PyPI ยท ๐ ๏ธ Deployment Guide
๐งญ Why Agent Control Room
Autonomous agents fail in ways traditional APM tools were never designed to catch โ runaway loops, silent cost overruns, degraded reasoning quality, and multi-step tool chains that are impossible to debug from logs alone.
Agent Control Room (ACR) is an open-source reliability layer purpose-built for agents. Drop it into an existing stack in seconds and immediately get full-fidelity tracing, live cost tracking, and safety guardrails โ no code changes required.
# Before ACR โ flying blind, must add callbacks everywhere manually
llm = ChatMistralAI(model="mistral-small-2506", callbacks=[acr_cb])
chain.with_config(callbacks=[acr_cb]) # โ tedious, error-prone
# After ACR v0.3.0 โ TRUE zero-effort, zero code changes
acr-run python agents.py
# โ That's it. Every LLM call, tool, loop, cost โ ACR dashboard instantly.Every LLM call, tool invocation, and agent decision is captured, costed, and monitored in real time. When an agent starts looping, blows through budget, or degrades in quality, ACR flags it before it becomes a production incident.
Related MCP server: Cordum_io
โจ Features
๐ Real-Time Tracing
Every LLM call, tool use, chain, retrieval, and agent step captured as OpenTelemetry-aligned spans โ visible in the Trace Inspector with exact latency and payloads.
๐ฐ Cost Intelligence
Token usage and spend broken down per run, per agent, and per model. Supports OpenAI, Anthropic, Google, Mistral, Meta Llama, and more.
๐ก๏ธ Guardrails & Safety
Cost limits, latency budgets, loop detection, quality gates, and PII redaction โ enforced client-side and server-side.
๐ Enterprise & Security
SAML/OIDC SSO, immutable audit logging, field-level encryption, SOC 2 readiness, and PII redaction out of the box.
๐ Live Dashboard
A real-time control room for runs, spans, costs, guardrails, evaluations, and audit logs โ all in one place.
๐ค Universal Auto-Instrumentation
acr-run CLI auto-detects and patches every installed AI framework at startup โ no callbacks, no decorators, no code changes.
๐งช LLM-as-a-Judge Evaluations
Auto-score agent outputs for hallucination, faithfulness, correctness, and relevance using Groq (free, fast).
๐ Multi-Agent Support
Hierarchical run trees link orchestrator runs to sub-agent runs via parent_run_id, visible in the dashboard.
๐ Supported Frameworks (v0.4.0) โ 13 Frameworks
Framework | Integration | How |
LangChain |
| Attach to any LLM or chain |
LangGraph |
| One call, patches all graphs |
CrewAI |
| Patches |
AutoGen / AG2 |
| Patches |
LlamaIndex |
| Patches LLM, Retriever, QueryEngine, Embeddings |
OpenAI |
| Wraps |
Groq โญ |
| Llama3, Mixtral, Gemma via Groq cloud |
Anthropic โญ |
| Claude 3.5 / Opus 4.x โ tool use spans included |
Google Gemini โญ |
|
|
Mistral AI โญ |
| Native Mistral API โ large, small, codestral |
Ollama โญ |
| Local inference โ tokens tracked, cost always $0.00 |
Google ADK โญ |
| Monkey-patch + OTel exporter for Google Agent Dev Kit |
Pydantic AI โญ |
| Wraps |
Any Python |
| Decorator-based, framework-agnostic |
Any language | REST API |
|
โญ New in v0.4.0
Install all integrations at once:
pip install "agentcontrolroom[all]"Or install only what you need:
pip install "agentcontrolroom[groq]"
pip install "agentcontrolroom[anthropic]"
pip install "agentcontrolroom[gemini]"
pip install "agentcontrolroom[mistral]"๐๏ธ Architecture
flowchart TB
A["๐ค Your AI Agents\nLangChain ยท CrewAI ยท AutoGen ยท LlamaIndex ยท Custom"] -->|"acr-run python app.py\n(zero code changes)"| B
subgraph B["๐๏ธ Agent Control Room"]
direction TB
C["๐ฅ Ingest API\n/api/v1/ingest/traces"]
D["๐งช Groq LLM Judge\nAuto-evaluation"]
E[("๐๏ธ PostgreSQL + Redis")]
F["๐ React Dashboard\nRuns ยท Spans ยท Costs ยท Guardrails"]
G["๐ Enterprise Layer\nSSO ยท Audit Logs ยท PII Redaction"]
C --> E
D --> E
E --> F
G --> E
end
B --> H["๐จ Guardrail Alerts\nCost ยท Latency ยท Loops ยท Quality"]
style A fill:#0ea5e9,color:#fff,stroke:#0369a1,stroke-width:2px
style B fill:#f8fafc,stroke:#6366f1,stroke-width:2px
style E fill:#6366f1,color:#fff,stroke:#4338ca,stroke-width:2px
style F fill:#22c55e,color:#fff,stroke:#15803d,stroke-width:2px
style H fill:#ef4444,color:#fff,stroke:#b91c1c,stroke-width:2pxStack: FastAPI ยท SQLAlchemy ยท PostgreSQL ยท Redis ยท Dramatiq ยท React ยท Vite ยท OpenTelemetry
โก Quick Start
Get from zero to a fully traced agent in under 60 seconds.
Option 1 โ acr-run (TRUE zero-effort, no code changes)
# 1. Install
pip install agentcontrolroom
# 2. Set ONE environment variable โ that's all
export ACR_API_KEY=your-api-key-here
# (endpoint defaults to ACR cloud automatically)
# 3. Run your EXISTING, UNMODIFIED project
acr-run python agents.pyWhat you'll see:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ACR Auto-Instrumentation Runner v0.3.0
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Scanning for AI frameworks...
โ
LangChain โ global callback injected (zero-effort)
โ
LangGraph โ monkey-patched (zero-effort)
โ
CrewAI โ monkey-patched (zero-effort)
โ
AutoGen โ monkey-patched (zero-effort)
โ
LlamaIndex โ monkey-patched (zero-effort)
โ
OpenAI โ client auto-wrapped (zero-effort)
6 frameworks instrumented. All traces โ ACR dashboard.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโOption 2 โ Manual (per-framework, one line)
# LangChain / LangGraph
from agentcontrolroom.instruments.langchain import ACRCallbackHandler
llm = ChatMistralAI(model="mistral-small-2506", callbacks=[ACRCallbackHandler()])
# CrewAI
from agentcontrolroom import instrument_crewai
instrument_crewai() # call before Crew/Agent creation
# AutoGen
from agentcontrolroom import instrument_autogen
instrument_autogen() # call before creating agents
# LlamaIndex
from agentcontrolroom import instrument_llamaindex
instrument_llamaindex() # call before using any index/query engine
# OpenAI direct
from agentcontrolroom import wrap_openai
import openai
client = wrap_openai(openai.OpenAI())Option 3 โ Decorator-based (any Python framework)
from agentcontrolroom import trace, configure
configure(api_key="acr-dev-xxxx")
@trace.agent(name="research-agent")
def research(query: str):
result = my_llm.invoke(query)
return result
@trace.tool(name="web-search")
def search(query: str):
return requests.get(f"https://api.search.com?q={query}").json()Verify Setup
acr-check==========================================================
Agent Control Room โ System Health Check
==========================================================
โ
Backend reachable (version: 0.3.0)
โ
API key valid
โ
Test trace ingested (1 span stored)
โ
Dashboard reachable
๐ All checks passed! (4/4)
==========================================================๐ Model Context Protocol (MCP) Server
Connect your AI coding assistants (Cursor, Windsurf, Claude Desktop, Antigravity, VS Code) directly to Agent Control Room. Ask your IDE's assistant to debug failed runs, audit token spend, and inspect traces in chat without leaving your code editor!
1. Cursor Setup (Settings -> MCP -> Add New MCP Server)
Name:
acrType:
commandCommand:
uvx agentcontrolroom mcpEnvironment Variables:
ACR_API_KEY:acr-dev-xxxxACR_ENDPOINT:https://acr-backend-xlj5.onrender.com
2. Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"acr": {
"command": "uvx",
"args": ["agentcontrolroom", "mcp"],
"env": {
"ACR_API_KEY": "acr-dev-xxxx",
"ACR_ENDPOINT": "https://acr-backend-xlj5.onrender.com"
}
}
}
}3. Available MCP Tools:
acr_list_runs: List recent agent runs with latency, cost, and status.acr_get_run_trace: Fetch full execution tree, child spans, prompts, and completions.acr_diagnose_failure: Pinpoint the exact failing span, triggering input, and stack trace so the AI can fix your code.acr_get_cost_summary: Analyze token spend across LLM models and detect anomalies.acr_list_guardrails: View active budget, latency, and loop detection rules.acr_create_guardrail: Create or adjust safety rules via natural language.acr_analyze_prompt_bloat: Detect duplicate prompt prefixes, token bloat, and prompt caching advice.acr_run_assertions: Run deterministic checks (schema validation, secret leaks, tool idempotency, grounding).acr_check_deadlock: Diagnose multi-agent alternating cycles and semantic deadlocks.acr_replay_step: Replay a single failed step with prior cached context and revised prompt/model in IDE.
4. Smithery 1-Click Install
To install Agent Control Room for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install agentcontrolroom --client claudeDeployment Options
pip install agentcontrolroom
export ACR_API_KEY=<your-key>
# ACR_ENDPOINT defaults to cloud automatically โ nothing else neededDeploys PostgreSQL, Redis, the FastAPI backend, and the React dashboard automatically.
git clone https://github.com/Darshan-1812/Helm-AI
cd Helm-AI
cp .env.example .env # fill in your values
docker compose up -dThen open http://localhost:3000.
Full guide including Railway, VPS, and enterprise VPC setups: docs/deployment.md
๐ Examples
Example | Description |
(Recommended) Visual demo triggering LLM-as-a-Judge and Cost Guardrails | |
Zero-config LangChain monitoring | |
Multi-agent crew with full trace hierarchy | |
Conversational agent tracing | |
RAG pipeline with retrieval + reranking spans | |
Instrument any framework by hand | |
Set budget limits with alerts | |
Verify your ACR setup |
๐๏ธ Repository Structure
Helm-AI/
โโโ backend/ FastAPI + PostgreSQL + Redis
โ โโโ app/
โ โ โโโ api/ REST endpoints (runs, ingest, guardrails, auth, ...)
โ โ โโโ models/ SQLAlchemy ORM models
โ โ โโโ services/ Business logic (tracing, eval, cost, PII, ...)
โ โ โโโ workers/ Dramatiq background workers
โ โโโ alembic/ Database migrations
โ โโโ Dockerfile.prod
โโโ sdk/ agentcontrolroom Python package (PyPI)
โ โโโ src/agentcontrolroom/
โ โโโ instruments/
โ โ โโโ langchain.py LangChain + LangGraph handler
โ โ โโโ crewai.py CrewAI monkey-patcher
โ โ โโโ autogen.py AutoGen / AG2 monkey-patcher
โ โ โโโ llamaindex.py LlamaIndex monkey-patcher โ NEW v0.3.0
โ โ โโโ openai.py OpenAI client wrapper
โ โโโ tracer.py @trace.agent / @trace.tool decorators
โ โโโ guardrails.py Client-side guardrail engine
โ โโโ cost.py Token cost calculator (OpenAI/Anthropic/Mistral/...)
โ โโโ _cli.py acr-check + acr-run CLI โ NEW v0.3.0
โโโ frontend/ React + Vite dashboard
โ โโโ src/components/
โ โโโ DashboardView.tsx Main dashboard (Traces, Cost, Guardrails, Agents, ...)
โโโ sdk-node/ @agentcontrolroom/node TypeScript SDK
โโโ docs/ Documentation
โโโ examples/ Working code examples
โโโ render.yaml One-click Render deploy
โโโ docker-compose.yml Local development๐ Changelog
7 new framework instruments โ Groq, Anthropic, Google Gemini, Mistral AI, Ollama, Google ADK, Pydantic AI
13 total supported frameworks โ most universal AI agent observability SDK in the Python ecosystem
Prompt Playground โ built-in UI to prototype prompts directly from the dashboard with real inference and automatic trace capture
Comprehensive pricing tables โ updated cost calculator with Claude 4.x, Gemini 2.5, Groq-hosted models
pip install agentcontrolroom[groq/anthropic/gemini/mistral/ollama]โ granular provider installs5 new unit test files โ test coverage for all new framework wrappers
acr-runCLI โ TRUE zero-effort auto-instrumentation. Run any project with no code changes:acr-run python agents.pyFull LlamaIndex support โ
instrument_llamaindex()patches LLM, Retriever, QueryEngine, Embeddings and Rerankerpip install agentcontrolroom[all]โ installs all framework integrations at onceDynamic model extraction โ dashboard correctly shows Mistral, Claude, Llama, etc. from live telemetry instead of hardcoded values
Live Trace Inspector โ clicking a run fetches and renders all child spans with prompts and tool outputs
CrewAI auto-instrumentation โ
instrument_crewai()with full crew/agent/tool hierarchyAutoGen / AG2 support โ
instrument_autogen()for both v0.2 and v0.4LangGraph support โ
instrument_langgraph()for graph-based agentsOpenAI direct wrapper โ
wrap_openai()for the raw OpenAI Python SDK
LangChain
ACRCallbackHandlerwith zero-config integrationGroq LLM-as-a-Judge auto-evaluation (hallucination, faithfulness, correctness, relevance)
acr-checkCLI health checkerSOC 2 Phase 4: data retention policies, encryption at rest
๐ Documentation
Quick Start Guide โ up and running in 60 seconds
SDK Reference โ full API documentation
LangChain Integration โ deep dive into LangChain support
Guardrails Setup โ cost limits, loop detection, quality gates
Enterprise & Security โ SSO, audit logs, PII redaction, SOC 2
Deployment Guide โ all deployment options
FAQ โ common questions answered
๐ Citation
If you use Agent Control Room in research or production, please cite:
@software{agentcontrolroom2026,
author = {Darshan Girase},
title = {Agent Control Room: Reliability Layer for Autonomous AI Agents},
year = {2026},
url = {https://github.com/Darshan-1812/Helm-AI},
version = {0.3.0}
}๐ License
MIT License โ see LICENSE for details.
Available Tools
10 toolsacr_analyze_prompt_bloatB
Analyze prompt redundancy, token bloat, and prompt caching advice for a run.
Args: run_id: The UUID or string ID of the agent run.
Inputs: run_id (required). Returns: result
acr_check_deadlockB
Check multi-agent execution for ping-pong dialogue cycles and semantic deadlocks.
Args: run_id: The UUID or string ID of the agent run.
Inputs: run_id (required). Returns: result
acr_create_guardrailB
Create a new safety guardrail to actively prevent runaway agent costs or loops.
Args: name: A descriptive rule name, e.g. 'Daily Max Spend' or 'Search Loop Breaker'. rule_type: Guardrail type: 'cost_limit', 'latency_limit', or 'loop_detection'. threshold: Numeric limit (e.g. 1.50 for $1.50 cost, 30.0 for 30s latency, 5 for max iterations). action: Response behavior when violated: 'block', 'alert', or 'kill'.
Inputs: name (required), rule_type (required), threshold (required), action. Returns: result
acr_diagnose_failureA
Diagnose the root cause of an agent failure by analyzing failed spans and error logs.
Args: run_id: Specific run ID to diagnose. If omitted, diagnoses the most recent failed run. agent_name: Optional agent name to narrow search when run_id is omitted.
Inputs: run_id, agent_name. Returns: result
acr_get_cost_summaryC
Analyze LLM token spend, costs by model, costs by agent, and detect cost spikes.
Args: days: Historical time window in days (default 7).
Inputs: days. Returns: result
acr_get_run_traceA
Retrieve full trace details, spans, prompts, and tool calls for a specific run.
Args: run_id: The UUID or string ID of the agent run.
Inputs: run_id (required). Returns: result
acr_list_guardrailsA
List all active agent guardrails and safety policies (cost limits, latency caps, loop detection).
Inputs: no named parameters. Returns: result
acr_list_runsA
List recent agent runs tracked by Agent Control Room.
Args: limit: Maximum number of runs to return (default 10, max 50). status: Filter by run status: 'running', 'completed', 'failed', or 'error'. agent_name: Filter by agent name (e.g. 'financial_analyst', 'code_reviewer').
Inputs: limit, status, agent_name. Returns: result
acr_replay_stepB
Reconstitute prior context and re-execute a single failed or revised step in Cursor / IDE.
Args: run_id: The UUID or string ID of the agent run. span_id: The specific span to replay. updated_prompt: Optional revised prompt or instructions to substitute for this step. updated_model: Optional alternative LLM model to test for this step.
Inputs: run_id (required), span_id (required), updated_model, updated_prompt. Returns: result
acr_run_assertionsC
Run deterministic assertion checks (schema validation, secret leaks, tool idempotency, grounding).
Args: run_id: The UUID or string ID of the agent run.
Inputs: run_id (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose: run listing, trace retrieval, cost summary, guardrail listing/creation, prompt bloat analysis, deadlock detection, failure diagnosis, step replay, and assertions. Although several tools take a run_id and analyze runs, their outputs and intended use cases are well separated by names and descriptions. There is no meaningful risk of confusing one tool for another.
All tools use a consistent acr_ prefix followed by snake_case verb_noun naming such as acr_get_run_trace, acr_list_runs, acr_create_guardrail, and acr_diagnose_failure. The pattern is predictable across the entire set. acr_run_assertions fits the same convention.
Ten tools is well-scoped for an agent control room focused on observability, diagnosis, replay, and safety. Each tool maps to a distinct monitoring or control workflow without obvious filler. The count is neither thin nor bloated.
The surface covers core workflows well: run listing, trace inspection, cost analysis, failure diagnosis, prompt bloat analysis, deadlock checking, replay, assertions, and guardrail creation/listing. The main gap is guardrail management beyond create/list, such as update, delete, or get-by-id for individual guardrails. Agents can likely work around these gaps, but the lifecycle is not fully closed.
Maintenance
Related MCP Connectors
Autonomous and governed SRE & MLOps control plane for AI agent platforms.
AI agent infrastructure: dedup, cost prediction, validation, governance, failure intelligence.
Enterprise AI Control Plane: governance, guardrails, spend tracking, compliance & smart routing.
Agent-native security, trust, reliability, data and procurement tools for AI workflows.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA unified MCP server providing observability, safety control, and behavior evolution for high-agency AI agents through tracing, replaying, and auditing. It features real-time firewall guardrails and ML-driven anomaly detection to monitor, block, or fork agent actions based on risk.MIT
- FlicenseNot gradedqualityBmaintenanceThe Control Plane for Autonomous AI Enforce policy before execution, require human approvals where risk demands it, and keep a full audit trail โ from first action to final result.500-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to operate autonomously with safety, parallelism, and dynamic tool management, without giving them full machine access.1AGPL 3.0
- AlicenseAqualityBmaintenanceEnables autonomous AI agents to proactively poll event queues, evaluate document compliance, retrieve grounded knowledge via semantic RAG, enforce human-in-the-loop approval gates, and track multi-model cost budgets.10MIT