> For the complete documentation index, see [llms.txt](https://docs.duku.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duku.ai/core-concepts/explorations-and-state-graphs.md).

# Explorations & State Graphs

Exploration is how Duku learns your application. The state graph is the output.

### Explorations

An **exploration** is an automated browser session against a target URL. Duku launches a real browser, follows reachable interactions, and records the resulting states and transitions.

You can run multiple explorations in parallel to increase coverage.

### States

A **state** is a unique page or screen discovered during exploration. Each state includes the URL, a screenshot, and any captured errors.

### Transitions

A **transition** is an action that moves from one state to another, such as a click, form submission, or navigation event.

### State graphs

The **state graph** is a directed graph of discovered states and transitions.

Duku exposes this graph at several levels:

| Level            | What it shows                               |
| ---------------- | ------------------------------------------- |
| **Run graph**    | States and transitions from one exploration |
| **Batch graph**  | A merged view across multiple runs          |
| **Target graph** | The aggregate graph for a target            |

{% hint style="info" %}
The target graph gets more complete as you run more explorations against the same target.
{% endhint %}
