v0.4.13 · SQLite in safe Rust

The
Monster
Database Engine.

SQLite, rewritten from scratch in Rust. It opens the database files you already have, speaks the same SQL, and adds with on by default.
Pre-1.0. See what works today and what's still in progress
FrankenSQLite monster illustration
28Workspace Crates
Workspace Crates
28

26 of them published on crates.io

Crates Allowed Unsafe
2

The VFS (mmap, shared memory) and the optional C ABI shim

Lines of Rust
1.8M+

Under crates/, tests included

Passing Test Results
25K+

v0.4.9 release gate; the 68 failures are listed in the changelog

What Makes It Different

Some of this works today and some of it is still on the bench. Each card says which. Hover a badge for what it means.

Live

Concurrent Writers

Several connections in one process can write at once. tracks versions per page, so writers that touch different pages don't queue behind a single lock. Plain BEGIN is promoted to BEGIN CONCURRENT by default.
Live

Serializable by Default

Concurrent transactions run under using the at page granularity. Write skew gets caught at commit instead of quietly corrupting an invariant.
Live

Your Existing SQLite Files

Opens standard .db files with rollback journal or , in UTF-8 or UTF-16. Files it writes stay readable by stock sqlite3.
Live

Safe Rust Core

The workspace forbids unsafe by default. Two crates opt out: the VFS, which needs raw pointers for mmap and shared memory, and the optional C ABI shim. The parser, planner, VDBE, B-tree, pager and MVCC code are all safe Rust.
Partial

SQLite's SQL, Checked Against SQLite

Joins, CTEs, window functions, triggers, views, UPSERT and RETURNING, compared row by row against C SQLite 3.52. A few query shapes still run through a compatibility executor instead of compiled bytecode.
Live

Built-in Extensions

FTS5 with BM25 ranking, JSON1, R-tree and geopoly, ICU collation and generate_series are registered out of the box. FTS3/FTS4 virtual tables, dbstat and carray are not there yet.
Live

Transaction Telemetry

PRAGMAs report live transaction stats, per-transaction activity, an advisor that flags long transactions and rollback pressure, and a you can feed to a visualizer.
Live

Async, With Real Cancellation

Every connection call is a future. The engine runs on , whose capability context carries cancellation through the parser, planner and VDBE. Bring your own executor thread; connections stay on it.
Partial

Time-Travel Queries

SELECT ... FOR SYSTEM_TIME AS OF COMMITSEQ 42 reads the table as it was after commit 42. Today this works on :memory: databases only; file-backed history is designed but not built.
Partial

RaptorQ WAL Repair

File-backed connections generate for the WAL in the background, into a -wal-fec sidecar. Opening a damaged database doesn't use them automatically yet; there is an explicit repair API on Unix.
Built, not wired

Same-Page Merging

The (intent replay plus structured page patches) is written and tested, but the live commit path doesn't use it. Today a same-page conflict means one writer gets SQLITE_BUSY_SNAPSHOT and retries.
Built, not wired

Page-Level Encryption

with an exists in the pager, but nothing calls it. PRAGMA key is silently ignored and your data is written unencrypted.
As of v0.4.13, November 1, 2026

Where It Stands

Full status in the engine README
Live

Works today

On by default in the current compatibility runtime.

  • Multiple writers in one process
    One Connection per thread against the same file. Writers on different pages overlap; same-page conflicts retry with SQLITE_BUSY_SNAPSHOT.
  • Serializable isolation
    Page-level SSI is on by default. PRAGMA fsqlite.serializable = OFF drops to snapshot isolation.
  • Standard SQLite files
    Rollback journal and WAL, UTF-8 and UTF-16. Stock sqlite3 can read what FrankenSQLite writes.
  • Extensions
    FTS5, JSON1 (json_each, json_tree), R-tree and geopoly, ICU, generate_series.
  • Observability PRAGMAs
    fsqlite_txn_stats, fsqlite_transactions, fsqlite_txn_advisor, fsqlite_txn_timeline_json.
  • CLI and packages
    Signed prebuilt binaries for Linux (x86-64, ARM64), macOS and Windows, plus the fsqlite crates on crates.io.
