Agentmesh - AI agent governance middleware

Created By
angelnicolasc3 months ago
Governance middleware for AI agents: deterministic policy enforcement, cryptographic audit trails with digital signatures, DLP/PII detection, Trust Score per agent (0-100), EU AI Act compliance (Art. 9, 11, 12, 14), Agent BOM generation, and Circuit Breaker. Native support for LangGraph, CrewAI, and AutoGen.
Overview

AgentMesh

Scan your AI agents for governance gaps. Enforce policies in production.

PyPI version Python 3.10+ Tests passing License: MIT Policy Eval


What is AgentMesh?

AgentMesh is a governance platform for AI agents, built in two layers:

  1. Scan CLI (free, offline, no account) — Analyzes your codebase via AST to find governance gaps, generate an Agent BOM, and map EU AI Act requirements. Like snyk test for AI agents.
  2. Runtime Platform (SaaS, requires account) — Middleware that intercepts tool calls in production to enforce policies, scan payloads for PII, and track agent trust. Like snyk monitor for AI agents.

Quick Start

pip install useagentmesh
agentmesh scan .
# → Governance Score: 35/100 | 8 findings | Agent BOM: 3 agents, 12 tools
# → Run `agentmesh auth login` to enable runtime governance

MCP Server (Claude Desktop)

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "agentmesh": {
      "command": "uvx",
      "args": ["agentmesh-mcp"],
      "env": {
        "AGENTMESH_API_KEY": "your-api-key"
      }
    }
  }
}

MCP Server (VS Code / Cursor)

Add to MCP settings:

{
  "mcp": {
    "servers": {
      "agentmesh": {
        "command": "uvx",
        "args": ["agentmesh-mcp"]
      }
    }
  }
}

What You Get Free (Scan CLI)

  • 🔍 Governance Score: 0-100 score based on 33 deterministic policy rules (<2ms evaluation)
  • 📦 Agent BOM: AST-based inventory of agents, tools, and models in your project
  • 🛠️ Fix Snippets: Actionable remediation for every finding
  • 📄 SARIF 2.1.0: Native GitHub Code Scanning integration
  • 🇪🇺 EU AI Act Gaps: Detects non-compliance with Art. 9, 11, 12, 14

Supported Frameworks

FrameworkSupportedDiscovery
LangGraphAST-based
CrewAIAST-based
AutoGenAST-based
LangChainStandard
LlamaIndexStandard
Pydantic AIStandard

Output Formats

  • SARIF 2.1.0 (GitHub Code Scanning compatible)
  • JSON (For CI/CD integrations)
  • SVG Badges (For repository docs)

Benchmark Results

All measurements taken with time.perf_counter_ns(), 10,000 iterations after 1,000 warmup. Methodology & reproduction →

Policy Engine (33 deterministic rules, zero LLMs):

ScenarioP50P99
Single rule evaluation0.031ms0.08ms
Full scan (33 rules)1.84ms3.2ms
Batch (100 tool calls)1.79ms2.8ms

Governance overhead is <0.2% of a typical LLM call (~800ms).

AST Framework Discovery:

FrameworkAvg Latency
CrewAI~5ms
LangGraph~7ms
AutoGen~9ms

Runtime Governance (SaaS Platform)

When you connect the SDK to the AgentMesh platform, you unlock runtime governance features that protect your agents in production:

  • 🔐 DLP Runtime — Presidio-based PII/PCI scanning on tool call payloads before they hit downstream APIs
  • 📊 Dynamic Trust Score — 0-100 EigenTrust score per agent, updated on every interaction
  • Circuit Breaker — Auto-suspends agents when Trust Score drops below threshold
  • 🔐 Cryptographic Audit Trail — SHA-256 hash chain + Ed25519 digital signatures (non-repudiation)
  • 👥 RBAC + Teams — Multi-user access control per organization
  • 📋 EU AI Act Reports — Exportable compliance reports for regulators

The Most Advanced Agent Controls

  • 🧭 Operational Design Domain (ODD) — Define permitted tools, rate limits, and cost caps per agent. Enforcement modes: audit, enforce, escalate
  • 📏 Pre-Action Magnitude Limits — Pre-trade risk controls for AI agents: financial spend caps, data volume limits, blast radius constraints, and compute guardrails — validated before every action executes
  • 🤖 Agent Identity Management — Managed credential lifecycle for non-human identities: DID provisioning, auto-rotation with grace periods, instant revocation, and ephemeral JWT support

These features require an account. Sign up free →


How We Compare

FeatureAgentMesh Scan (free)AgentMesh Platform (SaaS)BifrostCordum
LanguagePythonPythonGoGo
Static Governance Score
Agent BOM (AST)
SARIF Output
EU AI Act Gap Detection
DLP Runtime (Presidio)
Dynamic Trust Score
Cryptographic Audit Trail
Circuit Breaker
ODD Enforcement
Pre-Action Magnitude Limits
Agent Identity Management

Pricing

TierPriceTasks/monthWhat you get
Free (no account)$0Scan CLI, Agent BOM, SARIF, findings
Free (with account)$010,000+ Runtime middleware, basic audit trail
Starter$2950,000+ DLP runtime (Presidio)
Pro$49200,000+ ODD, Magnitude Limits, Agent Identity, Trust Score, Circuit Breaker
Pro Team$199500,000+ SSO, 365-day retention, 25 team members
EnterpriseCustomUnlimitedEverything in Pro Team + BFT consensus, custom SLA, dedicated support

🔗 View Pricing Plans



AgentMesh — Governance for AI Agents

Server Config

{
  "mcpServers": {
    "agentmesh": {
      "command": "uvx",
      "args": [
        "useagentmesh"
      ],
      "env": {
        "AGENTMESH_API_KEY": "your-api-key"
      }
    }
  }
}
Project Info
Created At
3 months ago
Updated At
3 months ago
Author Name
angelnicolasc
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Tavily Mcp
@tavily-ai

JavaScript
a year ago
Bring your real authenticated browser session to AI coding agents. Local-first MCP server + Chrome MV3 extension. No cloud. No telemetry.
@Cubenest

peek records the user's actual logged-in browser (DOM via rrweb, console events, network metadata, optional response bodies via opt-in Deep capture) through a Chrome MV3 extension. The extension ships events through a native-messaging stdio bridge to a local MCP server (peek-mcp), which persists them to a SQLite database at ~/.peek/sessions.db. AI coding agents (Claude Code, Cursor, Cline, Windsurf) read sessions from the database via 10 MCP tools: Tool What it does list_recent_sessions List recently recorded sessions (id, origin, ts, event count). get_session_summary LLM-readable narrative summary of a session. get_session_console_errors Console errors recorded in a session. get_session_network_errors Failed/notable network requests in a session. get_user_action_before_error Last N user actions before a console error. generate_playwright_repro Generate a runnable Playwright test from a session. get_dom_snapshot Reconstruct the DOM at a given timestamp. query_dom_history Timeline of attribute/text changes for a selector. request_authorization Side-panel consent for write actions (Level 3). execute_action Dispatch a UI action (gated by permission level + destructive blocklist). Why local-first matters Every other "browser session for AI" tool ships to a vendor cloud. peek's SQLite + extension live on the user's machine — no remote endpoints, no telemetry. The privacy policy (docs/peek/PRIVACY_POLICY.md) is the source of truth. Install # 1. Add the MCP server to Claude Code claude mcp add peek -- npx -y @peekdev/mcp # 2. Install the Chrome extension from the Chrome Web Store # (link added once the CWS listing is approved)

a day ago
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

8 hours ago