
Turn Foundry-style tests into symbolic tests that check a Solidity contract for all inputs, not random ones.
Halmos is a symbolic testing tool for EVM smart contracts. Solidity developers write tests that look like Foundry fuzz tests, run halmos in the project, and Halmos checks the assertions over every possible input value rather than a random sample, which brings formal verification close to the tests a team already writes.
Where a fuzzer picks concrete values, Halmos creates symbols: a value from svm.createUint256() represents the whole range 0 to 2^256 - 1. You set up contracts in setUp() (optionally with symbolic constructor arguments) using the Halmos cheatcodes library, and Halmos executes the code symbolically, using solvers to find inputs that break an assertion. A Solidity/Foundry frontend is the default, with Vyper and Huff support planned.
It is for smart contract developers and auditors who already use Foundry and want stronger guarantees than fuzzing without learning a separate specification language.
Install with uv tool install halmos, pip install halmos, or the Docker image ghcr.io/a16z/halmos (bundles Foundry and solvers). It is AGPL-3.0 licensed and, per its disclaimer, unaudited. Start with the getting-started guide and the examples directory.
Key features
Halmos is a Security project. Turn Foundry-style tests into symbolic tests that check a Solidity contract for all inputs, not random ones.
Halmos is built by a16z. The product is at the mainnet stage.
Halmos is connected to Ethereum Foundation on Dapping. Its categories are solidity, security and foundry.
Halmos has no builder reviews on Dapping yet, so it carries no rating. Reviews are written by individual builders, and moderated or removed reviews are excluded from the rating.
Halmos is not currently marked verified on Dapping. Any token or contract details shown for Halmos are inspection context only. Verification is an identity signal, not an audit, an endorsement, or investment advice. Check official links, contract addresses, permissions and audits independently before interacting.