Sponsored by Deepsite.site

Agentmesh - AI agent governance middleware

Created By
angelnicolasc22 days 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"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
ChatWiseThe second fastest AI chatbot™
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
Amap Maps高德地图官方 MCP Server
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server
Tavily Mcp
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.