Your agent says it works. Apex proves it.

Apex Verify checks every function your coding agent writes against your docs, specs and tests. You get a machine-checked proof, or the exact input that breaks it. Never a guess.

AI review guesses. Tests sample. Apex proves.

Agents write code faster than anyone can read it. The usual checks weren’t built for that.

AI code review guesses.

It reads the code and gives an opinion. Generated code usually looks right, so an off-by-one slips straight through.

Tests sample.

They check the inputs someone thought of. Bugs live at the others: an empty list, a negative number, a boundary.

Your agent grades itself.

When the same model writes the code and the tests, they share the same mistake. “It works” is just more generated text.

Three verification engines. You don’t need to know any of them.

Apex reads the intent you’ve already written, turns it into formal statements, and sends each function to the engines that fit. Every failure is replayed on your real code before you see it, and every result says how strong it is: proof, evidence, or a failure you can reproduce.

What you already have

CodePython, JavaScript, TypeScript
IntentDocstrings, specs, tests
ApexTurns your intent into formal statements and routes each function
Lean 4Proves it for every input
FuzzingHunts for a failing input in your real code
TLA+Checks every thread interleaving
One reportA proof, or the input that breaks it
TerminalCoding agentCI

Runs where your agent already works.

One command adds the Apex skill and MCP server to your coding agent. Then ask it, in your own words, to verify a function. It runs Apex, reads each counterexample and fixes the code until it passes.

Terminal
apex skill install --with-mcp
  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • VS Code (Copilot)

Built so that AI can’t fake a result.

The work is split into three roles, and no single role controls the verdict.

Propose

AI model or agentUntrusted

Approve

Person at a terminalHuman

Decide

Lean 4 kernelTLCYour real code
Verdict

The model never has a direct path to the verdict.

Questions developers ask first.

Terminal
git clone https://github.com/hyperionaidev/apex && cd apex
uv build && uv tool install dist/apex_verify-*.whl
apex init                        # one-time: Lean toolchain and Mathlib cache
apex doctor                      # checks the installation
apex skill install --with-mcp    # optional: add Apex to your coding agent

Apex isn’t on PyPI yet, so you build it from source. The first apex init downloads several gigabytes, once, shared by all your projects.

Using agents across a team?