---
title: Reference
description: >-
  Every option, helper, CLI command and flag, exit code and file format in
  reeval.
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reeval.ai/llms.txt
> Use this file to discover all available pages before exploring further.

The full detail on every reeval feature, one topic per page. Parts of it (the CLI help, the `reeval query` views, the option keys, exit codes and the record's fields) are generated from the code, so they match the version you run.

```ts
import { defineConfig, evaluate, expect, group } from '{{ pkg }}'
import { cursor } from '{{ pkg }}/harness'
import { docker } from '{{ pkg }}/sandbox'
```

## Exports

| Import | What it exports |
|---|---|
| `{{ pkg }}` | `defineConfig`, `defineEnvironment`, `group`, `evaluate`, `expect`, `DEFAULT_EGRESS_ALLOW`, `DEFAULT_SKILL_EXCLUDE`, `HarnessCapabilityError`, and the types |
| `{{ pkg }}/harness` | `cursor`, `claudeCode`, `antigravity`, `opencode`, `goose`, `pi`, `codex`, `fx`, `grokBuild`, `fakeHarness` |
| `{{ pkg }}/sandbox` | `docker`, `fakeSandbox` |
| `{{ pkg }}/judge` | `fakeJudge`, `fakeAnalysis`, `DEFAULT_THRESHOLD`, `RECOMMENDED_JUDGE_MODEL` |
| `{{ pkg }}/view` | Browser-safe run headers, the studio's file layout and view-models, and `suiteResult`, a run's facts |

## Sections

<CardGroup cols={2}>
  <Card title="Configuration" icon="gear" href="/reference/config">
    `defineConfig`, every option and where it's accepted, profiles and budgets.
  </Card>
  <Card title="Authoring API" icon="code" href="/reference/group-evaluate">
    `group`, `evaluate`, `defineEnvironment`, the `c` API, matchers and helpers.
  </Card>
  <Card title="Harnesses and sandboxes" icon="layer-group" href="/reference/harness/cursor">
    `cursor()`, `claudeCode()`, `antigravity()`, `opencode()`, `goose()`, `pi()`, `codex()`, `fx()`, `grokBuild()`, `fakeHarness()`, `docker()`, egress.
  </Card>
  <Card title="CLI" icon="terminal" href="/reference/cli">
    Every command and flag, run references and exit codes.
  </Card>
  <Card title="Formats" icon="database" href="/reference/record">
    The run record, transcripts and local debug data.
  </Card>
  <Card title="Environment" icon="globe" href="/reference/env-vars">
    Environment variables and common error messages.
  </Card>
</CardGroup>
