Browse Guides
Guides · Platform

Build an Agent from Scratch

Build a working, grounded agent from a blank Flow, then test its responses, inspect traces, add evaluations, and compare results in a batch.

1 min read

Build an Agent from Scratch

This guide builds an agent one component at a time so you can see how inputs, prompts, memory, tools, and outputs fit together. You will start with a blank Flow, use Kata 1.1 - Low for the example model, ground the agent with an Index, and verify its behavior with traces, evaluations, and a batch.

A completed Flow connecting Start, Tiered Memory, AI Agent, and End nodes
Screenshot previewA completed Flow connecting Start, Tiered Memory, AI Agent, and End nodes
A completed Flow connecting Start, Tiered Memory, AI Agent, and End nodes

Before you begin

You need a BotDojo project where you can create Flows. The example uses Kata 1.1 - Low, available through the BotDojo model provider. You will also need an Index before the grounding step; you can create one when you reach that page.

Choosing New Agent is the quickest way to generate a starter Flow. This guide uses Start From Scratch so you learn what each node and connection does.

Follow the guide

  1. Create a Scratch Flow
  2. Add and Connect the Agent
  3. Configure the Agent
  4. Add Tiered Memory
  5. Ground the Agent with an Index
  6. Test and Inspect Traces
  7. Add Evaluations
  8. Run a Batch