Tom Heffernan
Control of AI through guarantees, not review.
M.S. in Artificial Intelligence, Worcester Polytechnic Institute, May 2027 · heffnt@gmail.com
The problem, and how I ran into it
I never liked writing code by hand, but I loved thinking about systems and building things. When ChatGPT came out I switched almost at once to having AI write my code, and as the tools improved I moved to Cursor, then to Claude Code and Codex, and finally built my own environment, Jarvis, where AI agents write all of my software.
That is where I ran into the problem I now work on. My agents write code far faster than I can read it, so I stopped reading it line by line, but I still needed to know the work was right, and I found I could not rely on the agents to tell me. An agent would report a feature removed while the old code was still running. A fix for one bug would quietly cause two more. An agent asked to review another agent's work would give a different verdict each time. An agent's explanation of why it did something did not always match what had actually driven it.
These are small, everyday versions of the central problem in controlling AI that is more capable than we are. As AI systems surpass the people overseeing them, the usual safeguards fail:
- Review stops scaling. No person can check every step of a system that works faster and knows more than they do.
- Self-reports cannot be trusted. A system's account of what it did, or why, may not match what it did.
- AI monitors inherit the problem. Using one AI to watch another moves the question of trust up one level.
- Intent gets lost. What a person meant is easily misread, and a capable system faithfully pursuing a misreading is the most dangerous outcome of all.
I care about this because I live it every day at small scale. If my only safeguards were reading every line and trusting my agents' word, I would have to give up most of what they can do for me. The same choice at the scale of superintelligence is far worse.
The end state I'm building toward
Control has to come from programs: checks fixed ahead of time that hold whatever the AI does. In the system I am building toward:
- Intent is captured exactly. A person states what they want in plain language. The system keeps their exact words, and every requirement it derives is traced to them. A second agent that sees only those words derives the requirements independently, and any disagreement goes back to the person. I call this part the intent engine.
- A program decides what takes effect, never an agent's say-so. The riskier the change, the stronger the check it must pass, up to machine-checked proofs.
- The code gets better with every change. Quality means two things: how much time and compute the next change costs, and whether the code does what the person intended. Every accepted change is meant to leave both no worse, measured by counts a program keeps. I call the procedures that do this Goodify.
- The person's job is intent and understanding. They state what they want and understand what is guaranteed, without reading every line.
Each guarantee is a property specified in advance, holds under assumptions that are stated openly (for example, that an agent's written reasoning reflects what it actually did), and is enforced by a program whose behaviour can be analyzed before it runs.
Jarvis is my attempt to build this, with myself as the first person whose intent it serves.
Where Jarvis stands today
Jarvis is a work in progress. It has run on one server since February 2026, and agents write all of its code.
- Running: a program, not an agent, decides whether each change lands. Its decision logic was rebuilt from stated requirements and checked exhaustively at small sizes.
- Not yet: machine-checked proofs running live, quality counts enforced on every change, the intent engine's independent reading of my words, and an open-source release of Goodify.
How I work
I design and specify, and agents implement. Before anything is built, I explain and shape the design. When something breaks, I fix what allowed it, so the whole class of failure cannot recur. I measure before deciding and change one thing at a time. I keep simplifying, merging what is duplicated while keeping the intent behind it.
Skills
- Building with AI agents: designing systems of many agents (roles, ownership, which model does what, how long each agent lives); specifications agents can follow unambiguously; deterministic checks that agent-written code must pass; context engineering. Claude Code, Codex.
- Machine learning: how transformers work, component by component; fine-tuning (supervised and reinforcement learning) and evaluating language models on GPU clusters; designing experiments with matched controls; mechanistic interpretability. PyTorch, Hugging Face, Slurm.
- Programming: Python; Java and C++ coursework.
Portfolio
- THMM: a CPU and its compiler · simulator · code. A 16-bit CPU I designed, with its own instruction set, a simulator, and a compiler from a small C-like language. The demo runs linear regression on the CPU.
- Transformer viewer · open. An interactive view of a transformer's layers, on placeholder data.
- Point cloud viewer · open. An interactive viewer for 3D LiDAR scans.
- Perfume brewer · open. A multiplayer game for my Dungeons & Dragons group: players join and brew magical perfumes from a crafting system our DM designed.
- Arc lights · open. A web control for the LED light ring in my room; guests change its pattern and brightness from their phones, and I can pause guest control.
- Boolean backdoors in language models (WPI, 2024–2026). A study of backdoors whose trigger is a logical combination of words, and how that complexity defeats published detection methods; I directed the building of a framework that reimplements about 38 published methods on one testbed.
- "What are the Biases in My Word Embedding?" AAAI/ACM Conference on AI, Ethics, and Society (AIES), 2019, from my research internship at Microsoft Research with Adam Kalai.
Education
- M.S. in Artificial Intelligence, Worcester Polytechnic Institute, expected May 2027
- B.A. in Computer Science, Colorado College, 2024