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

# Agents, Sessions & Decisions

> The three levels of structure Enfors organizes your AI workforce around.

Enfors organizes everything into a simple hierarchy. Understanding it makes the rest of
the product click.

```mermaid theme={null}
flowchart LR
  AG[Agent] --> S1[Session]
  AG --> S2[Session]
  S1 --> D1[Decision]
  S1 --> D2[Decision]
  S1 --> D3[Decision]
```

## Agent

An **agent** is an AI worker in your organization — Claude Code running for a developer,
a Cursor instance, an autonomous agent, or Claude Desktop. Each agent has an owner
(a person), a model, and a history of sessions and decisions.

Over time an agent accrues a **profile**: its volume, spend, and real outcomes. That
profile is how you decide which agents to scale, optimize, or retire. See
[Agent profiles](/using/agent-profiles).

## Session

A **session** is a single run of an agent — one coherent stretch of work with a unique
ID. A session breaks down into its decisions and carries aggregate stats: decision
count, cost, duration, tool usage, and quality scores. Sessions also get a
**health view** with metric trends, outliers, and drift indicators.

## Decision

A **decision** is one reconstructed model call — the atomic unit of the
[decision ledger](/concepts/decision-ledger). Each decision has:

* a **title** and **outcome** ([Outcomes & Intent](/concepts/outcomes-and-intent)),
* a **logic trace** of reasoning steps,
* **evidence** backing each step ([Evidence & the Logic Trace](/concepts/evidence-and-logic-trace)),
* quality metrics, cost, and duration.

<Frame caption="Agent → session → decision on the Explore canvas">
  <img src="https://mintcdn.com/enfors/vp6oPmBU7YFgD-tH/images/explore-canvas.svg?fit=max&auto=format&n=vp6oPmBU7YFgD-tH&q=85&s=28cf770f0a3ea66d47feb4e119add37c" alt="Explore canvas drilling from agent to decision" width="1200" height="750" data-path="images/explore-canvas.svg" />
</Frame>

## Querying the hierarchy

Every level is queryable from the [MCP server](/mcp/overview):

| Level                      | MCP tool                                                               |
| -------------------------- | ---------------------------------------------------------------------- |
| Agents (with rollup stats) | [`list_agents`](/mcp/tool-reference#list_agents)                       |
| Sessions for an agent      | [`list_agent_sessions`](/mcp/tool-reference#list_agent_sessions)       |
| Decisions in a session     | [`list_session_decisions`](/mcp/tool-reference#list_session_decisions) |
| A full decision            | [`get_decision`](/mcp/tool-reference#get_decision)                     |

<Tip>
  Prefer the rollup fields on `list_agents` and `list_agent_sessions` before paging
  through individual decisions — they answer most "who/what/how much" questions in one call.
</Tip>
