quiet robot
← All insights

Product · · 9 min read

Agent Playground: draw your agent, then run it on real computers

Agent Playground is a visual builder for AI agents. Drag in the steps, connect them with arrows, put a person's approval where it matters, see the cost before you press Run, and watch every step run on a real sandbox with guardrails built in.

Every useful AI agent is a flowchart. Run the tests. If they fail, let an agent fix the code and run them again. If they pass, ask a person before anything ships.

The trouble is that nobody can see that flowchart. It lives in code, spread across a framework, a few prompts and a pile of retry logic. You find out what the agent actually did by reading logs afterward. You find out what it cost when the bill arrives. And when a loop goes wrong at 2 a.m., it keeps going until someone notices.

Phone systems solved this problem years ago. Nobody writes code to make "press 1 for sales" work. You open a call flow editor, drag a box for the greeting, a box for the menu, an arrow for each key, and a box for the person who answers. Anyone on the team can read it, change it and see where a call went.

Agent Playground does that for AI agents. You drag steps onto a canvas and connect them with arrows, and every step runs on a real Quiet Robot sandbox: a private computer of its own, with your safety rules already in place.

A flow on the canvas: the agent fixes the code until the tests pass, and a person approves before it ships.Get the code (Run command), Run tests (Run command), Agent fixes it (Agent), Ship it? (Approval), Ship (Run command), Not shipped (Output). Arrows: Get the code to Run tests; Run tests to Agent fixes it on Failed; Agent fixes it to Run tests on Done; Run tests to Ship it? on Passed; Ship it? to Ship on Approved; Ship it? to Not shipped on Denied.FailedDonePassedApprovedDenied>_ RUN COMMANDGet the code>_ RUN COMMANDRun tests◉ AGENTAgent fixes it✋ APPROVALShip it?>_ RUN COMMANDShip⚑ OUTPUTNot shipped
A flow on the canvas: the agent fixes the code until the tests pass, and a person approves before it ships.

Why this changes how agents get built

Four things are different when the agent is a drawing instead of a pile of code.

You see the plan before it runs. Loops are arrows that turn back. Branches are arrows that split. A step that needs a person is a box that says so. A teammate who has never opened your code can look at the canvas and tell you what the agent will do, and what it won't.

Every box runs on a real computer. Not a simulation of one. Each step runs real commands in a real sandbox, with real files and your network rules. Agents can work side by side in one sandbox, and parallel lanes can try three ideas at once, each on its own copy.

Safety is part of the drawing. Your organization's rules apply to every step automatically. An Approval box stops the flow until a person says yes. Limits cap how many times a loop can go around, how long a run can take and how much it can spend, and the platform enforces them for you, not your code.

You know the cost before you press Run. Press Simulate and the playground tells you what a run will likely cost, how often a limit will stop it and the most it could ever spend.

Agent frameworks give you loops in code. Sandbox providers give you computers. Agent Playground puts the two together on one canvas, with the guardrails in the same place you draw the loop. No other sandbox provider we found offers a visual builder.

Build a flow by dragging

Open Agent Playground in the dashboard and start from a blank canvas or a recipe. The Blocks panel has every kind of step, and you drag one onto the canvas to add it:

Group Blocks
Do Run command, Run code, Ask AI, Agent, Agents together
Decide Decide (a yes or no check), AI choice (Claude picks a path), Loop
People and rules Approval, Rule, Wait
Sandbox Try in parallel, Keep the best
Finish Output

Each block has its exits, like Passed and Failed, or Approved and Denied. Drag from an exit dot to the next box and an arrow appears. Drag an arrow back up to an earlier box and you've made a loop. Click a box to set it up in the side panel: its command, its prompt, its files, its own rules.

It works on every screen. On a laptop, or an iPad held sideways, you get the Blocks panel and the settings panel side by side. On a phone you get the canvas with a bar at the bottom, settings open as sheets, and you tap an exit dot, then a box, to connect them. The quickstart walks through building your first flow in about five minutes, and Blocks covers each one.

Claude is a block, not a project

There are two ways to put Claude in a flow, and both are as easy to add as any other box.

Ask AI is one question with one answer back. Write the prompt, pull in anything an earlier step produced, and choose what comes back: plain text, JSON with the fields you name, or a choice. Set to a choice, it becomes an AI choice block with one arrow per answer, so Claude can sort a ticket and send the run down the right path.

