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

# Agent Structure: How an Agent Is Put Together

> Understand the building blocks of an M9TZ agent — what it's made of, how its parts relate, and where to go deeper on each one.

In [What Is an Agent?](/what-is-an-agent), we defined an agent as a runtime built around four things: a role definition, the inputs it observes, the SOPs it executes, and the outbound messages it sends. The Agent Structure section unpacks what that looks like in practice — the concrete components that make an agent work, the workflows that govern its decisions, and the adapter patterns that connect it to the systems around it.

Every department agent — whether it runs as Department A, VM-1, or any other designated runtime — is assembled from the same set of parts. The shape of those parts differs from one deployment to the next, but the structure does not.

## What this section covers

<CardGroup cols={3}>
  <Card title="Components" icon="puzzle-piece" href="/agent-structure/components">
    The five building blocks of every agent: role definition, input sources, SOP logic, escalation rules, and outbound interfaces. This is where the agent's scope and procedures become concrete configuration.
  </Card>

  <Card title="Workflows" icon="diagram-project" href="/agent-structure/workflows">
    How an agent sequences its decisions — the patterns it follows when processing a trigger, evaluating conditions, and producing an outbound message or action.
  </Card>

  <Card title="Integrations" icon="plug" href="/agent-structure/integrations">
    How agents connect to the systems around them — including adapter patterns for your ERP system, your CRM, and any other platform the agent needs to read from or write to.
  </Card>
</CardGroup>

<Note>
  You do not need to understand every detail here before engaging on a build. This section exists so that when you review a design document or request a change, you know which part of the agent you are talking about.
</Note>
