aegra/aegra
Open source alternative to LangGraph Platform (now LangSmith Deployments) - Self-hosted AI agent backend with FastAPI and PostgreSQL. Zero vendor lock-in, full control over your agent infrastructure. observed · 2026-09-01
Health v2 · maintenance only
85/100
- Activity 100
- Release rhythm 99
- Longevity 29
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 409
- days_rel: 11
- days_push: 2
- n_releases_24m: 56
Adoption not part of the score
1165 stars · 238 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Aegra is an open-source, self-hosted backend server for running LangGraph AI agents, serving as a drop-in replacement for LangSmith Deployments (LangGraph Platform). Built with FastAPI and PostgreSQL, it implements the Agent Protocol specification so existing LangGraph SDK clients, Agent Chat UI, LangGraph Studio, and CopilotKit work without code changes.
Use cases
- self-host langgraph agents without vendor lock-in
- replace langsmith deployments with own infrastructure
- run ai agent backend with postgres persistence
- deploy agents with custom jwt or oauth authentication
- keep agent conversation data on own servers for data sovereignty
- stream agent responses over sse with human-in-the-loop resume
- use langgraph sdk against my own server
When to choose
- you want LangGraph Platform features but need data residency or cost control
- you need custom authentication like JWT, OAuth, or Firebase handlers
- you want to bring your own PostgreSQL and tracing backend (Langfuse, Phoenix, OTLP)
- you already have LangGraph SDK-based client code and want a drop-in server
When to avoid
- you prefer a fully managed deployment with zero infrastructure to operate
- your agents are not built with LangGraph or the Agent Protocol
- you need LangSmith's proprietary tracing and evaluation features
- you cannot run Docker or PostgreSQL in your environment
Facets
service · maturity active
http-server api-framework agent-framework llm-inference auth streaming chatbot large-language-models self-hosted backend developer-tools python self-hosted cli langgraph-platform-alternative agent-protocol fastapi postgresql-persistence langgraph-sdk-compatible drop-in-replacement human-in-the-loop sse-streaming ai-agents docker web-server
3 sources
- readme: https://github.com/aegra/aegra · fetched 2026-09-01 · 7d02b9a079ca
- homepage: https://aegra.dev · fetched 2026-08-29 · 9d2a3e6fe05c
- site_page: https://docs.aegra.dev · fetched 2026-08-29 · 3ff2b415024b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| aegra/aegra | main | 85 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem