Shared, versioned memory for AI coding agents — MCP server with git-style history (log/diff/blame) for Claude Code, Cursor & Claude Desktop
AgentHelm
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
The Control Plane for Autonomous AI Agent Fleets
---
> **AgentHelm** is the control plane that keeps autonomous AI agents safe in production. It wraps any agent framework (LangGraph, CrewAI, custom Python/Node fleets, Claude Code, Cursor) with human-in-the-loop approvals, audit trails, budget guardrails, fail-closed safety, and a shared, versioned **Project Brain** so agents stay accountable, on-budget, and recoverable.
---
🧠 The Project Brain Loop
1. **Get Context**: On startup, an agent fetches versioned, compiled architecture & database context.
2. **Execute Safely**: Agent operates within token budgets and Telegram HITL safety guardrails.
3. **Propose Knowledge**: As agents discover schemas or make design trade-offs, they propose knowledge entries.
4. **Compile & Evolve**: The **Brain Compiler** verifies evidence, resolves conflicts, and releases the next Project Brain version.
---
⚡ 60-Second Setup: Model Context Protocol (MCP)
Plug AgentHelm directly into **Cursor**, **Claude Code**, or **Claude Desktop**:
Add to .cursor/mcp.json or claude_desktop_config.json
Exposed MCP Tools
- **get_context**: Query versioned project architecture, database schemas, and conventions.
- **propose_knowledge**: Propose new engineering decisions and codebase discoveries.
- **get_history**: Audit version history logs, diffs, and decision trace blame.
---
🚀 Programmatic SDKs
Python SDK
Node.js SDK
---
📲 Human-in-the-Loop (HITL) Safety Gate
AgentHelm prevents autonomous catastrophic actions. Mark functions as @irreversible to trigger inline Telegram approval gates:
> **⚠️ Irreversible Action Requested**
> **Agent:** Cloud Architect
> **Action:** destroy_infrastructure
> **Payload:** {"region": "us-east-1"}
>
> [ ✅ Approve ] [ ❌ Reject ]
---
🏗️ Key Architecture Pillars
- **🧠 Brain Compiler**: Versioned knowledge engine resolving schema and architectural decision conflicts.
- **🔭 Fleet Observability**: Real-time telemetry, token cost tracking, and execution tracing.
- **🛡️ Safety Firewall**: Classification decorators (@read, @side_effect, @irreversible) with fail-closed default safety.