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

# Agent protocol

> Use structured outputs and next actions to drive the workflow.

# Agent protocol

Intermesh is designed for agents that need a deterministic next action.

## Use JSON

Use `--json` for agent-controlled reads and workflow steps:

```bash theme={null}
inter --json eval setup …
inter --json eval prepare …
inter --json eval run …
inter --json eval results …
```

## Follow structured outcomes

```text theme={null}
Success
  → follow next_actions

Needs input
  → use the listed candidate, package-manager, or build-script choices

Validation failure
  → correct the named input and rerun the same stage

Execution result
  → read evidence before making a release decision
```

Do not infer a package, build script, credential boundary, or pass result from incomplete output.
