Skip to main content

exactor-cli

Boolean logic minimization for the real world — XOR-native, verifiable, one command.

exactor-cli is the official Python client for the Exactor Cloud Engine: the only optimizer that returns the minimal Boolean function itself in canonical ESOP/XOR form — not just a smaller circuit. Built for the workloads where structure matters: ZK proofs, FHE, MPC, ACL/rule matrices, and hardware flows.

pip install exactor-cli

Why Exactor

Typical EDA tools Exactor
Output A circuit (AIG/XAG netlist) The minimal Boolean function (canonical ESOP, XOR factors intact)
Native formats BLIF/AIGER BLIF · AIGER .aag · bench · PLA · exactor-netlist-v1 — in and out
ZK/FHE/MPC bolt-on scripts first-class emitters: Bristol, Circom, testbench + certificate
Sequential full flows FSM state minimization + reachability (fsm_minimize, fsm_init)
Verification separate tool per-result verification + formal equivalence via Yosys plugin
Price free but DIY light jobs free (0 SU) — pay only for heavy synthesis

Works wherever Python 3.8+ runs — stdlib only, zero dependencies.


Quickstart — first simplification in 2 minutes

# 1. Get a free API key at https://exactor.tech (Console → API Keys)

# 2. Login
exactor login --token ek_YOUR_KEY

# 3. Minimize
exactor minimize circuit.pla -o out.v
  EXACTOR CLOUD // SYNTHESIS COMPLETE (FORMALLY VERIFIED)
  Solver Latency:  16 ms
  Result Equation: !(c ^ b) & !a + (d ^ c) & !a

No install at all? The API is plain HTTPS:

curl -X POST https://exactor.tech/api/simplify \
  -H "Authorization: Bearer ek_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"variables":["a","b","c","d"],"minterms":[0,1,2,5,6,7],"emit":["verilog"]}'

As a library

from exactor import ExactorClient, ExactorError

client = ExactorClient(token="ek_...")          # or EXACTOR_TOKEN env

# Boolean function by minterms
res = client.simplify(variables=["a","b","c","d"],
                      minterms=[0,1,2,5,6,7],
                      emit=["verilog","metrics"])
print(res["result"], res["su_used"])

# Structural netlist — accepts BLIF, .aag, .bench or exactor-netlist-v1 JSON
res = client.simplify_netlist(open("circuit.blif").read(),
                              fsm_minimize=True, fsm_init="0")

# Free dry-run analysis (0 SU)
print(client.analyze(["a","b","c"], [0,1,5,7]))

ExactorError exposes .status, .is_quota (402), .is_rate_limited (429).


What you can throw at it

  • .pla — Espresso standard
  • .json — {variables, minterms, dont_cares}
  • .blif — ABC/Yosys write_blif output, straight in
  • .aag — ASCII AIGER (Simplifier/SAT-sweeping tools)
  • .bench — ISCAS bench (Simplifier native)
  • exactor-netlist-v1 — structural DAG from the yosys-exactor plugin, including sequential flop/latch cuts

Outputs: Verilog, VHDL, BLIF, xespresso ESOP, Bristol (ZK), Circom (ZK), self-checking testbench + equivalence certificate, Yosys script.


CLI reference

exactor login --token ek_...            # store credentials
exactor whoami / balance                # plan + SU balance
exactor minimize in.pla -o out.v        # sync simplify (.pla/.json/.blif/.aag/.bench)
exactor minimize big.pla --async --wait # distributed job for large inputs
exactor minimize net.json --fsm-minimize --fsm-init 0
exactor status <job_id>                 # async job polling

Engine knobs: --max-sim-vars, --esop-budget, --no-fhe-cost-aware, --simplifier-prepass / --no-simplifier-prepass, --blind (π/σ anonymized submission).


Billing — light jobs are free

Jobs within the FREE envelope (≤32 vars / ≤2K minterms; netlists ≤32 in / ≤5K gates) cost 0 SU on every plan — rate-limited, not metered. SU are only consumed by heavy synthesis (33–128 vars, large netlists, FSM minimization at scale). See credits-and-billing for the full model.



Proprietary client for the Exactor Cloud Engine. Python 3.8+, stdlib only.

Metadata

Release files for exactor-cli 1.29.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exactor-cli 1.29.0
File Size Uploaded Provenance Actions
exactor_cli-1.29.0.tar.gz 19.6 kB Without provenance Details for exactor_cli-1.29.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for exactor-cli 1.29.0
File Interpreter ABI Platform Actions
exactor_cli-1.29.0-py3-none-any.whl Python 3 none any Details for exactor_cli-1.29.0-py3-none-any.whl

Total release size: 35.3 kB

Release files / exactor_cli-1.29.0.tar.gz

Download URL exactor_cli-1.29.0.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a6d6e1cf590b201aa3bffb067427dbc897bb165fe280a480f3ca8eb95959c6a8
BLAKE2b-256 checksum
How to use checksums
f6745fd1afb5ea5220640121dc20e4240778a8730296c9bb42ab9bb9f66214b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / exactor_cli-1.29.0-py3-none-any.whl

Download URL exactor_cli-1.29.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
231625e7168c8e9a768067b966e39b9977b4ba6d80f3503448c7ee81235ec659
BLAKE2b-256 checksum
How to use checksums
1afc326f7146e7f541595ae1ea21f1529ad4f2ea4988bfb91a739dd395deb58a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for exactor-cli 1.29.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page