A branch on an AI choice: one exit per choice.Read the ticket (Run command), Sort the ticket (AI choice), Refund this customer? (Approval), Draft a bug report (Run command), Draft a reply (Ask AI), Ignored (Output). Arrows: Read the ticket to Sort the ticket; Sort the ticket to Refund this customer? on refund; Sort the ticket to Draft a bug report on bug; Sort the ticket to Draft a reply on how-to; Sort the ticket to Ignored on spam.refundbughow-tospam>_ RUN COMMANDRead the ticket◆ AI CHOICESort the ticketrefund · bug · how-to · spam✋ APPROVALRefund this customer?>_ RUN COMMANDDraft a bug report✦ ASK AIDraft a reply⚑ OUTPUTIgnored
A branch on an AI choice: one exit per choice.

Agent is Claude working toward a goal inside the sandbox. It runs commands and reads and writes files, over several turns, until the job is done or it reaches the limit you set. Give it a check, like "the tests pass", and it only counts as done when that check passes.

Agents together puts several agents in one sandbox at the same time, sharing its files. One writes the docs while another writes the tests. You choose whether the group finishes when all of them are done or as soon as the first one succeeds.

Agents together: both agents work at once in the same sandbox, sharing its files. Arrows go to and from the group.Set up (Run command), Docs and tests (Agents together), Run tests (Run command), Done (Output). Arrows: Set up to Docs and tests; Docs and tests to Run tests on Done; Run tests to Done on Passed.DonePassed>_ RUN COMMANDSet up◉◉ AGENTS TOGETHERDocs and testsWrite the docs + Write the tests>_ RUN COMMANDRun tests⚑ OUTPUTDone
Agents together: both agents work at once in the same sandbox, sharing its files. Arrows go to and from the group.

Pick Sonnet, Opus or Haiku for each block. AI steps use your own Claude key, which you save once, and the sandbox never sees it. Every token shows up in the forecast and the run, and it counts toward the flow's spend limit, so a chatty loop stops at the same limit as everything else. AI steps and agents has the details and prompt tips.

Try three ideas at once

Sometimes you don't know which approach will work. Try in parallel splits the run into lanes, two to ten of them, and each lane gets its own copy of the sandbox, so they can't step on each other. Keep the best then picks the winner by the rule you set, such as the fastest that passed or the highest score, and the run carries on with that one.

Parallel lanes: each lane gets its own copy of the sandbox, and Keep the best keeps one.Set up (Run command), Try in parallel (Try in parallel), Insertion sort (Run command), Built-in sort (Run command), Dedupe and sort (Run command), Keep the best (Keep the best), Keep the winner (Run command). Arrows: Set up to Try in parallel; Try in parallel to Insertion sort; Try in parallel to Built-in sort; Try in parallel to Dedupe and sort; Insertion sort to Keep the best; Built-in sort to Keep the best; Dedupe and sort to Keep the best; Keep the best to Keep the winner on Passed.Passed>_ RUN COMMANDSet up⑂ TRY IN PARALLELTry in parallellanes A, B, C>_ RUN COMMANDInsertion sortLane A>_ RUN COMMANDBuilt-in sortLane B>_ RUN COMMANDDedupe and sortLane C★ KEEP THE BESTKeep the bestlowest ms>_ RUN COMMANDKeep the winner
Parallel lanes: each lane gets its own copy of the sandbox, and Keep the best keeps one.

It's how you compare three prompts on the same test set, three upgrade plans on the same app, or three research strategies on the same question, without writing any of the plumbing. Graph shapes shows lanes, loops, branches and how they fit together.

Safety you don't have to think about

Most people should be able to build and run a flow without ever opening a settings page. So the safety is there by default, and quiet until you need it.

  • Limits on every flow. Every flow starts with a cap on loops, time and spend: 5 loops, 5 minutes and $0.25 unless you change them. They hold even if you close the tab.
  • Your rules apply to every step. Each step runs with your organization's command and network rules. A risky command is held for a person, even on loop seven at midnight, and an agent that's refused is told not to work around it.
  • Approval boxes wait for a signed-in person, with the usual approval email. An API key can't approve, so an agent can never approve its own work.
  • Checkpoints are saved after every step that passes. If a limit stops a run, the sandbox can rewind to a good one, so a runaway loop doesn't leave a half-done mess.
