Skip to content
Open source · MIT

One gateway for every 
MCP server and agent.

Self-hosted MCP and agent gateway: one MCP endpoint and one API in front of everything you run — RBAC per user and group, per-user credentials to each upstream, full audit. Chat and admin console included.

Console included

A chat and admin console on top of the gateway

Stream any agent or MCP server in the browser, message several agents at once with an LLM moderator picking who answers, share conversations with revocable links, and reach the same agents from Slack — always with each person's own permissions.

Agentgram console: streaming chat, smart groups with an LLM moderator, admin, and one MCP endpoint
How it works

Three steps to one gateway for every MCP server and agent

Register what you already run, put it behind a single gateway, and reach it from anywhere — without each client learning a new protocol.

Register your MCP servers and agents

Point Agentgram at each MCP server (HTTP or SSE) and each agent’s endpoint — Custom REST/SSE, A2A (JSON-RPC) or Google ADK — and choose how it authenticates upstream. No redeploy: everything is managed at runtime from the admin panel and stored in PostgreSQL.

One API, one MCP endpoint — behind RBAC

Every agent and every company MCP server is reachable through a single API and a single /mcp endpoint. Role-based access control decides, per agent and per MCP server, exactly who can reach what.

Connect once, from anywhere

Add one MCP endpoint to Claude Code, Cursor, Codex or claude.ai, call the API, or use the built-in chat and Slack. Each person sees exactly the tools they’re entitled to, and every call lands in the audit log.

Architecture

A thin, stateless gateway in the middle

Clients speak AG-UI and MCP. Agents speak their own protocol. The Go API translates between them, enforces access, and keeps the sessions.

Clients
Web UI
IDE / CLI · MCP
Slack
AG-UI · MCP →
Agentgram API · Go
JWT auth · OIDC
RBAC per agent & MCP
Protocol mux → AG-UI
Session store
→ native protocol
Agents & tools
Custom REST / SSE
A2A · JSON-RPC
Google ADK
MCP servers
Redis · sessions & pub/sub
PostgreSQL · groups & persistent data
Bring any agent

Different protocols in. One event stream out.

Whatever an agent speaks, the web client always sees the same AG-UI events — so the UI never changes when your agents do.

A plain HTTP endpoint that streams Server-Sent Events (or returns JSON). The simplest way to plug in your own service.

POST /api/agents/{agentId}/chat
Content-Type: application/json

{ "messages": [{ "role": "user", "content": "Hello" }],
"session_id": "optional-uuid" }
What you can build

One gateway, many workflows

A single integration that each person experiences differently, based on what they're allowed to reach.

🚨
Incident response

Bundle logs, metrics and Kubernetes agents into a team-visible group while each member keeps private, personal conversation threads.

🎙️
Moderated debates

Ask the group, not an agent: an LLM moderator picks who answers, each agent builds on previous replies, and can add a final synthesis.

🧰
Agents in your IDE

Add one MCP endpoint to Claude Code or Cursor and call agents and groups as tools — ask_logs-agent, group__incident-response, and more.

📊
Cost & latency in the open

Built-in dashboards break down usage, latency and error rate per agent and per user — no extra observability stack.

🔗
Share a finding

Send a teammate a read-only, time-limited and revocable link to a conversation. They can clone it to keep digging.

🧩
One gateway for the company

Register every agent and MCP server once; RBAC by Google Workspace group or email gives each person only what they're entitled to.

🔌
Bring any framework

Custom REST/SSE, A2A or Google ADK — register the endpoint and it speaks AG-UI like everything else.

See it in action

A real chat client, not a demo widget

Streaming responses, tool calls, smart groups with an LLM moderator, and an admin surface to manage it all.

Plug it into your tools

Your agents as tools, in any MCP client

Agentgram ships a standard MCP server with OAuth and Dynamic Client Registration — connect with just the URL.

claude mcp add --transport http agentgram http://localhost:8080/mcp
# then run /mcp, pick "agentgram" and sign in once

You get one ask_<agent-id> tool per agent you can reach, plus the tools of every MCP server registered in Agentgram — all filtered by your permissions.

Deploy anywhere

From a laptop to a cluster

Published container images, a Docker Compose stack and Helm values. Database migrations run automatically on startup.

Self-host the whole stack on a single VM.

curl -fsSL https://raw.githubusercontent.com/dfradehubs/agentgram/main/docker-compose.yaml -o docker-compose.yaml
docker compose up -d      # web on http://localhost:3000 — demo agent ready to chat

One gateway for every MCP server and agent.

Run the full stack locally in a couple of commands, then point it at your own agents.

Open source · MIT licensed · Self-hosted