Kalen Patterson AI systems engineer

AI systems engineer

Systems where the model proposes and the code decides.

I build tools and systems with deterministic boundaries; schemas, policies and tests decide what happens.

Early-career · Solo projects · Selected work

The work

Four records · No. 01–04 · Selected work

Fixture

Python · FastAPI · FreeCAD · Blender

Live

A local-first harness that drives FreeCAD and Blender through one JSON-schema tool contract. The model proposes named tools; the client confirms, executes, and undo-wraps them.

Evidence
Gate PASS: 140 pytest, FreeCAD 92/0, Blender 29/0. A 60-case benchmark put Fixture at 96.7–98.3% against 57.6–74.6% for the closest open-source assistant. The release tree includes two scripted STEP/STL desk cases: a 4-piece laptop cradle and a 2-piece under-desk shelf.

Living State Machine

Python · FastAPI · Ollama · LanceDB

Public · Preprint

A local-first LLM memory system with six ablatable mechanisms, a deterministic verifier, and a gated writer. The paper trail includes negative results and a reproducible multi-seed runner.

Evidence
1.000 vs 0.100 preference recall at matched context budget, across 3 seeds; 240+ tests; YAML-reproducible ablations across 8 benchmarks.

mcp-weight

TypeScript · MCP · Node

Live

A read-only CLI that finds the MCP servers your agents load and puts a token number on every tool schema - per tool, per server, per client, with provenance.

Evidence
1,076 downloads all time. Discovers six MCP clients, probes the real servers, and turns a broken server into a row rather than a failed scan.

vkeys

Rust · DPAPI · XChaCha20-Poly1305

Public · v0.1.0

A machine-wide key store where named profiles inject credentials into fixed commands. There is no get command: an agent can use a key but never print it.

Evidence
30 tests pass (3 unit, 19 broker, 3 CLI, 5 key-selection). The Windows SYSTEM install and the Linux ARM64 host both hold the boundary: the agent cannot read the vault or master key, only a use-only broker token. Six platform archives ship with SHA-256 sidecars.

The decisions

Three records · From 241 ADRs

The corpus keeps an append-only decision log: 241 Architecture Decision Records across 19 projects. Three earn a place here: one accepted and still constraining the code, one genuinely reversed, and one where the attractive alternative lost.

  1. Accepted · 2026-09-17 Auto-merge only when the policy says so. The model cannot merge its own work. evaluateMergePolicy requires passing verification, a diff confined to the task's scope, no unrelated changes, and a clean target before the human gate is bypassed. The policy is deterministic and lives in project config, never in the model. Rejected: model-decided merges.
  2. Superseded · ADR-006 to ADR-016 Identity went from deferred to enforced. The first decision shipped principals as typed data and built no authentication, accepting that anyone who could construct a Principal could act as one. Once the authorization model stabilized, the reversal made OIDC with MFA structural: a single guard in authorize() rejects unauthenticated principals. Rejected: the no-auth position, explicitly superseded.
  3. Rejected · 2026-11-15 Wait, do not host the music model. The hosted path looked better on quality, but the free plan emits no downloadable file and the terms take a training license over submitted lyrics. A local MIT model produced a 45-second track, a MIDI file, and four stems for $0 marginal cost. Rejected: the hosted plan, on license terms and missing output rights.

Pattern The accepted side is a deterministic gate. The rejected side is an unbounded external dependency. Same rule in orchestration, security, and music.

What is done

Six latest from the timeline

  1. 2026 · December aiSL (AI Security Layer) - public, v0.2.0. A capability-gated execution layer where the model cannot grant itself authority. Policy evaluation, taint tracking, egress DLP, and a signed hash-chained audit log, documented as 46 security claims, 46 ADRs, and 933 tests. The v0.2.0 release signs its manifest with Ed25519 and ML-DSA-87. Published to npm as @kcpatt27/aisl.
  2. 2026 · December This site - decision log. Added a selected-decisions section drawn from an append-only ADR log: a deterministic merge gate, a superseded identity decision, and a rejected hosted music model.
  3. 2026 · November eyewright - v0.4.1. A local-first decision core published to PyPI. On a 600-case frozen holdout, the calibrated triple reached 88.9% acted accuracy at 22.5% coverage.
  4. 2026 · November vkeys - public, v0.1.0. A Rust key store where named profiles inject credentials into a fixed command, with no command that prints a value. Tier 2 is a local OpenRouter broker behind a use-only token. 30 tests pass; the Windows SYSTEM and Linux ARM64 boundaries were both verified.
  5. 2026 · November Fixture - live. A local-first harness that drives FreeCAD and Blender through one schema-validated tool contract. Gate PASS at 140 pytest, FreeCAD 92/0, Blender 29/0; two scripted STEP/STL desk cases.
  6. 2026 · October This site - rebuilt around an evidence register. Rebuilt the portfolio around an evidence register: a multi-page static site with project facts and a timeline. A March GitHub Pages failure caused by committed symlinks had already been fixed by replacing them with real files.

From software that suggests to software that acts.

Read the direction