Get started

Install complier and check it works. About five minutes, most of it getting FDR.

Your agent's harness

complier plugs into the program your agent runs in. Pick yours.

  1. Check what you need

    A Mac or a Linux computer (x86_64), Claude Code, and Java 11 or later, which runs complier's CEL verifier. Both of these should print a version:

    Terminal
    java -version
    claude --version
  2. Get FDR and its licence

    FDR proves your contracts and compiles them into the state machine complier runs. It isn't part of complier: you download your own copy from its makers, and it needs its own licence.

    Licence. FDR is free for academic work and for personal research. Any other use, including work for a company or for clients, needs a commercial licence from its makers. Read FDR's licensing terms before you use it.

    1. Download FDR 4 from cocotec.io/fdr.
    2. macOS: move FDR4.app to /Applications and open it once. It asks which licence applies to you and stores it. On Apple silicon, macOS will offer to install Rosetta.
    3. Linux: unpack it, set FDR_HOME to the folder, and run refines once to get the licence.
  3. Install complier

    This downloads the build for your computer into ~/.complier. There's nothing to compile:

    Terminal
    curl -fsSL https://raw.githubusercontent.com/kavishsathia/complier/main/install.sh | sh

    It also puts complier on your PATH, in your shell's startup file. Open a new terminal so it takes effect. Running it again updates complier to the latest release.

  4. Check it works

    Terminal
    complier doctor

    It checks Java and the CEL verifier, has FDR prove a tiny contract, and finds the Claude Code plugin. Every line should have a ✓, ending with ready. A ✗ says what's missing.

  5. Run something

    • A short run: an agent adds to a page and commits, and complier only lets the commit through if the page's check passed after the last edit. A few minutes, no accounts needed.
    • A long run: an agent works in rounds for half an hour, with the browser, GitHub and CI.