agenthelm
Allows human-in-the-loop approval gates for irreversible actions via Telegram notifications and inline approval/rejection.
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
graph TD
A[Agent Starts Task] --> B[Get Rich Context from Project Brain]
B --> C[Agent Executes Task]
C --> D[Propose New Knowledge/Decisions]
D --> E[Brain Compiler Validates & Resolves Conflicts]
E --> F[Update Project Brain Release]
F --> AGet Context: On startup, an agent fetches versioned, compiled architecture & database context.
Execute Safely: Agent operates within token budgets and Telegram HITL safety guardrails.
Propose Knowledge: As agents discover schemas or make design trade-offs, they propose knowledge entries.
Compile & Evolve: The Brain Compiler verifies evidence, resolves conflicts, and releases the next Project Brain version.
Related MCP server: Geond Agent Protocol
β‘ 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
{
"mcpServers": {
"agenthelm": {
"command": "npx",
"args": ["-y", "agenthelm-mcp"],
"env": {
"AGENTHELM_CONNECT_KEY": "ahe_live_YOUR_KEY_HERE",
"AGENTHELM_PROJECT": "your-project-name"
}
}
}
}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
pip install agenthelm-sdkfrom agenthelm import Agent
# Connect to control plane and fetch project brain context
agent = Agent(key="ahe_live_...", name="Architect Agent", project="My App")
# Get context for database schema
context = agent.get_context(category="database")
print("Project Context:", context.entries)
# Propose new knowledge to the Brain Compiler
agent.propose_knowledge(
summary="Migrate authentication from JWT to Session Cookies",
decisions=["Use session IDs mapped to Redis backend"],
files_modified=["lib/auth.ts", "middleware.ts"],
confidence=95
)Node.js SDK
npm install agenthelm-node-sdkimport { Agent } from 'agenthelm-node-sdk';
const agent = new Agent({
key: 'ahe_live_...',
name: 'Support Bot',
project: 'My App'
});
agent.log('Analyzing sentiment...', 'info');
agent.output({ score: 0.92 }, 'sentiment_results');π² 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.βΈοΈ Remote Mission Control: Pause, resume, or override agent state directly from agenthelm.online.
π Dashboard & Community
Web Dashboard: https://agenthelm.online
Documentation: agenthelm.online/docs
Issues & Support: GitHub Issues
βοΈ License
MIT Β© AgentHelm Team
Available Tools
3 toolsget_contextA
Retrieves relevant, ranked context from the Project Brain using semantic context selection. Useful when starting a task, resolving design questions, or looking up project standards.
Inputs: task_hint.
get_historyA
Retrieves version history, diffs, blame, or show details for the Project Brain. Allows reviewing exactly who proposed what, what files changed, what conflicts occurred, and when.
Inputs: action (required), title, version, category, +2 more.
propose_knowledgeA
Submits a Knowledge Proposal containing newly discovered or updated project design, decisions, schema changes, or API specifications. The proposal enters a validation queue before being compiled into the Project Brain.
Inputs: summary (required), decisions, db_changes, tests_passed, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 3 tools
Each tool targets a distinct operation on the Project Brain: retrieval of context, submission of new knowledge, and querying history. There is no overlap in purpose.
All tool names follow a consistent verb_noun pattern in snake_case (get_context, propose_knowledge, get_history). The repetition of 'get' is acceptable as it indicates retrieval operations.
With only 3 tools, the server is scoped for a focused knowledge management function. While minimal, each tool serves a clear purpose and the count is appropriate for the domain.
The tools cover retrieval, submission, and history, but lack direct update or delete operations for knowledge items. Updates could be handled via new proposals, but that introduces overhead and gaps.
Maintenance
Related MCP Connectors
Shared control plane for AI coding agents β tasks, memory, decisions, file locks. 12 tools.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Shared, scoped, reviewable team memory for AI coding agents.
One memory for your AI agents and your team: Claude, ChatGPT, Cursor and your agents share it.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenancePersistent decision memory and contradiction detection for AI coding agents. Enforces architectural consistency across sessions β the agent cannot code until it loads prior decisions. Human resolves conflicts on a dashboard or in chat.1MIT
- AlicenseAqualityCmaintenanceLocal-first shared memory and coordination layer for AI coding agents, with repository evidence, reservations, handoffs, code graph context, and dashboard review backed by PostgreSQL/pgvector.303Apache 2.0
- AlicenseAqualityAmaintenanceOne local memory every coding agent on your machine shares β Claude Code, Cursor, Claude Desktop, OpenCode. Answers from past sessions, commits, CLAUDE.md/AGENTS.md and ADRs with the exact source, and withholds work another agent has claimed so two agents don't rewrite the same thing.34,358 PyPI2MIT
- AlicenseAqualityBmaintenanceDecision memory for teams building with AI coding agents. Captures every engineering decision once, ranks it by blast radius, and briefs every MCP-compatible agent before it acts, so agents stop making conflicting changes across repos.2012Apache 2.0