A practical series on pair programming with AI. A person sets the direction, AI helps shape the code, and software checks the behavior. The results come back to the person for the next decision.
Created and directed by Ken Bingham. Natasha and William narrate; their robot characters appear briefly as on-screen graphics.
I build AI agents, tool servers and evaluation systems, drawing on more than fifteen years in enterprise Java and Spring Boot. I write the directives, make the design decisions, and use test evidence to decide what is ready to ship.
Human developer → AI → software. I use written directives to define the goal, constraints, acceptance criteria and decisions the AI must bring back to me. Test results flow back through all three.
Human developer
I conceive or adapt the product, set its rules, and make the trade-offs. I test the assumptions, play the builds, review the evidence and decide what ships.
AI assistant
AI implements bounded tasks, exposes ambiguity and drafts tests from the acceptance criteria. I direct the revisions. AI reports what it checked and where it needs a decision.
Software
Compilers, test runners, browsers and instrumented services execute the checks. Repeatable assertions and observable failures show what actually happened.
Play the portfolio
I conceived or adapted and directed these games. AI assisted with the implementation and production. I’m sharing them free for now so employers and other developers can try the work, read the rules and see the decisions behind it.
Breakout 3D
I refined the paddle response, added a visible floor shadow to help read the ball's height, and made collisions between rival paddles part of play.
A walkable 3D gallery and cinema. I chose how visitors see the work, gave direction on the space and presentation, and documented how the images were made.
When observations have structure, store a generator and the differences between its output and the original. Rebuild on demand and compare the decoded bytes to the source with SHA-256.
Pattern
Identify structure in the data, such as a smooth geometric field.
Rules
Store the generator and its parameters. Use them to predict the data when it is needed.
Residual
Store exact corrections for what the rule misses. Rule output plus residual reconstructs the original.
Lossless reconstruction on 65,536-byte test fields
Workload
Best tested baseline
Rule and residual
Saddle field
2,476 bytes
44 bytes
Schwarz D slice
10,568 bytes
53 bytes
Saddle with an unmodeled ripple
2,618 bytes
178 bytes
Random data
65,540 bytes
65,571 bytes
These are constructed test fields with rules selected by hand. The ripple case was 14.7× smaller than its best tested baseline. Random data was slightly larger, and PNG led on the photographs tested.
Four things I can bring to a team that is putting AI to work. Each one links to working proof you can open.
AI you can trust
Evaluation that catches wrong answers before your users do: difficulty-certification harnesses and a 104-rule pre-submit gate for AI coding agents, and retrieval that cites its source or says it does not know. See citeline
AI that costs less
Token cost grows when an agent is handed everything, every time. I design context and tool use so an agent pulls only what a question needs: 7 to 34 times fewer tokens on everyday sessions, measured. See kravitz-mind
AI that ships safely
Agents connected to real systems through audited, read-only tool servers, released through test gates and versioned releases with one-command rollback. The same discipline as two years of zero rollbacks under DoD change control. See mcp-gateway
AI explained plainly
An agent is only useful if the people around it understand it. Eighteen years helping customers at Delta and a video series on AI taught me to explain non-deterministic technology without hype. Watch the series
15+years building software, from startups' first prototype to systems under DoD change control
7–34×fewer tokens on everyday AI sessions with kravitz-mind, measured on 116 real notes
0/5pass rate of a frontier coding agent on the benchmark tasks I author, at maximum reasoning effort
1,129automated checks behind Chomp 3D, a complete game directed solo with AI agents
Featured: QA in a box, built with AI in about two hours
TestThisPuppy tests a running Spring Boot app and its real PostgreSQL database: the API, every form, wrong input, SQL injection, race conditions and recorded workflows, then restores the database exactly. The first working version took 36 minutes; the full version about two hours, measured from the file system and git history. It found four real bugs on its first run. The case study shows every prompt I gave, in order, and the AI and tools used.
I conceived or adapted these projects, wrote the directives, and directed the work as AI assisted. The case studies show how I used test results to decide what worked and what needed another pass.
Featured · Testing · Java 21 · Spring Boot · PostgreSQL · Selenium
QA in a box that found four real bugs on its first run
The problem
Tests that mock the database test the mock. Tests on a shared database leave rows behind. Neither shows whether the real app survives wrong or hostile input.
What I built
TestThisPuppy: one command tests the network path, the API, every form, wrong input, SQL injection, race conditions and recorded workflows on a real database, then restores it exactly.
The proof
It found four server bugs the browser had been hiding, now fixed and pinned by regression tests. 143 of 143 checks in one run, 54 unit and error-path tests, and zero rows left behind.
Featured · AI-assisted development · deterministic verification · Python, multi-language · new
Let software check the AI, not another AI
The problem
You cannot trust AI code on sight. Pointing another AI at it adds cost and another guess; reading it yourself does not scale and misses the edge case that ships the bug.
What I built
Three Pillars: a gate where the human directs and signs, the AI writes, and deterministic software proves it. Tests, tests of the tests, style, modularity, bloat and security, reported with color-coded severity. No AI reviewing AI, zero tokens for the checks.
The proof
On a real Java project it caught 41 of 41 planted bugs for zero tokens, where one AI-review pass spent about 1,500 and proved nothing. Same verdict every run, on AI-written or human-written code.
AI reliability · a small language · Python · local models · new
Rules a person can read, in place of the AI that checks the AI
The problem
Agent pipelines have a model check the model's answer. The checker sounds the same right or wrong, costs as much as the answer, and hands over the last try as if it were checked.
What I built
Relation Gate: a language where every line is a relation, logic is arithmetic over 0 and 1, and a failed check is "no answer", never a guess. A page of rules replaces the second model call; a browser demo runs it with nothing sent anywhere.
The proof
On a 3B local model, held-out tasks, bars written first: wrong answers 68 to 4 percent at 4.5 times fewer tokens per correct answer. On a 7B model the wrong-answer cut held and the token bar was not met; both are on the page.
AI assistants load their whole memory into every session, whatever the question, and save whatever they are told, sourced or not. That is slow, expensive, and how made-up "facts" creep in.
What I built
kravitz-mind, an MCP memory server with five tools. Recall returns one line per match, full notes open only when needed, and a deterministic gate marks anything unsourced as unverified and refuses duplicates.
The proof
On 116 real notes and 30 everyday questions, the right note was in the top three every time, and short sessions used 7 to 34 times fewer tokens. Long sessions that open many notes cost more, and the README says so.
A retrieval system that always answers is worse than useless in regulated work, because the confident wrong answer looks the same as the right one.
What I built
A question-answering service over US drinking water regulations (40 CFR Part 141). Hybrid search, a gate that declines when the text does not support an answer, and a rule enforced in code: a citation to a passage that was never retrieved is rejected. Runs on local models.
The proof
31 unit tests, and an evaluation set of 28 cases, 8 of them deliberately out of scope to measure whether it stays quiet. 185 documents and 908 chunks indexed.
Connecting a language model to internal data takes an afternoon. Answering the security review afterwards is the hard part.
What I built
An audited MCP server in Python and FastAPI: a closed list of read-only tools, every argument validated against a schema, every call logged including the ones it refused, and errors that cannot leak.
The proof
29 tests with lint and type checks, all passing. One test raises an error containing a database password and proves it never reaches the model.
The usual fix for unreliable AI answers is to ask the same model again and take the majority. Whether that catches the wrong answers is rarely measured.
What I built
A reliability engine that makes every answer quote its source, takes second opinions from different model families, and hands disagreements to a person.
The proof
On 300 public SQuAD 2.0 questions, one model asked five times cut wrong answers from 10.0% to 9.7%. Two model families cut them to 2.7%, at half the cost. Pass marks set before the run; one of three passed, and the page shows why.
"It seems to work" is not evidence that a language model is reliable.
What I built
Adversarial benchmarks and evaluation harnesses that score tool use and step-by-step behavior against a written rubric, sampled many times over.
The result
Recommendations to scale, iterate or stop, each backed by measurements instead of impressions.
Game · three.js · live and free to play
A whole 3D game, directed by me, written with AI
The problem
Can one person direct an AI through something large, with parts that must keep working together, and ship it finished and tested?
What I built
Chomp 3D: Wally's Cairns Adventure. Seven levels across real Far North Queensland, a story, points and leaderboards, on phones and computers. My design and decisions; the AI wrote the code under my rules.
The proof
1,022 unit checks and 107 browser checks, the browser suite run against the live site too. Fifteen versioned beta releases with one-command rollback, changes made from tester feedback, and VR headset play.
In online games, turns sometimes skipped or doubled. It looked like a network fault.
What I found
It was a question of who owns the turn, not the network. One player's game now decides every turn and tells the others, and bots at three difficulties play the board position.
The proof
A headless test runs two players' games side by side and reproduced the fault before the fix. The public version offers bot matches and shareable friend tables.
Product · no AI · runs in your browser · live and free to use
AI-style tools that measure instead of guess
The problem
Sorting out a bank statement, polishing an AI draft or questioning a document now usually means uploading it, and getting an answer that can change from one try to the next.
What I built
Thirteen tools that do that work by rule, in the visitor's own browser. It reads the PDF statement your bank gives you, makes AI-written text read naturally without changing a fact, and cleans photos with pixel-identical proof.
The proof
The statement reader's totals match the bank's own to the cent, tested on a real statement. 95 hostile edge cases and 6,000 randomized texts, with no number, name or quotation changed. Zero data sent while the tools run.
A saving and what it costs are recorded in different places, so nobody adds them up.
What I built
Free calculators that put the two side by side for purchases, jobs, repairs, business cuts and hiring steps. Every formula is published. Nothing typed leaves the browser.
The proof
16 test suites and 830 checks, with sums worked by hand in the tests. Every page and link checked on every build.
Video studio · JavaScript · Electron · local AI · watch the demo
A podcast studio with no post-production
The problem
Video podcasts are recorded first and dressed afterwards: hours of finding the moment and dropping in each chart and caption, while the host reads notes off to the side.
What I built
A studio where the visuals are written into the script and appear on the exact word, while the teleprompter keeps that word under the camera. A local AI can write the script.
The proof
A 75-second episode the studio made with no host and no editing: all 41 cues landed on their words. Full guide, cue reference and the demo pipeline are open source.
3D science model · three.js · live, runs in your browser
The solar system, checked against NASA
The problem
I had an idea that the field around the Sun might be shaped like a snail shell. An idea about the solar system is only worth something if it survives the real planets.
What I built
Fabric of Space: every planet on its real orbit at its real speed, the Sun's field from Newton's law drawn as a sheet, Earth's seasons, and each planet's coil through the galaxy.
The proof
64 browser checks pass. The seasons land on the real dates without being entered, and every planet matches NASA JPL within 0.25 degrees. The snail-shell idea did not hold, and the page says so.
Prototype · Python · file explorer for every source
One explorer for local files, APIs, databases and the cloud
The problem
What you need is scattered across disks, databases, APIs and cloud accounts, each with its own tool and its own search.
What I built
Universal Drive mounts every source as a drive letter and browses them the same way, with search routed across sources and a registry of 104 provider connectors.
Honest status
A working prototype. Local browsing, the HTTP API and live connection tests work. Search scans names and paths (there is no index yet), and connected services such as Gmail show sample data, not real mail.
3D on the web · three.js
A gallery you walk through
The problem
A page of thumbnails does not feel like standing in front of a painting.
What I built
Rooms to walk through, every picture framed and lit, visitors and sound, and a cinema with an audience where the paintings move. Drawn entirely in code, with no 3D model files.
The proof
59 works catalogued (38 paintings, 21 digital), with a build that refuses duplicate pictures. Shaped by 67 messages of direction in its first three days, and a page that says who did what.
Most people either fear AI or expect too much of it, and neither helps them use it well.
What I made
A series of standalone videos, from "What is AI?" to advanced topics, each one topic in depth with concrete examples, including how to spot and reduce made-up answers.
Why it matters
Explaining AI plainly to non-technical people, without overselling it, is half of getting a team to use it well.
High volumes of healthcare claims, handled by hand, under strict privacy rules.
What I built
.NET 6 services and HL7 and FHIR data pipelines, with Python automation that removed manual processing cycles.
How
Working directly with clinical, operations and data teams to agree the rules before writing the code.
U.S. Air Force, Hill AFB · defense
Modernizing systems that cannot fail
The problem
Aging hazardous-waste and asset-tracking systems, in an environment where every change is controlled.
What I built
Replacements in Java, Spring Boot and Hibernate, with C#, .NET and SQL Server, prototyped with the people who use them and released with zero rollbacks.
Context
Delivered under DoD change control while holding a Secret clearance.
Five rules the AI works under
An AI will happily produce something that looks finished. These are the standing rules I give it so that what comes back is actually finished, and so I can tell the difference.
Direction, not commands
I say what it is for and who will use it. A command gets carried out the same way whatever the situation. Direction makes the AI use judgment, and lets me see where its judgment is off.
Nothing is true until it runs
No "this should work". It runs the code, shows me the output, and tells me separately what it ran and what is still mine to run.
Tests that try to break it
Every sum gets a case worked by hand, the edges get tried, and a tipping point is checked by feeding it back in.
Say what kind of claim it is
Measured, established, an interpretation, or not claimed. A confident guess is a defect, and the AI is told to stop at the edge of what it knows.
No yes-man
If I am wrong, it says so and shows why. Agreement without checking is how projects go in circles.
A long-running research interest, kept separate from the work above. Every claim is measured against the best existing method, and the limits are stated on each page.
The person stays in charge. Software can recommend. A named human decides. I build that into the tools and I work that way with the AI.
A tool should leave its user more capable. The calculators above ask for your own numbers and show their working, so you can disagree with them. That is on purpose.
Credit is stated exactly. I conceive, direct and decide. The AI writes and tests. It does not originate the ideas, and I do not pretend I typed every line.