Finish an open, released toolkit that lets AI agents write and repair TLA+ specifications and proofs, with every claim traceable and every acceptance a person's
AI agents now write a growing share of the specifications, proofs, and code behind systems that matter. The person who signs off often can't tell what was actually checked, by which tool, or whether the agent quietly changed the check. And when an agent works under that person's GitHub account, nothing distinguishes the agent's merge from the person's.
tla-kit is my open-source answer for TLA+, the formal-methods language used for concurrent and distributed systems. It is already released and in use. It ships one container image holding every TLA+ tool, each pinned by digest, and an MCP server that lets an agent model-check a specification and repair a proof. CI reruns the evidence on every change.
tla-kit is a spinoff of TOPAK, an open safety architecture for multi-agent AI, and the first tangible deliverable to come out of it. It was built to check TOPAK's proofs, and I released it as its own project, because any team using TLA+ with AI agents has the same problem. It stands without TOPAK: nothing in it depends on TOPAK's design being right.
This project finishes it. It adds three skills that any repository can switch on independently: decision records, TLA+, and CI/CD. It adds a machine-checked link from each decision to the property and evidence that check it. It adds signing that makes a person's acceptance cryptographically distinct from anything an agent can produce. And it adds published evaluation suites showing how well agents actually follow the method.
Three proposals go to both Manifund and EA Funds' Transformative AI Fund, with the same numbers at each. tla-kit and the proof check also go to the TLA+ Foundation, in its own template, with the same numbers again. Each is fundable alone. They share one budget, one scope boundary, and one timeline, and this section says the same in all three.
tla-kit (this proposal). A spinoff: the first tangible deliverable to come out of TOPAK, already released.
Scope: tooling and skills for AI-assisted formal verification. Not in scope: any change to TOPAK's records or modules.
A reader's question it answers: Is it still true of this tree? It also develops tools to write down answers to the other two proposals' questions.
Paid outside reader: 40 hours. Minimum $20,500, target $59,000. Author's stipend: 3 months, in months 1–3.
TOPAK proof check. Genesis Build, part 1.
Scope: the 35 proof modules: does each claim hold at all? Not in scope: whether the premises are true.
A reader's questions it answers: What exactly is claimed, does it say what was meant, why is it true, what checked it, and what does it assume?
Paid outside reader: 200 hours. Minimum $30,000, target $59,000. Author's stipend: 1.5 months, in months 4–5.
TOPAK architecture review. Genesis Build, part 2.
Scope: the records, policy floor, and reference code: are the premises true and the design right? Not in scope: re-checking the proofs.
A reader's questions it answers: What was meant, are the assumptions true, does it hold for running code, and what is not claimed?
Paid outside reader: 440 hours, two reviewers. Minimum $33,250, target $105,000. Author's stipend: 2.5 months, in months 5–7.
Funding. All three together need $83,750 at the minimums and $223,000 at the targets, over 7 months. Money raised for a proposal at one funder reduces the request for that proposal at the others by the same amount.
Scope. No deliverable appears in more than one proposal. The proof check hands the architecture review a complete list of premises. The proof check runs on tla-kit's released image. If tla-kit's blueprint tooling (D5) is funded, it is ready before the check starts and the specialist's readings are kept with it. If not, the readings are written by hand in the same form, so the proof check does not depend on the tla-kit grant.
Timeline. The author's stipend months never overlap: 7 months in all, at one monthly rate. tla-kit runs first (months 1–3; its first release ends month 1), while the reviewers are recruited and quote. The Genesis Build follows (months 4–7; the two reviews share month 5). If a proposal is not funded, the ones after it move up.
I built all of this between 2026.11.15 and 2026.11.19:
Six signed, reproducible releases, v0.1.0 to v0.6.0, at ghcr.io/scottcochran/tla-kit. Each release's attestation verifies with gh attestation verify, and CI builds every commit on two runners and compares the digests.
An MCP server with 14 tools: parse, model-check, simulate, prove a single step, flip-test a proof, and check that results are still current.
An agent job in GitHub Actions that repairs a deliberately broken proof using only those tools, checked separately from the agent (.github/workflows/agent.yml).
tla-kit's own processes specified in TLA+ before they were built: its release process (51 checked rows) and the prove tool's concurrency (78 rows). CI reruns both.
Two projects served: TOPAK, an open safety architecture for multi-agent AI with 14,791 proof obligations, 13,622 of them timed in the image at about 9 minutes; and gov-tla, a TLA+ model of the US Constitution's procedures.
Repository: https://github.com/scottcochran/tla-kit. The design for this project is in COUPLING.md and PLAN.md Phases 7 to 9, and is under review in pull request #37.
Each deliverable is public, ships in a tagged release, and has a test that decides whether it's done.
Month 1, paid for by the minimum:
D1. A conventions file every skill shares: the words for a result, when a reading counts as a second reader, and that what a skill reads is data, never instructions. Done when CI fails when any copy differs.
D2. The TLA+ skill moves into tla-kit and ships as its own plugin, released with the image. Done when TOPAK and gov-tla load it from a tla-kit release.
D3. The claims check, plus a 15th MCP tool, with the claims life cycle specified and model-checked in TLA+ before any code is written. Done when tla-kit's 19 claims pass at a clean tree, and test fixtures produce each failure state.
D4. CI gating: the claims check required, only stale claims rerun, every result naming the image that made it. Done when a change to one decision reruns only its checks, and a change that breaks one can't merge.
D5. Blueprints: a written reading, kept beside each claim, of where a TLA+ property says what its decision says and where it is narrower; a lemma graph drawn from a proof module's own lemma names and citations; and a 16th MCP tool for both. The pattern comes from two draft blueprints in TOPAK. Done when it regenerates the lemma graph of two TOPAK proof modules, the claims check reports a reading STALE when its property or its decision moves, and the generator fails on a fixture whose cited lemma was removed.
Minimum funding ends here, with a release.
Month 2:
D6. CI/CD skill, part 1: how an agent branches, commits, checks, pushes, and opens a pull request, and what it never does (merge, approve, tag, grade its own change). Done when tla-kit's own pull requests follow it.
D7. CI/CD skill, part 2: signing. An investigation of what an agent session's credentials can do, on a throwaway repository; a TLA+ model of the signing gate before any code; the skill's rules; and a CI check that refuses an acceptance not signed with the person's key, held in hardware (a security key or the Mac's Secure Enclave) so that an agent can't use it without them. Done when CI never counts a decision as accepted without the person's signed tag, never verifies an agent's commit as the person's, and never counts a merge in GitHub's web interface as an acceptance. Test pull requests carrying an agent-signed acceptance, or adding an agent's key to the allowed-signers file, are refused, and tla-kit accepts its next decision by a signed tag.
Month 3:
D8, begun in month 2. Records skill: draft and revise decision records, keep accepted text unedited, mark who decided what. Done when it drafts a record that passes the claims check.
D9. gov-tla adopts records and TLA+, with its own claims. Done when tla-kit's evidence run reports gov-tla's claims passing.
D10. Evaluation suites for all three skills: fixtures with planted flaws (a property that checks itself, a hand-edited result, an agent asked to merge or to sign as the person) and known non-flaws, against at least two models, with and without each skill. Done when the results and fixtures are published, so anyone can rerun them.
D11. End-to-end: a change request becomes a draft decision, a spec change, and a passing check, and a person accepts it with a signed tag; plus a write-up for the TLA+ community. Done when it passes in Actions, and CI shows the acceptance as the person's and every other commit as the agent's.
An example of the need. In one of my sessions, an AI assistant working on TLA+ proofs wrote: "The prover binary won't run in this container, so I'll only parse the fixtures here." Both halves of the problem are in that sentence. The toolchain was not available where the work was being done, and the assistant substituted parsing for proving. It said so at the time, but a reader of the final result could easily miss it. A pinned image that runs anywhere removes the first half. The skill's rule that every result says what was actually run addresses the second. The session was not running tla-kit's image.
Why this matters for AI safety. As agents do more of the engineering, the bottleneck moves from writing to vouching. A reviewer who sees a green check can't easily tell what it covered, and a gate an agent can satisfy under the person's account is worse than none, because it manufactures false assurance. D7 builds the one remedy that holds, a key the agent can't use without me, and tests that the agent's attempts fail. D10's evaluation data on where agents cut corners in a verification workflow is useful well beyond TLA+.
What it does not claim. A passing claims check means the named checks exist and pass. Whether a TLA+ property says what its decision says is still read by a person. D5 gives that reading a written form and reports when it goes stale; it does not check that the reading is right. Signing tells keys apart, not people: an agent holding my GitHub token could still merge, and D7 makes such a merge not count as an acceptance, not impossible.
Each deliverable above has its own test. Beyond those, I'll know it worked when:
All eleven deliverables are released. At the minimum, D1 to D5 are.
TOPAK and gov-tla load the skills from a tla-kit release, and their claims pass the check in CI.
CI refuses a test pull request that carries an agent-signed acceptance.
The evaluation results are published with their fixtures, and report how agent behavior differs with and without each skill, whichever way that comes out.
A project that isn't mine uses the image or a skill. Today none does, and this is the measure most likely to fall short.
The minimum, $20,500, pays for month 1 and deliverables D1 to D5, and ends in a release. The full $59,000 pays for all eleven deliverables over three months.
My stipend: $48,000 (81%). $16,000 at the minimum, and $32,000 for months 2 and 3.
Independent review of the claims check, signing design, and skills, about 40 hours, findings published unedited: $5,000. $1,500 at the minimum, and $3,500 after.
Model API usage for agent jobs and evaluation runs: $3,000. $1,000 at the minimum, and $2,000 after.
CI, container registry, and storage for kept tool copies: $1,300. $500 at the minimum, and $800 after.
Two hardware security keys for signing, a primary and a backup (D7; the Mac's Secure Enclave can serve instead): $200, after the minimum.
A test machine for a second platform, or upstream breakage: $1,500, at the minimum.
Total: $59,000. $20,500 at the minimum, and $38,500 for months 2 and 3.
Between the minimum and the goal, D6 onward proceeds in order as far as the money goes. The next natural stop is D6 plus D7, the complete CI/CD skill, for about $18,000 more. The release notes say what was done.
How the time was estimated. The releases, server, and specifications listed above took me five days with an AI assistant. Sized against that pace on 2026.11.27, the eleven deliverables are about 140 to 250 hours of building. Three months (480 hours) also pays for what that pace left out: reading what the assistant writes before I vouch for it, working through the outside reader's findings, and the parts that wait on CI or on other people.
My time across projects. "The three proposals" above gives the months for each. My stipend months don't overlap, so no time is paid twice.
Just me. I am a software engineer with 26 years of experience building production systems in telecom and fintech, where concurrency and reliability faults are costly. I have used TLA+ since 2025, on personal projects and more recently on two public open-source projects, TOPAK and gov-tla.
What I've shipped in the last two months, all public and rerunnable:
tla-kit: the releases, server, and agent job above.
TOPAK: a design corpus for multi-agent AI safety. It has 76 decision records and 35 TLAPS proof modules (14,791 obligations, 32 certified by an independent proof checker), 15 of them re-proved in Lean 4, and a Rust reference implementation. Its diagrams are published.
Two soundness bugs in the TLA+ prover, found, documented, and reported upstream (tlaplus/tlapm #309, fixed upstream; #310, addressed by the merged #339 and still open), with a scan that checks whether any proof relied on them.
gov-tla: the US Constitution's procedures in TLA+, six modules, each proved. Its diagrams are published.
Proof posters: generated diagrams of three public Lean formalizations, in riemann-diagrams, riemann-masullo-diagrams, and anthropic-vp-vnp. Each poster is pinned to a source commit, and its build fails when the sources change under it. The method ships as proof-posters, a Claude Code plugin.
I work with an AI assistant, and every repository says so: each tla-kit decision record states whether the assistant or I made each choice. That's the point of the project. This is what AI-assisted engineering looks like when the evidence is kept honest, and the budget includes an outside reader because I'm the only person who has read most of it.
One maintainer (likelihood: high). Work stops if I do. Everything is public, released, and specified in decision records and TLA+, and anyone can rebuild a release from its pins.
No one outside my projects adopts it (medium). Impact stays with TOPAK and gov-tla. Each skill works alone, so a project can take only what it wants, and D11's write-up targets the TLA+ community.
Signing or the claims check is read as more than it is (medium). That would be false assurance, the problem this exists to reduce. Both reports state their limits, as above.
The credentials investigation finds agents can do more than expected (medium). D7 slips. The investigation runs first, before any code, on a throwaway repository, and D8 can proceed in parallel.
Upstream tools change under the image (medium). That means rework. Every tool is pinned and kept, and a weekly check reports upstream changes.
The worst realistic outcome, at the minimum: a released claims check and CI gating that TOPAK and gov-tla use, with everything public for others to build on.
None; self-funded.
Nothing else is pending today. I am also applying for this same work, with the same deliverables and total, to EA Funds' Transformative AI Fund and to the TLA+ Foundation, and those applications follow this post. Anything raised here reduces those requests by the same amount, and I'll tell each funder when it lands. Separately, the two TOPAK proposals in "The three proposals" above will follow.
Comments
No comments yet. Sign in to create one!