Understand agent architecture - Writer AI Studio

Architecture of an agent

Click for sound

●●●●●●●●

An Agent Builder agent consists of a UI, which is the agent’s interface, and a blueprint, which is the agent’s logic. The UI and blueprint are connected through the agent’s state and UI triggers.

Agent components

An agent consists of the following components:

An agent can also include:

Check out the demo agent walkthrough to see how these components work together in practice.

Connecting components

Agents work by passing data between the UI and blueprint. The following variables are available to each block in the blueprint:

These variables let you chain blocks together and create dynamic workflows. Learn more in Using Data from Previous Blocks.

Key capabilities

Agent Builder enables agentic workflows with automation and intelligence by providing the following capabilities:

Agent state

Agents use the agent’s state to communicate information across components. The state is a shared memory for each part of the agent: the UI, blueprint, and custom Python code can all read and write data to the state. Learn more in Agent state.

Blueprint-only agents

If you don’t need to receive user input or display output, you can build an agent without a UI by only using the blueprint. To run the blueprint without a UI Trigger, press the Run blueprint button in the top right of the blueprint.