Before you begin
What Aegra does
Aegra gives you a production-ready server for running LangGraph agents with full persistence, streaming, and authentication. You bring your own PostgreSQL database and keep complete control over your data.Agent Protocol
Works with Agent Chat UI, LangGraph Studio, and CopilotKit out of the box.
Self-hosted
Run on your own infrastructure with your own PostgreSQL database. No external dependencies.
Same SDK
Use the LangGraph SDK you already know. Switch from LangSmith Deployments with zero code changes.
Open source
Apache 2.0 licensed. Inspect, modify, and contribute to the codebase.
How it compares
| LangSmith Deployments | Aegra | |
|---|---|---|
| Deploy agents | Local dev only (Free), paid cloud (Plus) | Free, unlimited |
| Custom auth | Not available (Free), available (Plus) | Python handlers (JWT/OAuth/Firebase) |
| Self-hosted | Enterprise only (license key required) | Always (Apache 2.0) |
| Own database | Managed only (Free/Plus), bring your own (Enterprise) | Bring your own Postgres |
| Tracing | LangSmith only | Any OTLP backend (Langfuse, Phoenix, etc.) |
| Data residency | LangChain cloud (Free/Plus), your infrastructure (Enterprise) | Your infrastructure |
| SDK | LangGraph SDK | Same LangGraph SDK |
Key features
- Human-in-the-loop — Approval gates and user intervention points
- Streaming — Real-time responses with network resilience
- Persistent state — PostgreSQL checkpoints via LangGraph
- Configurable auth — JWT, OAuth, Firebase, or none
- Observability — Fan-out tracing via OpenTelemetry to multiple backends
- Semantic store — Vector embeddings with pgvector
- Custom routes — Add your own FastAPI endpoints alongside the Agent Protocol API