AI Aulis

AI NEWS IN ENGLISH · 22 October 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

← Issue 22 October 2026Paper

Claude Code built a SPARQL extension for SQLite in Ultracode mode for Simon Willison

AI-generated contentWritten by AI

simonwillison.net, github.com · 2 sources · Sources published: 16 October 2026 · Some source publication dates are unknown

In an experiment by Simon Willison, Claude Code for web worked in Ultracode mode for more than 12 hours and produced a Rust-based SPARQL extension for SQLite. The results rest on a report written by AI, and Willison said the code is effectively impossible to review.

On 16 October 2026, Simon Willison wrote on Simon Willison’s Weblog about an experiment with the coding agent Claude Code for web running in Ultracode mode. The experiment produced sparqlite, a SQLite extension written in Rust that lets users query a SQLite database with the SPARQL 1.1 query language.

In Ultracode mode, Claude Code often relies on dynamic workflows, Willison wrote: it writes JavaScript that defines a set of subagents and coordinates their work. Willison points to the description of the mode in the Claude Code documentation.

Willison wrote a one-sentence prompt on a phone, asking for a fast SPARQL extension that reads the database rows directly. Claude Code worked on the task for more than 12 hours. The next day, Willison also asked for a README file for every Rust package, a step-by-step tutorial and a script that creates the tutorial’s example database.

SPARQL is a query language for data in RDF format. In RDF, every piece of information is a three-part statement: a subject, a property and a value. The project’s README says sparqlite stores the data as integers in ordinary SQLite tables. The extension’s own query engine runs the queries inside the SQLite process. Rather than translating the whole query into a single SQL statement, the engine fetches the rows itself: through prepared index lookups or, in some databases, by reading SQLite’s index pages directly from the database file.

The README also describes how the agents divided the work. Three agents designed the system independently, three reviewers scored the designs and one agent merged them into a specification. Each package had its own chain of agents. The chain wrote the code, another agent hunted for bugs with failing tests, and the chain fixed the bugs it found. Finally, four auditors found, among other things, two bugs rated high severity, which the README says were fixed.

All of the results come from the README, which states that both its text and the code were written entirely by an LLM. The report says the extension passes 636 of the 639 applicable tests in the W3C SPARQL test suite. The README compares the extension’s speed with two implementations: the project’s own reference implementation, which translates the whole SPARQL query into a single SQL statement, and the Python package pyoxigraph.

sparqlite compared with Counting results only Returning all results
SQL translation (17 queries) 3.5 times faster 2.8 times faster
pyoxigraph 0.5.11 (16 queries) 10.6 times faster 6.6 times faster

Source: sparqlite README (AI-generated). Geometric mean of the speed differences; 1.6 million social network triples and 1 million product and offer triples, 4-vCPU cloud machine, SQLite 3.45.1, median of five runs. The pyoxigraph run hit the time limit on one query.

The README says sparqlite loses out on queries that take less than a millisecond, because query planning and checks add tens of microseconds to every query. The extension has only been tested on Linux.

Willison is not sure what to do with the result, writing that ‘it’s not remotely feasible to review the code that was produced here, and even following the documentation is a significant investment in work.’ Willison also asks what value a full SPARQL implementation has when it was commissioned on a whim by someone who lacks the ability or the desire to spend time working out what it can do.

The code is on GitHub in the sqlite-sparql-rust directory of Willison’s research repository. The extension is built with Rust’s cargo tool and requires SQLite 3.34.1 or later. The sqlite3 that Apple ships cannot load extensions.

What this is based on

  1. Research: sparqlite: SPARQL 1.1 inside SQLite, written in Rust

    Publisher: simonwillison.net · published 16 October 2026 at 04:58 (UTC+03:00) · retrieved 22 October 2026 at 05:41 (UTC+03:00) · discovery channel: web

  2. github.com

    Publisher: github.com · source publication time unknown · retrieved 22 October 2026 at 05:41 (UTC+03:00) · discovery channel: GitHub

Report an error in this story