Partial

Partly there

Opt-in, or usable in some configurations with known edges.

  • Multi-process writers
    Shared-memory coordination exists, but MVCC authority is still process-local. Proven only up to the scale the swarm harness has run.
  • Interop with stock SQLite
    Either engine can open the other's files. Running both on the same file at the same time is not supported.
  • Time travel
    FOR SYSTEM_TIME AS OF works on :memory: databases. File-backed history is design work.
  • WAL repair symbols
    Generated in the background into a -wal-fec sidecar (PRAGMA raptorq_repair_symbols sets how many). Normal recovery doesn't use them; an explicit repair_and_open API exists on Unix.
  • Compiled execution
    Most table work compiles to VDBE bytecode. Some CTE, view, join and window shapes still use a compatibility executor.
  • VDBE JIT
    Functional but off by default. PRAGMA fsqlite.jit_enable = 1 opts in.
  • Browser build
    A WASM build with a TypeScript SDK and worker. In-memory, with explicit IndexedDB snapshots; the packages aren't on npm yet.
Built, not wired

Built, not wired

Code and tests exist; the default runtime doesn't call them.

  • Safe write-merge ladder
    Intent replay and structured page patches. Tracked as bd-3d5y3 / bd-p4dcv.
  • Page encryption
    XChaCha20-Poly1305 with Argon2id key wrapping lives in fsqlite-pager. No PRAGMA key/rekey dispatch yet.
  • Research code
    Learned indexes, database cracking, a cooling-stage cache protocol and pointer swizzling in fsqlite-btree, plus an ARC cache policy and BOCPD workload detection. Implemented and tested; the runtime doesn't call them.
  • Vectorized operators
    Batch hash join, sort and aggregation kernels are benchmarked but have no live call sites. Only the vectorized MakeRecord encoder is on.
Design

On the drawing board

Specified in detail, implemented in pieces.

  • Native mode (ECS)
    An append-only, RaptorQ-encoded commit stream as the source of truth. The WAL pieces are landing on main now.
  • File-backed time travel
    A .fsqlite-history sidecar is the chosen design; not implemented.
  • Cross-process MVCC
    Mapped page-lock tables and MVCC shared memory exist as infrastructure only.
The ProblemLive

One Writer at a Time

SQLite lets many connections read at once, but only one can write. In WAL mode a single lock byte (WAL_WRITE_LOCK) decides who that is, and everyone else waits or gets SQLITE_BUSY. Add cores and the write path doesn't get any wider. Most apps end up funneling every write through one thread.

FrankenSQLite replaces that lock with . Each writer works against its own and records new versions of the pages it changes. Writers on different pages do their work in parallel; commit still has a short coordinated step to publish the result. If two writers change the same page, the second one to commit gets SQLITE_BUSY_SNAPSHOT and retries. The race below is a simplified picture of the difference.
How It WorksLive

Snapshot Isolation

A transaction starts by taking a : in effect, the commit sequence number of the newest commit it is allowed to see. Writers don't overwrite pages other transactions might be reading. They create new versions, so a reader keeps seeing the database exactly as it was when it started, and never sees half of someone else's write.

The visibility rule is one comparison: a page version committed after your snapshot is invisible to you. Click through the tree below to watch produce new page versions while the old tree stays intact for readers that are still using it.
Physical LayoutLive

Pages All the Way Down

Every table and index in a SQLite file is a made of fixed-size pages, 4 KB by default. FrankenSQLite uses exactly the same layout, down to the cell format and varint encoding, which is why stock sqlite3 can open its files. A lookup walks from the root page to a leaf, binary-searching the cells on each page.

Pages are also the unit of versioning. A write produces a new version of the leaf it touches, plus any pages a split or merge changes, and decides which transactions can see which version. Step through below to watch the read path descend and the write path fork.
When Conflicts HappenLive

