> ## Documentation Index
> Fetch the complete documentation index at: https://circuitcheck.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Install

> circuitcheck is light by default. Add circuit-tracer for real models and a provider SDK for labels.

circuitcheck needs Python 3.11 or newer. The base install pulls in only numpy, pydantic and typer.

> [!NOTE]
>
> circuitcheck is on PyPI: [pypi.org/project/circuitcheck](https://pypi.org/project/circuitcheck/).

> [tab] pip
>
> ```bash install theme={null}
> pip install circuitcheck
> ```

> [tab] uv
>
> ```bash install theme={null}
> uv pip install circuitcheck
> ```

> [tab] From a clone
>
> ```bash install theme={null}
> git clone https://github.com/albertlieyingadrian/circuitcheck && cd circuitcheck
> pip install -e .
> ```

## Optional extras

```bash Real models install theme={null}
# circuit-tracer is not on PyPI; install it from GitHub (it brings torch and TransformerLens)
pip install "git+https://github.com/decoderesearch/circuit-tracer"
```

```bash Claude labels install theme={null}
pip install "circuitcheck[anthropic]"
export ANTHROPIC_API_KEY=...   # read by the Anthropic SDK; circuitcheck never prints it
```

```bash OpenAI labels install theme={null}
pip install "circuitcheck[openai]"
export OPENAI_API_KEY=...
```

```bash Neurons install theme={null}
# raw MLP neurons, no transcoders (circuitcheck.neurons): neuronkit, torch and transformers
pip install "git+https://github.com/albertlieyingadrian/neuronkit"   # until neuronkit is on PyPI
pip install "circuitcheck[neurons]"
```

## Check it works

```bash theme={null}
circuitcheck version
circuitcheck validate --demo
```

You should see six groups with their verdicts: one `switch` group of all five features, one `switch`, two
`readout`s and two `backup`s.

> [!TIP]
>
> The example data (graphs, cached label replies, notebooks) lives in `examples/` in the
> repo, not in the wheel. Clone the repo to run the quickstart's diff and labels steps.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.