r/FastAPI • • Aug 03 '25

Other Built an Agent Protocol server with FastAPI - open-source LangGraph Platform alternative

I've been building an Agent Protocol server using FastAPI and PostgreSQL as an open-source alternative to LangGraph Platform.

Agent Protocol Server: https://github.com/ibbybuilds/agent-protocol-server

Tech stack:

  • FastAPI for the HTTP layer and API docs

  • PostgreSQL for persistence (with asyncpg)

  • LangGraph for agent execution

  • Agent Protocol compliance

  • Pydantic for schemas

Why I built this:

  • LangGraph Platform pricing is expensive for production use

  • Self-hosted "Lite" option has no custom auth

  • Community needs open-source deployment solutions

  • Agent Protocol spec is great, but needs more implementations

FastAPI features I'm using:

  • Dependency injection for auth and database

  • Background tasks for long-running agent executions

  • Streaming responses for real-time agent output

Status: MVP ready, looking for contributors and early adopters.

Anyone interested in testing this or contributing to the project? Would love feedback from the FastAPI community!

7 Upvotes

8 comments sorted by

View all comments

1

u/Apart_Commercial2279 Jan 28 '26

I'm working on a similar idea, I will check out your project :) https://github.com/Idun-Group/idun-agent-platform

1

u/Lost-Trust7654 Jan 28 '26

interesting work, will check in detail