Observability, security, and cost analytics for AI agents, LLMs, and MCP servers
OpenTelemetry-inspired traffic inspection for the agentic stack — status: Alpha / MVP
AgentWire is in active MVP development. The runnable path today is a local ingestion API + packet/cost endpoints (SQLite). The full gateway / ClickHouse / security / replay stack described in the architecture docs is planned — see docs/roadmap.md.
| Available now (MVP) | Planned (roadmap) |
|---|---|
Trace ingest POST /v1/traces |
YARP gateway + collector microservices |
Packet list GET /v1/packets |
ClickHouse analytics store |
Cost rollup GET /v1/analytics/costs |
Prompt injection scanner, replay engine |
| Optional Next.js dashboard scaffold | Multi-tenant SaaS / enterprise edition |
The MVP above stays free and open source — that's how a project earns the kind of trust ckeditor5-blazor built organically over several years. The plan is to keep it that way for the core ingest/cost API, and eventually offer a hosted, managed tier covering the parts of the roadmap that are genuinely expensive to self-host well: the ClickHouse analytics store, the security scanner, and multi-tenant SaaS operations (see the "Enterprise Edition" section of docs/roadmap.md).
No hosted beta or waitlist exists yet — this section is a heads-up, not a pitch. It'll get a real signup link once there's something to sign up for.
AgentWire sits between users, agents, and LLM/MCP providers so you can monitor, inspect, attribute cost, and (eventually) secure and replay AI traffic — similar in spirit to what Wireshark and edge gateways do for networks.
- .NET 10 SDK
- Optional: Node.js 18+ for the dashboard scaffold under
src/Client/dashboard
git clone https://github.com/qmmughal/AgentWire.git
cd AgentWire
dotnet run --project src/AgentWire.PresentationBy default the API listens on http://localhost:5102 (see launchSettings.json).
curl -X POST http://localhost:5102/v1/traces \
-H "Content-Type: application/json" \
-d "{
\"traceId\": \"demo-001\",
\"agentId\": \"support-bot\",
\"modelProvider\": \"openai\",
\"modelName\": \"gpt-4o-mini\",
\"systemPrompt\": \"You are a helpful assistant.\",
\"userPrompt\": \"Hello\",
\"llmResponse\": \"Hi there!\",
\"promptTokens\": 12,
\"completionTokens\": 8,
\"latencyMs\": 220
}"curl http://localhost:5102/v1/packets
curl http://localhost:5102/v1/analytics/costscd src/Client/dashboard
npm install
npm run devOpen http://localhost:3000 (configure NEXT_PUBLIC_API_URL to point at the API if needed).
Postgres, Redis, RabbitMQ, and ClickHouse can be started for upcoming services:
docker compose -f deploy/docker-compose.yml up -dApp container builds are not wired yet (Dockerfiles pending). Use dotnet run for the MVP API.
Target architecture (event-driven gateway + collector + analytics):
- Backend: ASP.NET Core 10
- Storage (planned): PostgreSQL (metadata) + ClickHouse (packets) + Redis
- Frontend: Next.js dashboard scaffold
- Infra sketches: Docker Compose, Kubernetes, Terraform under
deploy/
Details: docs/architecture.md · Roadmap: docs/roadmap.md
See CONTRIBUTING.md. Issues that match MVP epics are sketched in docs/issues-mvp.md.
Apache 2.0 — see LICENSE.