Skip to content

Ground Truth or Dare: Using Oracles to Make Postgres Reactive#

AI Engineer Code Summit 2026 digest Program Wildcard pick 10–12 November 2026

James Arthur (Electric → Neon, per abstract)

  • Why: Not about agents per se — it's database infrastructure (live, reactive SQL queries inside Postgres) built largely by coding agents, with correctness guaranteed by using Postgres's own query engine as a verification oracle. A genuinely different pattern: the target system verifies its own construction.
  • What: The story of building live SQL queries (subscribe to any query with joins/aggregates/ordering, results stay live) — years of failed hand-building at Electric, then weeks with agents at Neon once agents could check their own work against the database engine as ground truth. (from abstract only)
  • How: Agents iterate against an oracle (the real query engine) that deterministically validates behavior, letting them move fast on infrastructure-grade code where "hope for the best" is unacceptable.
  • Where applicable: The oracle principle generalizes to any system with a checkable specification (protocols, configs, network behaviors are obvious candidates); the specific achievement is Postgres-internal and Neon-specific.