About Aegra
Aegra is an Agent Protocol server for running LangGraph agents on infrastructure you control. Threads, runs and checkpoints are stored in a Postgres database you own, and the API exposes the endpoints the LangGraph SDK already uses, so client code only needs a different URL.
Runs can stream tokens, values and events over SSE with resume after a disconnect. Background work goes through a Redis queue with leases, heartbeats and crash recovery, and tracing can be sent to any OTLP backend such as Langfuse or Phoenix. Custom authentication is written in Python, with JWT, OAuth or Firebase options.
The project is released under Apache 2.0. Its site compares it with LangSmith Deployments, a comparison it says is based on LangChain pricing as of February 2026, and lists compatibility with the LangGraph SDK, Agent Chat UI, LangGraph Studio and CopilotKit.
Key features
- Runs LangGraph agents on your own Postgres
- Threads and checkpoints stored in your database
- Custom auth in Python with per-owner threads
- Compatible with the LangGraph SDK endpoints
- Streaming runs with resume after disconnect
- Redis-backed workers with crash recovery
- Tracing to any OTLP backend
Good fit for
- Self-host LangGraph agents
- Keep agent threads in your own region
- Trace agent runs in Langfuse or Phoenix
Aegra: questions and answers
- What is Aegra used for?
- Aegra is an open source Agent Protocol server that runs LangGraph agents on your own Postgres, keeping the LangGraph SDK and avoiding vendor lock-in. It is a good fit for self-host LangGraph agents, keep agent threads in your own region and trace agent runs in Langfuse or Phoenix.
- Is Aegra open source?
- Yes. Aegra is open source under the Apache-2.0 licence. Its source code is on GitHub at aegra/aegra and is written mainly in Python.
- Is Aegra free?
- Yes. Aegra is open source, so the software itself is free to use.
- Can I self-host Aegra?
- Yes. Aegra can be self-hosted on your own server or infrastructure.
- Is Aegra actively maintained?
- Yes. The most recent commit to Aegra was on 19 November 2026, and the latest release is v0.12.0, published on 19 November 2026. The project has 1.3k stars on GitHub, with 57 added in the last 30 days.
