Truejoin puts governance in the database-agent path—but its benchmark still needs an outside rerun
The new Apache-2.0 gateway combines MCP, REST and analytical SQL with row rules, masking and a reviewed catalog. Its unusually candid evaluation is useful evidence, not independent validation.
A new open-source entrant is trying to move database agents beyond the familiar “generate SQL, then block writes” pattern. Truejoin exposes PostgreSQL, MySQL and MariaDB directly, plus SQL Server and Oracle through ODBC, over MCP, REST and a DuckDB-backed analytical SQL endpoint. The repository was created November 15, is Apache-2.0 licensed, and labels version 1.0.0 as still in development rather than a finished PyPI release. Source: GitHub repository and metadata
Governance is part of execution
Truejoin’s more interesting claim is architectural. A model can draft table descriptions, relationships, business terms and PII labels, but a person must review and approve that catalog before the system uses it. At query time, the gateway says it applies caller-specific row rules and column masks, limits SQL to one read-only statement, disables DuckDB external access, and records an audit event. The same policy path covers SQL written by a person or generated by a model. Source: Truejoin README
That makes the project closer to a governed data-access layer than a standalone text-to-SQL chatbot. Its 18 MCP tools include schema discovery, metric queries and natural-language answering; the same service also exposes typed REST endpoints. The natural-language path first tries to compile a question against a reviewed vocabulary without calling a model, then can refuse or route unread questions to a model-written SQL fallback under the same controls. Source: Truejoin README
The benchmark is candid—and narrow
The repository includes more evaluation detail than most day-one projects. Its project-authored benchmark uses one banking-shaped schema, 48 tuned Turkish-and-English questions and 16 held-out questions, grading result sets rather than SQL strings. On the held-out set, the deterministic terms arm reports 13 correct answers, versus 10 for schema-enriched model-written SQL and 8 for raw SQL from the same Qwen2.5-Coder 7B model. Source: Truejoin benchmark
But the benchmark documentation also explains why that number should not be treated as a leaderboard score. Sixteen questions produce wide intervals; one held-out success followed a capability added with that question already known, and another previously counted answer was correct only because of an accidental equality in the data. The project therefore identifies 12 of the other 15 questions as the cleaner unseen result. It also documents tuned-set changes, rerun provenance and cases where a model repeated the same invalid join after receiving an execution error. Source: Truejoin benchmark
What to watch
Truejoin starts with no visible stars or forks and no independent security audit or benchmark reproduction. The immediate test is not whether its README can describe a complete governance stack; it is whether outsiders can reproduce the policy behavior across joins, aliases and subqueries, and whether a fresh evaluation on unfamiliar schemas preserves the deterministic planner’s advantage. Source: GitHub metadata
For now, the project is notable for putting identity, policy and auditability inside the query path—and for publishing enough caveats to make its evidence inspectable. That is a stronger starting point than a demo accuracy percentage, but it remains a starting point.
sources
- Truejoin repository and READMEgithub.com
- Truejoin benchmark documentationgithub.com
- GitHub repository metadataapi.github.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026