Description
Aegra is an open-source Agent Protocol server for running LangGraph agents on your own infrastructure. It is an alternative to the LangGraph Platform, now called LangSmith Deployments, and it is built with FastAPI and PostgreSQL. Threads, runs and checkpoints are stored in a Postgres database you control, and migrations run on start. You can add custom authentication in Python with JWT, OAuth or Firebase through a decorator, and every thread is scoped to its owner. The server implements the Agent Protocol API, which the LangGraph SDK already speaks, so you can point an existing client at Aegra and keep the client code. Streaming runs send token, value and event streams over server-sent events and can resume after a disconnect. Background workers use a Redis queue with leases, heartbeats and crash recovery, and you scale by adding instances. Runs can be traced to any OTLP backend, such as Langfuse, Phoenix or your own collector, with each node recorded as a span. The site says it works with the LangGraph SDK in Python and JavaScript, Agent Chat UI, LangGraph Studio and CopilotKit. It is aimed at teams that want to self-host LangGraph agents without vendor lock-in.…
Highlights
- Self-hosted Agent Protocol server for LangGraph agents
- Threads, runs and checkpoints in your own Postgres
- Custom auth in Python with JWT, OAuth or Firebase
- Streaming runs over SSE with resume
- Redis workers with crash recovery and OTLP tracing
Ratings & Reviews
No ratings yet
Be the first to rate Aegra.
People also visit
Agent Chat UI
Web app for interacting with any LangGraph agent (PY & TS) via a chat interface
Aegra FAQ
What is Aegra?
An open-source server that runs LangGraph agents on your own infrastructure, as an alternative to LangGraph Platform.
Do I need to change my client code?
The site says you can keep the LangGraph SDK client and change only the URL, since Aegra implements the same endpoints.
Where is data stored?
Threads, runs and checkpoints are in a Postgres database that you control.
How does authentication work?
You plug in JWT, OAuth or Firebase with a Python decorator, and each thread is scoped to its owner.
How do I scale it?
Background workers use a Redis queue, and you add instances to scale out.
Is it open source?
Yes. The source is on GitHub under the aegra organization.
What are the best Aegra alternatives?
Popular alternatives to Aegra include Langflow, Agenta and Agent Chat UI. See all Aegra alternatives


