Back to browse
GitHub Repository

A new implementation of SQL for IA purposes, using postgresSQL and Karpathy wiki-llm as inspiration.

5 starsC

IA-SQL – Postgres compiles your documents into a wiki with an LLM

by feers77·May 25, 2026·2 points·1 comment

AI Analysis

●●●BangerBig BrainWizardry

Compiles documents at ingest time inside Postgres instead of querying via RAG.

Strengths
  • Uses Postgres background workers and triggers for async compilation without blocking writes.
  • Self-auditing layer flags hallucinations by comparing compiled wiki against raw sources.
  • Stores prompts as GUCs, allowing dynamic configuration without code changes.
Weaknesses
  • Version 0.1 proof of concept lacks production hardening or monitoring tools.
  • Relies on external LLM APIs, adding latency and cost to every insert.
Category
Target Audience

Backend engineers, AI infra developers, PostgreSQL power users

Similar To

LangChain · LlamaIndex · Obsidian

Similar Projects

AI/ML●●Solid

Open KB: Open LLM Knowledge Base

Compiled wiki beats query-time RAG with vectorless PageIndex retrieval for long PDFs.

Big BrainNiche Gem
mingtianzhang
622mo ago
AI/ML●●Solid

LLM Wiki Compiler Inspired by Karpathy

Two-phase pipeline eliminates order-dependence before writing any wiki pages.

Big BrainNiche Gem
ethanjoffe
772mo ago