Serializable, Not Just Snapshot

Snapshot isolation alone has a well-known hole called write skew. Two transactions each read the same rows, each write a different one, and together they break a rule neither broke alone, like two doctors both going off call because each saw the other was on. Most MVCC layers for SQLite stop at snapshot isolation. FrankenSQLite doesn't.

At commit, it checks two things. First, : if a page you wrote changed since your snapshot, you lose and retry. Second, : it tracks between concurrent transactions and aborts any transaction that would become the pivot of a dangerous structure (the , applied per page). PostgreSQL uses the same idea at row granularity. If you can live with write skew, PRAGMA fsqlite.serializable = OFF turns the second check off. The two visualizations below show the dependency graph and a commit sequence being validated.
DurabilityLive

The Write-Ahead Log

Commits go to the first: each changed page is appended as a frame, and the last frame of a transaction marks the commit. If the power goes out halfway through, recovery replays complete transactions and ignores the torn tail. A checkpoint later copies frames back into the main file.

FrankenSQLite keeps SQLite's WAL format and its , so a database can move between it and stock SQLite after a checkpoint. (Running both engines on the same file at the same time is not supported.) With concurrent writers, the interesting part is the commit itself: each connection validates and publishes its frames inside a short guarded section, so the log stays one ordered sequence even though the work that produced it ran in parallel. Use the tabs below to switch between normal appends, a checkpoint, and crash recovery.
ObservabilityLive

Transaction Telemetry

With concurrent writers, a transaction that runs too long or reads too much hurts everyone else: it holds an old open and raises the odds of conflicts. So the engine exposes what its transactions are doing, through ordinary PRAGMAs you can query while the workload runs.

fsqlite_txn_stats gives lifecycle counters, fsqlite_transactions lists the active ones with their age and read/write activity, and fsqlite_txn_advisor flags long transactions, large read sets, deep savepoint stacks and rollback pressure against thresholds you can tune. fsqlite_txn_timeline_json returns the same picture as . The tabs below show what a healthy and an unhealthy timeline look like.
Safe RustLive

Unsafe in Two Crates, Not Twenty-Eight

SQLite is some of the most heavily tested C in existence, and it still ships the occasional memory-safety CVE: buffer overreads, use-after-free, integer overflow into a bad allocation. That's what writing a database in C costs, even with an enormous test budget.

FrankenSQLite sets unsafe_code = "forbid" for the whole workspace. Two crates override it locally: fsqlite-vfs, because mmap and shared-memory regions need raw pointers, and the optional fsqlite-c-api, because FFI does. The parser, planner, VDBE, B-tree, pager, WAL and MVCC code are safe Rust, so those classes of bug can't appear there. for PageNumber, TxnId, PageSize and friends turn mixed-up integers into compile errors. Switch to the Rust tab in the newtype demo to see the compiler catch a mistake C would accept.
From SQL to DiskLive

The Query Pipeline

SQL text goes through a hand-written lexer and parser (no Lemon, no generated grammar) into a typed AST. Code generation turns that into , the same model SQLite uses: a small program of opcodes like OpenRead, Rewind, Column and ResultRow, run by a register-based virtual machine against the layer. FrankenSQLite has 190+ opcodes.

Most table work takes this compiled path today. Some shapes (certain CTEs, views, joins and window queries) still run through an interpreted compatibility executor while their lowering is finished. Step through the program below to watch the program counter advance and rows come out of the opcodes.
The Code

What the Code Looks Like

