> For the complete documentation index, see [llms.txt](https://docs.riff.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.riff.ai/reference/agent-builder.md).

# Agent builder

The Agent builder is the interface you work in when you are configuring an agent. An agent is an autonomous worker with a clear job — it runs on a trigger, does its work, and reports back. Unlike an app, there is no user-facing screen; the agent operates in the background.

## Layout

The Agent builder has **five sticky tabs** always visible at the top, plus additional tabs available via the **+** button. There is no Preview iframe — the chat interface is the primary way you interact with the agent during development.

## The five sticky tabs

| Tab                                              | What it is                                                                                 |
| ------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| [Chat](/reference/agent-builder/chat.md)         | Talk to the Riff agent to configure your agent; switch between Build and Live mode         |
| [Pipeline](/reference/agent-builder/pipeline.md) | Visual board showing your agent's tasks and their current states                           |
| [Profile](/reference/agent-builder/profile.md)   | Read-only view of your agent's full configuration — instructions, knowledge, skills, tools |
| [Triggers](/reference/agent-builder/triggers.md) | The email addresses and scheduled runs that activate your agent                            |
| [Activity](/reference/agent-builder/activity.md) | A log of every agent run — tools called, duration, success or error                        |

## Additional tabs (via the + button)

The same features available in the App builder are also accessible here:

| Tab                                                     | What it is                   |
| ------------------------------------------------------- | ---------------------------- |
| [Integrations](/reference/shared/integrations.md)       | Connect to external services |
| [Storage](/reference/shared/storage.md)                 | Upload and manage files      |
| [Secrets](/reference/shared/secrets.md)                 | Store credentials            |
| [Access](/reference/shared/access.md)                   | Workspace access controls    |
| [Version History](/reference/shared/version-history.md) | Restore past states          |

## The Riff agent in the Agent builder

The Chat tab is the primary building surface. The Riff agent configures your agent in response to your messages — updating its instructions, adding skills and knowledge, connecting tools. See [Chat](/reference/agent-builder/chat.md) and [the Riff agent](/reference/riff-agent.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.riff.ai/reference/agent-builder.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
