Open-source AI gateway for LLM and agent traffic — multi-provider routing, guardrails, semantic caching and MCP support. Written in Go.
TrustGate is an open-source AI gateway that routes, secures, and observes traffic between applications, AI agents, LLM providers, MCP servers, and other agents.
A security-first gateway for LLM, MCP, and agent-to-agent traffic, built in Go.
Documentation Quick start Examples Architecture Community
Applications, coding agents and autonomous agents call TrustGate instead of calling providers, tool servers and other agents directly. TrustGate decides who the caller is, where the call may go, which policies apply, and records what happened.
Traffic Plane What clients reach through it --------- LLM Proxy :8081 17 model providers, through the API dialect the client already speaks. MCP MCP :8082 Upstream MCP servers and OpenAPI services exposed as tools, aggregated behind one endpoint. Agents Agent :8084 Other agents over A2A (0.3 and 1.0), with pinned cards, task ownership and delegated identity.
All three share one admin API (:8080), one identity model, one policy engine and one telemetry pipeline.
- Any client dialect, any provider. OpenAI Chat Completions and Responses, Anthropic Messages, Gemini and Vertex AI, Cohere Chat and native Bedrock Runtime calls are translated to whichever provider serves the request, streaming included. Claude Code, Codex, the Gemini CLI and stock SDKs work by changing the base URL. - Routing that survives outages. Simple routing, fallback chains with triggers and an attempt budget, smart routing across two or three ordered models that keeps a conversation on one and upgrades the harder turns
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/NeuralTrust--TrustGate.html)
Awesome AI gateways: open source and commercial LLM gateways, MCP gateways, agent (A2A) gateways, model routers, specs, and guides.
yanstd888/9routerx9RouterX (9R Next Go Generation): Single-binary Go AI router, LLM gateway & 20-40% token saver. Route Claude Code, Cursor & Codex across 155 providers, 28 OAuth & 248 free models (24 keyless) — OpenA
Shalimov04/mcp-airlockStateless governance proxy for MCP (2026-07-28): policy, dry-run, human confirmation, audit, tracing
magna-nz/tallybookPrices your Claude Code and Codex sessions from the transcripts on disk, shows what each agent cost over any period, and tells you in plain English what would have been cheaper. CLI, Browser UI and MC
12122J/mcpvetMCP security scanner — vet a Model Context Protocol server before you add it to Claude Code, Cursor, or Windsurf. Grades it A–F, catching credential theft, tool-poisoning, and install-script payloads
okf-memory/okf-agent-memoryGit-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zer
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.