
Rust


pg-synapse: Run AI Agents From SQL, Like a Stored Procedure
·7 mins
pg-synapse is a Postgres-native agent loop runtime in Rust. Invoke LLM agents from SQL, with tools that read and write your database under the caller’s grants.
pg-wire-core ↗ ↖
·2 mins
PostgreSQL wire-protocol codec, session pool, and socket helpers as a reusable Rust crate — the foundation layer extracted from pg-retest’s proxy for building a Postgres router.
pg-synapse ↗ ↖
Postgres-native agent-loop runtime in Rust. Invoke an LLM agent and its tool dispatch from SQL like a stored procedure — the agent reads and writes your tables directly, with a small trait-based kernel and everything else as a plugin.
pg-raggraph-rs ↗ ↖
·2 mins
The Rust performance line for pg-raggraph: a real pgrx extension with async background-worker ingest and hybrid retrieval, plus a sidecar mode for managed Postgres where you can’t load an extension at all.
hector ↗ ↖
TDD/spec planner that turns product intent into small, deterministic Bob campaigns — one observable behavior per slice, with the verify command and scope caps frozen up front.
bob ↗ ↖
·3 mins
Autonomous build → verify → judge loop. Bob drives a coding CLI in an isolated git worktree, gates the result on your own test command, and only applies the change once it converges.

I made pg-raggraph 7× faster by deleting code I wrote. Here's where it goes next.
A 17× perf gap between pg-raggraph and Apache AGE turned out to be 5 lines of glue code in the bakeoff adapter, not an architectural problem. The fix, the four library-side wins still on the floor, and the three architectural directions ahead — pg_net sidecar, pgrx Rust extension, hybrid embedding tiers.

Meet lede: The Thing You Reach for Before the LLM Call
·11 mins
Sub-millisecond extractive summarization with byte-identical Python and Rust implementations. The preprocessor that sits in front of the LLM call and cuts tokens 40-94 percent.
