Agent Framework Postgres
PostgreSQL persistence for Microsoft Agent Framework, written and maintained solo, tested on Python 3.11 to 3.15.
Overview
Stores chat history, agent sessions, workflow checkpoints and AG-UI thread snapshots in PostgreSQL, with one connection pool and numbered migrations.
Tested on Python 3.11 to 3.15 and PostgreSQL 16 and 17, with strict type checking and a weekly canary build against the newest framework release.
Supports Microsoft Entra ID sign-in. Alpha, MIT-licensed, version 0.1.2 released in October 2026.
Leases let several servers take turns on one resource. It persists conversation threads in the uOttawa Chat proof of concept.
Tools & technologies
- Python
- PostgreSQL
- Microsoft Agent Framework
- psycopg
- pytest
- Pyright
- Open source