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

# How Oqoqo works

> The Oqoqo loop, where files, machines, and tools attach, and the main terms you'll see across the product.

Oqoqo has four main parts: tasks (the work), treatments (the tools an agent gets), agents (such as Claude Code or Codex), and the runs they produce. When you know how they fit together, you know exactly what a result compares.

## The loop

```mermaid theme={null}
flowchart LR
  A["Define tasks"] --> B["Build treatments"]
  B --> C["Run experiments"]
  C --> D["Read results"]
  D --> E["Improve"]
  E --> C
```

| Stage | What you do | Start here |
| - | - | - |
| **Define tasks** | Write the work: instructions, a rubric, files, and a machine. | [Tasks and rubrics](https://docs.oqoqo.ai/experiments/tasks.md) |
| **Build treatments** | Choose the tools agents get. **Raw Agent** gives none and is the usual baseline. | [Treatments (Toolsets)](https://docs.oqoqo.ai/experiments/treatments.md) |
| **Run experiments** | Pick the tasks, treatments, agents, and trials to run. | [Launch an experiment](https://docs.oqoqo.ai/experiments/launch.md) |
| **Read results** | Check **Matrix**, [Comparisons](https://docs.oqoqo.ai/evaluation/comparisons.md), **Frictions**, and each run's details. | [Read results](https://docs.oqoqo.ai/evaluation/results.md) |
| **Improve** | Fix what the frictions point to, then launch again or on a [schedule](https://docs.oqoqo.ai/experiments/schedules.md). | [Find and fix frictions](https://docs.oqoqo.ai/guides/fix-frictions.md) |

You can do all of this from the dashboard, [Ask Oqo](https://docs.oqoqo.ai/operate/ask-oqo.md), the [Oqoqo plugin](https://docs.oqoqo.ai/operate/plugin.md) in your AI assistant, or the [CLI](https://docs.oqoqo.ai/operate/cli.md).

## Where files, machines, and tools attach

Each part of a run has one home. Files and a machine belong to a task, tools belong to a treatment, and you choose agents when you launch.

```mermaid theme={null}
flowchart TD
  F["Files"] --> T["Task"]
  M["Machine"] --> T
  S["Tools: skills, MCP servers, CLIs, SDKs"] --> R["Treatment (toolset)"]
  T --> E["Experiment"]
  R --> E
  A["Agents, chosen at launch"] --> E
```

You create files under **Manage → Files**, machines under **Manage → Machines (Environments)**, and tools under **Manage → Tools**. Agents can be built-in or [custom](https://docs.oqoqo.ai/setup/custom-agents.md) (private beta). Learn more in [Machines and files](https://docs.oqoqo.ai/experiments/machines-and-files.md), [Tools](https://docs.oqoqo.ai/experiments/tools.md), and [Agents](https://docs.oqoqo.ai/setup/agents.md).

Because each part has one home, a comparison between two treatments changes only the tools, and a comparison between two agents changes only the agent. An experiment runs every combination of task, treatment, agent, and trial, and each combination is one run. To learn how runs are counted and why the comparison is fair, read [Experiments](https://docs.oqoqo.ai/experiments/overview.md#what-an-experiment-combines).

To measure a tool's impact, choose a [baseline](https://docs.oqoqo.ai/experiments/overview.md#baseline-and-lift) at launch and compare each treatment's pass rate with it on **Matrix**. The difference is the treatment's lift.

## Main terms

| Term | Meaning |
| - | - |
| [Task](https://docs.oqoqo.ai/reference/glossary.md#task) | The work an agent attempts: instructions, a rubric, files, and a machine |
| [Rubric](https://docs.oqoqo.ai/reference/glossary.md#rubric) | The criteria that Evals use to mark a run Pass or Fail |
| [Tools](https://docs.oqoqo.ai/reference/glossary.md#tools) | Skills, MCP servers, CLIs, and SDKs that you give an agent |
| [Treatment (toolset)](https://docs.oqoqo.ai/reference/glossary.md#treatment-toolset) | The set of tools an agent gets in a run. **Raw Agent** gives none. |
| [Agent](https://docs.oqoqo.ai/reference/glossary.md#agent) | The AI agent that does the work, such as Claude Code or Codex, with a model and an effort level |
| [Experiment](https://docs.oqoqo.ai/reference/glossary.md#experiment) | One launch of tasks, treatments, agents, and trials |
| [Run](https://docs.oqoqo.ai/reference/glossary.md#run) | One agent's attempt at one task with one treatment, and the unit you pay for |
| [Trial](https://docs.oqoqo.ai/reference/glossary.md#trial) | A repeat of the same inputs. Each trial is one run. |
| [Lift](https://docs.oqoqo.ai/reference/glossary.md#lift) | The difference in pass rate between a treatment and the baseline |
| [Friction](https://docs.oqoqo.ai/reference/glossary.md#friction) | One problem that agents hit, tracked across runs and experiments |

The [Glossary](https://docs.oqoqo.ai/reference/glossary.md) defines every other term.

## Next steps

> [card] [Set up your organization](https://docs.oqoqo.ai/setup/organization.md)
>
> Finish the one-time setup checklist.

> [card] [Tasks and rubrics](https://docs.oqoqo.ai/experiments/tasks.md)
>
> Write the work and the rubric that decides whether a run passes.

> [card] [Treatments (Toolsets)](https://docs.oqoqo.ai/experiments/treatments.md)
>
> Build the sets of tools you want to compare.

> [card] [Dashboard map](https://docs.oqoqo.ai/reference/dashboard.md)
>
> Find your way around the dashboard.


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