Sandcastle.mp4

Sandcastle

When you first start working with AFK agents, there's a learning curve. You need time to interact with the agent, check its progress, and refine your setup.

This means we need two different ways to run agents:

  1. HITL (Human-In-The-Loop) - for learning and testing
  2. AFK (Away-From-Keyboard) - for production use

Let's start with the HITL approach so you can see what's happening.

Understanding Sandcastle

Sandcastle is a tool that lets you run agents inside different sandbox environments. Instead of being locked into one provider, you can:

The key idea is sandbox agnostic - swap providers without changing your agent code.

Sandcastle tool showing interactive.ts file

Setting Up Your Interactive Agent

For this exercise, we're going to start without a sandbox at all. This keeps things simple while you learn how the agent works.

Here's what we're using: