pg_synapse

LLM agents you call from SQL, like stored procedures. A Postgres extension written in Rust.

A 90 second narrated tour of the live demo: an agent triages a support ticket and writes the result back to its row.

What it is

SELECT synapse.execute('triage_agent', 'Triage ticket 1.');

Why agents in the database?

The slides go through this in more detail.

Try it

git clone https://github.com/yonk-labs/pg-synapse
cd pg-synapse
docker compose up --build
# then open http://localhost:8080

Point it at any OpenAI-compatible endpoint whose model supports function calling. The demo in the video ran on qwen3:4b-instruct under Ollama.