tpt-archon
RustA vertically integrated storage/kernel/database stack in Rust — a no_std zero-allocation storage engine, capability-based microkernel with a unified page cache, and a GPU-opt-in SQL query engine, sharing a single zero-copy address space
Languages
tpt-archon
tpt-archon is a vertically integrated, proof-native computing stack that
eliminates the boundaries between storage, operating system, and database.
Built inside-out on Rust's ownership model and formal verification, it unifies
the page cache, kernel memory management, and database buffer pool into a
single, zero-copy address space — see spec.txt for the full
design document.
Status
Early but functional across all four crates: each phase's core functionality is
implemented and tested. External verification crates (tpt-eidos-verifier,
tpt-telos-*, tpt-gpu-ir-spec) are wired in via the non-published
crates/tpt-archon-verify harness, not the shippable crates. GPU support is
IR-emission only (no runtime). Nothing here is production-ready; see
TODO.md for the live checklist and what is deferred (e.g. GPU
device execution, real io_uring/mmap backends, publishing).
| Phase | Crate | Purpose | Status |
|---|---|---|---|
| 1 | tpt-archon-core | no_std, zero-allocation storage engine (block device, page manager, WAL, B-Link tree) | Implemented |
| 2 | tpt-archon-bridge | Zero-copy IPC & unified page cache traits between storage and kernel | Implemented |
| 2 | tpt-archon-kernel | Capability-based microkernel (user-space first) with unified page cache | Implemented |
| 3 | tpt-archon-relational | AI-native SQL query engine (GPU opt-in, CPU fallback) | Implemented |
The dependency graph is strict and one-directional:
tpt-archon-relational
↓
tpt-archon-kernel
↓
tpt-archon-bridge
↓
tpt-archon-core
TPT ecosystem dependencies
Archon builds on sibling TPT Solutions crates rather than reimplementing verification tooling from scratch:
tpt-eidos(bare repo; thetpt-eidos-verifiersub-crate) — QF_LRA solver used to prove the B-Link node-capacity / page-fit invariant.tpt-telos(tpt-telos-verifier/tpt-telos-ir/tpt-telos-parsersub-crates) — formal verification of critical invariants (WAL crash consistency, MVCC serializability, scheduler deadlock-freedom). There is no standalonetpt-teloscrate; those three sub-crates are the package names.tpt-gpu(thetpt-gpu-ir-specsub-crate) — a TPTIR dialect emitter (lowers an IR region to stable TPTIR text). It is not a runtime and does not execute anything. There is notpt-gpu-primitivesortpt-gpu-runtimecrate — they do not exist anywhere in the ecosystem. The GPU path intpt-archon-relationalonly emits TPTIR for an external GPU backend; the CPUvector_topkremains the real executor.
These are verification/tooling deps, not runtime deps. None of them are
pulled into the shippable crates (which must stay cargo publish-dry-run
clean — crates.io rejects git deps even in dev-deps). They live exclusively in
the non-published crates/tpt-archon-verify harness. See AGENTS.md and ADR
0003.
There is no tpt-zero-bytes crate (referenced in the original design doc but
never built anywhere in the ecosystem); the zero-allocation I/O primitives
tpt-archon-core needs are implemented directly in that crate instead.
Build
cargo build --workspace
cargo test --workspace
License
Licensed under either of:
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.