Connection, prepare, execute, rows of SqliteValue. The one thing that will look unusual is that every call is async: the engine runs on asupersync, so you build a runtime and .await each operation. A Connection stays on the thread that opened it; for concurrent writers, open one per thread. Getting started has the multi-writer version.
src/main.rs
01#![recursion_limit = "512"] // the engine's futures nest deeply02 03
use
asupersync::runtime::RuntimeBuilder;
04
use
fsqlite::{Connection, SqliteValue};
05 06
fn
main() -> Result<(), Box<dyn std::error::Error>> {
07 // A small blocking pool for file I/O, the same setup the fsqlite CLI uses.08
let
runtime = RuntimeBuilder::current_thread().blocking_threads(1, 2).build()?;
09 runtime.block_on(
async
{
10
let
conn = Connection::open("app.db").
await
?;
11 12 conn.execute(13 "CREATE TABLE IF NOT EXISTS users (14 id INTEGER PRIMARY KEY,15 name TEXT NOT NULL,16 email TEXT UNIQUE17 );",18 )19 .
await
?;
20 21 conn.execute_with_params(22 "INSERT INTO users (name, email) VALUES (?1, ?2);",23 &[SqliteValue::from("Alice"), SqliteValue::from("alice@example.com")],24 )25 .
await
?;
26 27 // Prepared statements borrow the connection; drop them before close().28 {29
let
stmt = conn.prepare("SELECT id, name FROM users WHERE name = ?1;").
await
?;
30
for
row
in
stmt.query_with_params(&[SqliteValue::from("Alice")]).
await
? {
31 println!("{:?} {:?}", row.get(0), row.get(1));32 }33 }34 35 conn.close().
await
36 })?;37 Ok(())38}
Syntax_Validation_Active
UTF-8_ENCODED
On the workbench

Designed, Built, Not Yet Switched On

Everything above runs in the default engine today. The next four sections are the ideas FrankenSQLite is best known for, and none of them is fully live yet. Some have working, tested code that the commit path doesn't call; some work only in part; one is a design with pieces landing on main every week. Each section says exactly where it stands, so you can tell the plan from the product.

Corruption RepairPartial

Repairing the WAL

A torn write or a flipped bit in the WAL can cost you committed transactions. SQLite can detect that with frame checksums, but all it can do then is stop replaying at the damaged frame.

The plan is to store next to the WAL. A fountain code turns K source symbols into as many extra symbols as you like, and almost any K of them (plus a couple) are enough to rebuild the original. Corrupted frames can then be reconstructed during recovery instead of discarded. The demo below shows the idea on a handful of pages; the overhead and failure counts in it are illustrative.

StatusFile-backed connections running with a blocking thread pool generate repair symbols for durable WAL ranges into a -wal-fec sidecar, in the background (PRAGMA raptorq_repair_symbols sets how many). Ordinary recovery still stops at the first bad checksum and doesn't consult them; an explicit repair_and_open API on Unix can.

Native ModeDesign

An Append-Only Commit Stream

SQLite's files are mutable: pages are overwritten in place, and journals exist to make that safe across a crash. Native mode is FrankenSQLite's longer-term alternative. The source of truth becomes an append-only stream of commit capsules, each encoded as symbols, and a commit exists once its marker is durable. A normal .db file can still be produced from the stream for compatibility.

The code is : the original bytes are stored as-is and the sit alongside them, so ordinary reads don't decode anything. Press Start DB Writers below for a simplified picture of data and repair symbols streaming to disk.

StatusNative mode is under construction. Commit capsules, RaptorQ-encoded WAL objects and native page groups are landing on main, but there is no stable switch for it on Connection. Everything you run today uses standard SQLite files.

Same-Page ConflictsBuilt, not wired

The Safe Merge Ladder

Page-level versioning has one obvious weakness: two transactions inserting different rows into the same leaf page conflict, even though their changes don't really overlap. Right now the loser gets SQLITE_BUSY_SNAPSHOT and retries.

The is the planned fix. Each writer keeps a log of what it meant to do at the B-tree level (“insert rowid 42”, “delete this index entry”). On a same-page conflict, the engine first tries to against the winner's version of the page. If that doesn't apply, it tries a structured patch that merges changes cell by cell. Raw byte-level XOR merging is deliberately ruled out, because two byte-disjoint edits can still produce an invalid page. Only a conflict that survives both rungs aborts. The demo below walks through a merge step by step.

StatusThe rebase and patch-merge code lives in fsqlite-mvcc and is exercised by tests, but the live commit path doesn't call it and the intent log isn't populated during writes. Today every same-page conflict is resolved by abort and retry.

