Best PostgreSQL Self-Hosted AI for self-hosting

The 12 best PostgreSQL self-hosted ai you can self-host, ranked by community traction.

At a glance

AppDeploy effortDifficultyMin. RAMLicense★ Stars
RAGFlowUnder-an-hour setupMedium8,192 MBApache-2.092,165
Mem0Under-an-hour setupMedium1,024 MBApache-2.067,140
LangfuseUnder-an-hour setupMedium2,048 MBMIT35,795
CogneeUnder-an-hour setupMedium2,048 MBApache-2.032,226
LettaUnder-an-hour setupMedium2,048 MBApache-2.025,125
MaxKBUnder-an-hour setupEasy2,048 MBGPL-3.022,973
Wren AIUnder-an-hour setupMedium4,096 MBAGPL-3.017,865
SuperAGIUnder-an-hour setupHard4,096 MBMIT17,702
SurfSenseUnder-an-hour setupMedium2,048 MBApache-2.016,423
BishengUnder-an-hour setupHard4,096 MBApache-2.012,044

Quick picks

Every option here is open-source and self-hostable, tagged PostgreSQL within the self-hosted ai category. Deploy effort is graded from published container recipes, not vendor claims — see the methodology.

Keep exploring

Head-to-head: PostgreSQL self-hosted ai