Notes from building deterministic tools for AI agents.
Write-ups on real failure modes I hit while working with coding agents, the local tools I built to fix them, what broke in testing, and the trade-offs I chose not to make.
Your Coding Agent Cited Line 48 Without Ever Opening the File
Why I built a deterministic transcript verifier that checks file citations, quoted code, and 'no other callers' claims in under a millisecond without calling another model.
Context Compaction Keeps Erasing Your Rules Right When Precision Matters
How compact-ledger captures verbatim user constraints, mid-session overrides, and failing test trajectories before compaction and re-injects them in about 50 milliseconds.
Stopping AI Agents from Double-Posting When Tools Time Out
Putting a local SQLite write-ahead journal, deterministic preflight rules, and read-only crash reconciliation in front of mutating MCP and CLI calls.
Giving AI Agents Safe Access to Discord Without MCP Schema Bloat
Why I built a REST-first Discord CLI with 89 commands, operator policy ceilings, offline dry-run confirmation tokens, and random-nonce prompt-injection boundaries.
Start a conversation
Let's build reliable systems together.
Engineering leadership
Hiring for platform, cloud, or AI infrastructure?
Connect on LinkedIn for senior software, platform, Kubernetes, or AI infrastructure engineering roles.
Project delivery & open source
Review code, architectures, and shipped tools.
Inspect public repositories, Terraform modules, MCP servers, and CLI packages directly on GitHub.