Encryption at RestBuilt, not wired

Page Encryption

Encrypting a SQLite database normally means buying SQLite's commercial SEE extension or switching to a fork like SQLCipher. The design here builds it into the pager. Each page is encrypted with using a fresh random 24-byte nonce, and the 16-byte authentication tag lives in the page's reserved bytes.

Keys use an : a random data key encrypts the pages, and a key derived from your passphrase with encrypts the data key. Changing the passphrase re-wraps one 32-byte key instead of rewriting the file. Random nonces avoid any global counter, so VM snapshot rollbacks and crashes can't cause nonce reuse. Step through the pipeline below to follow a page through it.

StatusNot usable yet. The implementation is in fsqlite-pager, but no PRAGMA key or rekey reaches it. Because unknown PRAGMAs are ignored (as in SQLite), PRAGMA key = '...' succeeds and the database is still written in plain text.

How It Compares

Engine Comparison

The closest relative is Turso, another Rust rewrite of SQLite. Its MVCC is opt-in, versions rows, and stops at snapshot isolation, so write skew is allowed by design. FrankenSQLite versions pages to keep the file format intact, runs concurrent by default, and validates for full serializability.

Turso is ahead as a product, with bindings, sync and a mature simulation-testing setup. C SQLite has 25 years of production use that nothing here can match. DuckDB solves a different problem (analytics, columnar storage). The table describes FrankenSQLite as it runs today, gaps included.
Implementation language
FrankenSQLiteRust
C SQLiteC
TursoRust
libSQLC (SQLite fork)
DuckDBC++
Concurrent writers
FrankenSQLiteDefault (plain BEGIN)
C SQLiteOne at a time
TursoBEGIN CONCURRENT in MVCC mode
libSQLOne at a time
DuckDBYes
Version granularity
FrankenSQLitePage
C SQLiteNone (one writer)
TursoRow
libSQLNone (one writer)
DuckDBRow
Isolation with concurrent writers
Snapshot isolation allows write skew; serializable does not.
FrankenSQLiteSerializable (page SSI)
C SQLiteSerializable by serializing
TursoSnapshot isolation
libSQLSerializable by serializing
DuckDBSnapshot isolation
Opens existing SQLite files
FrankenSQLiteYes
C SQLiteYes
TursoYes; MVCC mode adds its own log
libSQLYes
DuckDBVia extension
Memory safety
FrankenSQLiteSafe Rust; unsafe in 2 crates
C SQLiteManual
TursoRust with unsafe in core
libSQLManual
DuckDBManual
Corruption repair
FrankenSQLiteWAL repair symbols; auto-recovery pending
C SQLiteDetect only
TursoDetect, truncate torn tail
libSQLDetect only
DuckDBDetect only
Encryption at rest
FrankenSQLiteImplemented, not wired
C SQLitePaid SEE extension
TursoExperimental
libSQLYes
DuckDBYes
Async API
FrankenSQLiteYes (asupersync)
C SQLiteNo
TursoYes
libSQLClient libraries
DuckDBNo
Analytical workloads
FrankenSQLiteRow store
C SQLiteRow store
TursoRow store
libSQLRow store
DuckDBColumnar, vectorized
Track record
FrankenSQLitePre-1.0, since Feb 2026
C SQLite25 years
TursoBeta
libSQLProduction
DuckDBProduction
✓ yes · ◐ partial or opt-in · ✕ no. Other engines are described from their own public docs; FrankenSQLite entries describe the current default runtime, not the design target.
Workspace

28 Crates

Each subsystem is its own crate, and Cargo enforces the boundaries: the parser can't reach into the pager, and the B-tree can't call the planner. That keeps the coupling honest and makes each piece testable on its own. 26 of the 28 are published on crates.io, all at the same version. Most applications only need fsqlite, which pulls in the rest.
fsqlite

Public API: Connection::open, execute, query, prepare

fsqlite-core

