Designing Software for Both Humans (DX) and AI Agents (AX)
Why I built the Keel Data Stack, Dana, Mo, and Trusted TS around single-binary Rust toolchains, explicit capabilities, and zero-noise diagnostics.
Over the last year of shipping real systems with AI coding agents, a pattern became unmistakable: mainstream languages and data stacks fail in the exact same places whether a human or an agent sits at the keyboard.
Dynamic scripting ecosystems pull in hundreds of transitive dependencies, swallow bad assumptions until runtime, and hand every module ambient authority over files, secrets, and sockets. Enterprise Java and Common Lisp data tools require heavy runtimes or arcane build chains. Even when an agent writes valid code quickly, humans still have to read the diff, verify the query results, and own the production blast radius.
Instead of fighting those failure modes with prompts alone, I built four complementary open-source ecosystems around one idea: great Developer Experience (DX) and great Agent Experience (AX) are the same thing.
1. Keel Data Stack — 18 Single-Binary Rust CLIs
If you run PostgreSQL, SQLite, Excel workbooks, Canvas Data 2, or local tabular ML models, you usually glue together a mix of pgloader (Common Lisp), SchemaSpy (Java + Graphviz), sqlite-utils (Python), ydata-profiling, and custom ETL scripts.
The Keel Data Stack replaces that sprawl with 18 focused Rust binaries sharing one predictable contract:
- Dual-mode output (
--format auto|human|agent|json): rich tables on a TTY, token-budgeted structured output when piped or driven by an agent. - Strict
stdout/stderrseparation: pure payloads onstdout, progress notices only onstderr. - Actionable error envelopes (
E_*) and clean exit codes (0clean,1audit/drift failure,2I/O or config error). - Bundled
SKILL.mdinside every binary (<tool> skill) so agents always read the exact spec matching the binary onPATH.
2. Dana — Fast, Private, Database-Native Data Pipelines
Dana is an AI-first programming language built in Zero-Crate Rust (dependencies = {} in Cargo.toml) with a 2,048-row vectorized columnar VM, SQLite/PostgreSQL pushdown, and compile-time [pii] / [ferpa] sensitivity tracking.
Non-sensitive pipelines pay zero syntactic tax. The moment a schema tags a column with [pii] or [ferpa], sensitivity labels propagate automatically across expressions, filters, joins, and window functions, and unauthorized sinks fail to compile until declassified via audited primitives like suppress_small_groups(min: 5, distinct_by: .id).
3. Mo — Living Software & Pure-Mo Infrastructure
Mo brings the calm readability of Ruby and Elixir together with algebraic types, exact 128-bit Decimal, Perceus in-place memory reuse (zero borrow checker, zero GC pauses), and zero-ambient-authority capabilities—implemented in 100% pure safe Rust (#![forbid(unsafe_code)]).
Inside the Mo ecosystem live real applications and infrastructure written directly in Mo: the Arvo web framework, MoDB Copy-on-Write B+Tree storage, Motet, Mosh, Vellum, and Mobrowse.
4. Trusted TS — Running Untrusted TypeScript Safely
Trusted TS (tts + tts-box) solves the hardest problem in AI-generated JavaScript: running untrusted or agent-authored TypeScript and npm dependencies without trusting them.
Strict TypeScript actors run on a single OS thread (8.44 KiB / actor total VmRSS at 1,000 actors) inside buddy-allocated virtual-memory regions with fuel preemption, Z3 formal verification, and linear-time ReDoS-proof regex matching. Unmodified npm packages run separately on Linux inside Landlock v6, 64-bit seccomp-BPF, and systemd cgroup v2 bounds behind the tts-box host.
Keeping It 100% Open Source
Every core tool across these projects stays open source without venture capital or paywalled features. If your engineering or data team relies on them, sponsoring the work keeps releases, formal proofs, benchmarks, and docs moving full speed.