The Runaway loop recipe: Check always fails, so the loop limit stops the run and the sandbox rewinds to Start.Start (Run command), Try again (Run command), Check (Run command), Done (Output). Arrows: Start to Try again; Try again to Check; Check to Try again on Failed; Check to Done on Passed.FailedPassed>_ RUN COMMANDStartrewind here>_ RUN COMMANDTry again>_ RUN COMMANDCheckalways fails⚑ OUTPUTDonenever reached
The Runaway loop recipe: Check always fails, so the loop limit stops the run and the sandbox rewinds to Start.

Safety covers limits, approvals, policy and checkpoints in full.

Know the cost before you press Run

Loops are hard to price in your head. Will it pass on the second try or the ninth? What if all three lanes run to the time limit?

Press Simulate and in a second or two, for free, the playground plays your flow many times on paper and tells you:

  • What a typical run costs and how long it takes, and what 1 in 10 runs cost on a bad day.
  • What Claude will likely cost on your key.
  • How runs tend to end: finished, failed, or stopped by a limit, and which one.
  • The worst case: the most a run can cost with your limits, and which limit stops it there.
  • Which steps your policy will likely hold or block, marked right on the canvas.

After a real run, the forecast sits next to what actually happened, and it learns from your own runs of the same flow, so it gets closer the more you use it.

Watch it run, replay it, compare it

Press Run and the canvas comes alive. Each box lights up as it runs, the arrow the run took is highlighted so you can watch it go round a loop, and a timeline beside the canvas lists every step as it happens. A step waiting for a person says so, with a link to review it.

Every run is kept. Replay shows each step's output, time and cost. Open an Agent step and you can read it turn by turn: what Claude said, each command it ran and what came back, any command a rule held, and the tokens each turn cost. It's the quickest way to see exactly where an agent misunderstood the code or gave up. For a group of agents, each turn is labeled with the agent that took it.

Then compare two runs side by side: how each ended, what each cost, the steps you added or removed in between, and each step's output with the changed lines marked. Change a prompt, a model or a limit, run again, and see whether it helped.

Every flow also keeps its last 50 versions, so you can always see what changed and go back. Runs, replay and compare has the full tour.

Start from a recipe

You don't have to start from a blank canvas. Recipes are ready-made flows you can open, change and run. There are 16 at launch, including:

  • Agent fixes the failing test: an agent works on the code until the tests pass, then shows you the fix.
  • PR reviewer: check out a pull request, lint it, test it and draft a review, with a person's OK before it's posted.
  • Dependency upgrade bot: try patch, minor and latest upgrades in three lanes and keep the one that passes.
  • Support inbox triage: Claude sorts each ticket, and refunds wait for a person.
  • Analyze my spreadsheet: load a file, write the analysis, fix it until it runs, and show the summary.
  • Eval harness: run three prompts against the same test set and keep the best score.
  • Runaway loop: a loop that never ends, so you can watch a limit stop it safely.

Run it from your own code

A saved flow runs the same way from the canvas or from the API, with the same limits, replay and run page. Here's the forecast for a recipe:

curl -s https://api.quietrobot.ai/api/v1/graphs/simulate \
  -H "Authorization: Bearer $QR_API_KEY" -H "Content-Type: application/json" \
  -d '{"recipe": "fix-until-pass", "guards": {"maxLoops": 5, "timeSec": 300, "budgetUsd": 0.25}}'

And starting a run:

curl -s https://api.quietrobot.ai/api/v1/runs \
  -H "Authorization: Bearer $QR_API_KEY" -H "Content-Type: application/json" \
  -d '{"recipe": "fix-until-pass", "guards": {"maxLoops": 5, "timeSec": 300, "budgetUsd": 0.25}}'

The API reference covers the flow format and every endpoint. Support in the Python and TypeScript SDKs and the qr command line is coming soon.

Try it

  1. Sign up or sign in to Quiet Robot. The free plan includes $5 of sandbox time every month, no card needed.
  2. Open Agent Playground and pick the Agent fixes the failing test recipe.
  3. Press Simulate, then Run, and watch the estimate meet the real thing.
  4. Then drag in a block of your own, connect it, and make the flow yours.

The Agent Playground docs are the place to go next.

Agents are going to do more and more real work. We think the people responsible for that work should be able to see the plan, set the limits and watch it happen, without reading a line of framework code. That's what Agent Playground is for.