Connection hub: statement dispatch, transactions, schema, VDBE bridge

fsqlite-types

PageNumber, PageSize, TxnId, SqliteValue, opcodes, serial types

fsqlite-error

Error variants, SQLite error-code mapping, transient-error detection

fsqlite-vfs

OS abstraction: files, locks, mmap and shared memory

fsqlite-pager

Page cache (S3-FIFO eviction), rollback journal, write-back

fsqlite-wal

frames, checkpoints, WAL index, crash recovery

fsqlite-mvcc

Page-level , snapshots, SSI validation, version GC

fsqlite-btree

B-tree cells, page splits, overflow chains, cursors

fsqlite-ast

Typed AST for statements and expressions

fsqlite-parser

Hand-written lexer and parser, Pratt expressions

fsqlite-planner

Name resolution, WHERE analysis, join ordering, index choice

fsqlite-vdbe

bytecode VM with 190+ opcodes and code generation

fsqlite-func

Scalar, aggregate, window, date/time and math functions

fsqlite-ext-fts5

FTS5 full-text search with BM25 ranking

fsqlite-ext-fts3

FTS3/FTS4 query helpers (no virtual-table module yet)

fsqlite-ext-json

JSON1 functions plus json_each and json_tree

fsqlite-ext-rtree

R-tree spatial indexes and geopoly functions

fsqlite-ext-session

Changesets and patchsets (manual library API)

fsqlite-ext-icu

ICU collation and Unicode case folding

fsqlite-ext-misc

generate_series plus uuid and decimal helpers

fsqlite-observability

Metrics, tracing, latency and conflict telemetry

fsqlite-cli

The fsqlite shell: REPL, -c, .read, .dump, output modes

fsqlite-c-api

Optional SQLite-style C ABI shim

fsqlite-wasm

Experimental WebAssembly build behind the TypeScript SDK

fsqlite-harness

Conformance and differential testing against C SQLite

fsqlite-e2e

Workload replay, swarm tests and the benchmark matrix

beads-doctor

Health checks for Beads issue databases

Process

How It Was Built

One person, a lot of coding agents, and eight months. Getting something that mostly worked came quickly. Getting it correct under heavy concurrency, and competitive with a C codebase tuned for 25 years, did not. Fixing one benchmark kept breaking another. These are the habits that finally made progress stick.
1

Spec first

Before the engine, there was the spec: 18,231 lines covering MVCC, SSI, RaptorQ, the file format and the verification gates. It went through dozens of review passes, then got cut into hundreds of dependency-tracked Beads issues.
2

Measure the whole workload

Agents left alone will happily shave microseconds off code that doesn't matter. The fix was an end-to-end matrix: reads, inserts, updates and deletes, small and large row counts, 1 to 32 threads, always run against C SQLite on the same machine.
3

Write down what didn't work

Every optimization that was tried, measured and reverted goes into a negative-results ledger, with the workload, the evidence and when it might be worth retrying. Agents read it before starting a new idea. It now runs to 648 entries, and it is the single thing that most helped the project stop going in circles.
4

Dogfood it early

cass, MCP Agent Mail and beads_rust use FrankenSQLite for their own storage. That was painful, and it is where a large share of the real bugs came from.

What about speed?

There is no current performance number to quote. The May 2026 benchmark matrix looked very good: FrankenSQLite was ahead of C SQLite on 79 of 93 scenarios, with the biggest wins on multi-writer workloads, and behind on small single-threaded write loops, where every row paid MVCC bookkeeping that C SQLite skips. In July the project declared those results non-citable. The storage stack had moved to async I/O, and some of the older runs lacked provenance or compared asymmetric settings. Until a clean, reproducible matrix exists for the current code, the README makes no numeric claims, and neither does this site.

Development Timeline

The Build Log

From the first commit on February 6, 2026 to v0.4.13. The engine changelog has the release-by-release detail, known issues included.
Feb 2026

