Kalen Patterson AI systems engineer

Curriculum vitae

Kalen Patterson

AI systems engineer

kcpatterson27@gmail.com · github.com/kcpatt27 · portfolio

Download PDF

Summary

AI systems engineer building AI systems end to end: local-first agent infrastructure, MCP tooling, and grounded LLM pipelines, alongside shipped full-stack products. Built Fixture, a local-first harness that drives FreeCAD and Blender through a schema-validated tool contract, and the AI Security Layer, a capability-gated agent runtime published to npm. Strong in TypeScript and Python, with a bias toward tests, evidence, and measurable results. Pursuing a B.S. in Computer Science at Western Governors University.

Skills

CAD and geometry
FreeCAD (Part/PartDesign), Blender (bpy), scripted and parametric CAD, STEP/STL, glTF, headless geometry evaluation
AI and models
PyTorch, Ollama, OpenRouter, local inference (ONNX), JSON Schema, tool calling, planner benchmarking, model calibration, evaluation and grounding, MCP
Languages
Python, Rust, TypeScript, JavaScript, Go, SQL
Backend and web
FastAPI, Node.js, React, Next.js, PostgreSQL, SQLite, LanceDB, Prisma, Supabase, Cloudflare Workers
Practices
pytest, Docker, GitHub Actions, PyPI packaging, CLI tooling, Git

Experience

Software Engineer, NextDish

2024–2026 · Private

Next.js, TypeScript, Supabase, Cloudflare, OpenRouter

  • Architected and solo-built a full-stack AI culinary platform: 131+ React components, ~40 API endpoints, a 20+ table schema, and 339 commits over 14 months.
  • Implemented hybrid AI generation: a client-side Llama 3.2 model (ONNX) for offline, zero-cost generation, plus an OpenRouter server tier with dynamic model discovery and automatic fallback.
  • Hardened the data layer by refactoring 50+ Supabase row-level-security policies across 20 tables and removing 12 unused indexes, clearing all performance-advisor warnings.

Selected projects

Fixture

Python, FastAPI, FreeCAD, Blender, Ollama - public

github.com/kcpatt27/fixture-cad | pypi.org/project/fixture-cad

  • Built a local-first harness that turns chat into programmatic CAD operations in FreeCAD and Blender through one JSON-schema tool contract: named tools only, confirm-before-mutate, undo-wrapped changes, and no model-written code execution.
  • Benchmarked 13+ local planners and 4 cloud models on a 60-case suite (96.7-98.3% vs 57.6-74.6% for the closest open-source assistant); gate PASS: pytest 140, FreeCAD 92/0, Blender 29/0.
  • Reproduced a 1.2M-parameter next-action policy (0.98 eval success, 0.9996 mean IoU) and built a goal compiler that reached IoU 1.0000 on real desk parts.
  • Built STEP/STL desk cases (4-piece laptop cradle, 2-piece under-desk shelf) and a Blender scan-cleanup tool that exports watertight STL; the keyboard case stays private.

AI Security Layer (aiSL)

TypeScript, Node, Postgres, Ed25519 - public
  • Built a capability-gated execution layer for AI agents where the model cannot grant itself authority: policy evaluation, taint tracking, egress DLP, and a signed hash-chained audit log.
  • Documented it as a spec: 46 security claims, 45 ADRs, 879 tests, and a 12-case adversarial corpus, with the gaps named in the README. Published to npm as @kcpatt27/aisl.

allSoft

Python, PX4 SITL, Gazebo, Docker, MAVSDK - archived
  • Built a YAML-driven simulation-in-the-loop harness: PX4 SITL + Gazebo in Docker, MAVSDK missions, JSON/SQLite artifacts for regression comparison, and a live/dry-run split; 4/4 reference scenarios pass live.

Living State Machine

Python, FastAPI, Ollama, LanceDB
  • Built a local-first LLM memory system with six ablatable memory mechanisms, reaching 1.000 vs 0.100 preference-recall accuracy at matched context budget; 240+ tests and a preprint in preparation.

Education

Western Governors University

B.S. Computer Science - Pursuing

Independent research

Living State Machine paper - preprint in preparation, 2026

Additional work

Also published eyewright (PyPI), a local decision engine that reached 88.9% acted accuracy at 22.5% coverage on a 600-case frozen holdout, and mcp-weight (npm), a CLI that measures MCP tool-schema context cost across six clients (over 1,000 downloads to date).

Maintains append-only ADR logs: 241 decisions across 19 projects, including policy-gated auto-merge, an identity reversal from deferred to OIDC/MFA, and a licensing-driven rejection of a hosted music model.