pgclaw
"What if I had an AI assistant in every row of my Postgres table?"
I asked myself this a few weeks back and pgclaw is what I came up with: an open-source Postgres extension that introduces a claw data type to instantiate an AI agent - either a simple LLM or an "OpenClaw" agent - as a Postgres column.
With pgclaw, store your AI agents with the rest of your data. Supports:
Simple LLM agents and more stateful "OpenClaw" agents
Any LLM provider via rig: Anthropic, OpenAI, Ollama, Gemini, Groq, Together, DeepSeek, Mistral, Perplexity, Cohere, xAI, OpenRouter, and more
A "Claude Code" in each row via claude-agent-sdk: agents that can read/write files, run code, and use tools
ACID compliance, point-in-time recovery, JOINs, and all of the other great features of Postgres
any language with a Postgres client
Quick Start
... continue reading