An 18,000-line spec, then the first engine

  • The project starts on February 6. The design spec grows to 18,231 lines over dozens of revision passes before any serious code is written.

  • The spec is broken into hundreds of Beads issues, and a swarm of coding agents works through them.

  • About 2,500 commits land in the first six weeks. MCP Agent Mail's Rust rewrite starts using FrankenSQLite almost immediately.

Build Log
Mar–May 2026

The performance campaign

  • A benchmark matrix pits FrankenSQLite against C SQLite across reads, inserts, updates and deletes, from 1,000 to 100,000 rows, on 1 to 32 threads.

  • Every optimization that failed to move the matrix goes into a negative-results ledger, which agents read before trying the next idea. It now holds 648 entries.

  • The May 9 run had FrankenSQLite ahead on 79 of 93 scenarios. Those numbers predate the async storage rewrite and are no longer treated as release evidence.

Build Log
Jun–Aug 2026

Releases, dogfooding, and going async

  • Regular releases begin, with signed prebuilt binaries and checksum-verifying installers.

  • cass, beads_rust and the Rust MCP Agent Mail build on FrankenSQLite, and their bug reports drive much of the fix list.

  • In late July the storage stack moves to async I/O (released as v0.2.0 on August 4), and the project withdraws its performance numbers until they can be re-measured cleanly.

Build Log
Sep 2026

One version for every crate

  • v0.4.0 aligns with asupersync 0.5. From v0.4.4 on, every crate ships at the same version.

  • Groundwork for cross-process MVCC lands: a mapped page-lock table and MVCC shared memory, not yet in charge of the public Connection.

  • A TypeScript SDK and WASM worker land in the repo, along with UTF-16 database support and a long list of stock-SQLite parity fixes.

Build Log
Oct 2026

v0.4.9 and native storage

  • v0.4.9 ships on October 3. Its release gate records 25,211 passing test results and 68 failures, each one reviewed and listed in the changelog.

  • On main, native-mode WAL work is landing: page groups published through shared durability barriers and sealed transaction handles, plus a feature-gated service that batches native commits so writers share fsyncs. None of it is switched on for ordinary connections yet.

  • v0.4.10 follows on October 7 with a data-integrity advisory: inserts inside a transaction could silently corrupt a table b-tree, and UPDATE ... FROM lost or repeated updates. v0.4.12, on October 13, fixes two defects v0.4.10 introduced: a join that returned no rows, and row loss on :memory: databases with autocommit_retain = OFF.

Build Log
Nov 2026

v0.4.13 and more data-integrity fixes

  • v0.4.13 ships on November 1 for all 26 public crates. Among its fixes: an unparenthesized column DEFAULT swallowed a following NOT NULL or COLLATE, also on schemas stock SQLite created, and concurrent writers could commit duplicate implicit rowids.

  • Its release gate ran the complete storage and SQL crate suites plus every integration target changed since v0.4.12: 18,126 passing test results, 18 of which returned early at an environment check, and 4 failures, each explained in the changelog. Integration targets unchanged since v0.4.12 were not rerun.

  • The native WAL stack gains recovery, page snapshots and replica catch-up, none of it reachable from the public Connection yet.

Build Log

Ready to Build?

Point the fsqlite shell at a database you already have, or add the crate to a Rust project. It's pre-1.0, so try it on something you can afford to break first.
terminal
# the shell (Linux / macOS)
$curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/frankensqlite/main/install.sh | bash
# the library (nightly Rust)
$cargo add fsqlite && cargo add asupersync --no-default-features
Open source · MIT with OpenAI/Anthropic rider
Who built it

Built by
Jeffrey Emanuel.

FrankenSQLite is written by coding agents and steered by one person. The tools below are what keep many agents working on the same codebase without stepping on each other, and they're all open source.

FrankenSQLite is one of the FrankenSuite projects: ground-up Rust rewrites of infrastructure people already depend on, including FrankenTUI, FrankenFS, FrankenLibC and FrankenEngine. They share a runtime (asupersync), a habit of checking themselves against the original, and a lot of the same tooling.

FrankenSQLite Origin
Built with agents