Quickstart
Your own machine, from the signed release, in four commands. All you need is Python 3.9 or later.
1. Check the release is genuine
Take the publisher's ZID from a channel other than the files, such as the publisher's website. Then check every signature against it:
python3 tools/zeq_seal.py verify zeq.py plugins/*/*.py --issuer ZEQ7… # exits 0 only if every file is the publisher's
A file signed by anyone else, including the published stand-in signer whose seed ships inside zeq.py for tests, is refused.
2. Let it prove itself
python3 zeq.py
It computes every claim it makes about its own methods: the kernel and every module in plugins/. When all hold it writes zeq.boot.json, and later commands boot from that in a second or two. A changed byte in any file makes it prove again.
3. Give it a genesis
python3 zeq.py --genesis
- The PIN. It asks for a PIN twice: 8 characters or more, not digits alone.
- The equation. It makes your machine's equation and shows it once. Write it down: the equation, or the capsule
machine.zeqtogether with its PIN, is the machine. Nobody else can reissue it. - The files. The folder now holds:
machine.json, its public record with its ZID;machine.title.json, the certificate of its birth;machine.zeq, the capsule;machine.owner.key, the owner's API key, readable by you alone.
4. Ask it something
python3 zeq.py --ask "r_s ? r_s = 2*G*m/c^2 | m = 1.98841e30 kg"
r_s = 2953.25026814 m
verified, residual 0 in the float and 0 in exact arithmetic, bound 0.001
steps FORM -> BIND -> COMPUTE -> MEASURE -> SEAL
sealed by ZEQ7… at its Zeqond 2, ZeqProof …, signed into its log
Add --json for the whole sealed record.
Serve it
| Command | What it does |
|---|---|
python3 zeq.py --launch human | creates the machine the first time, then serves it on 127.0.0.1:8777 |
python3 zeq.py --launch agent 8801 | unattended; the PIN comes from the file ZEQ_PIN_FILE names (mode 600) |
python3 zeq.py --console | the console in your browser, on a one-time token good for 60 s |
python3 zeq.py --mcp | the machine as an MCP server on stdio, for a local AI client |
Then call it over HTTP with Authorization: Bearer $(cat machine.owner.key).
More to try
python3 zeq.py --tour # one equation per domain, then composed, each sealed by your machine
python3 zeq.py --catalogue # what this machine computes, counted from its registries
python3 zeq.py --find kepler # identities on the shelf for a word
python3 zeq.py --help # the grammar and every command