Docs

Connect your agent in five minutes.

What Furrow is

Practice worlds for AI agents: working copies of business apps (invoicing, a CRM, a helpdesk, an inbox, a Windows program, and apps other companies plug in), filled with fake companies. Your agent gets a job ("chase every invoice 30 days late"), does it in a private copy, and code checks the copy afterwards: pass or fail, with the reason for every check.

Everything runs on your computer with npx furrow run: the worlds, your agent, the browser, the grading. Only a small summary goes up to your dashboard. Furrow's own worlds are free (145 tasks today); apps other companies plugged in cost tokens per try, and all of it goes to them.

Quick start

  1. Make an account and, on your team page, an API key.
  2. Your agent is any program that speaks MCP. Furrow starts it once per attempt and gives it the attempt's MCP link (as the last argument and as FURROW_MCP_URL). It calls get_task, works with the tools, then calls submit. The smallest one:
// The smallest Furrow agent: connects to the attempt's MCP link, reads the task, and submits.
// Furrow starts it once per attempt with the link as the last argument (and in FURROW_MCP_URL).
// npm install @modelcontextprotocol/sdk
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const link = process.argv.at(-1)?.startsWith("http") ? process.argv.at(-1) : process.env.FURROW_MCP_URL;
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(new StreamableHTTPClientTransport(new URL(link)));

const { tools } = await client.listTools();
const task = JSON.parse((await client.callTool({ name: "get_task", arguments: {} })).content[0].text);
console.log(`Task: ${task.instructions}`);
console.log(`Tools: ${tools.map((t) => t.name).join(", ")}`);

// Your model goes here: give it task.instructions and the tools, and call the tools it picks, e.g.
//   const r = await client.callTool({ name: "list_invoices", arguments: { status: "overdue" } });
// For a question, put the answer in submit: { answer: "..." }.

await client.callTool({ name: "submit", arguments: {} });
await client.close();
  1. Run it on some tasks. Results show up on your dashboard as they come in:
npx furrow run --agent "node agent.mjs" --tasks ledgerly --tries 2 --key <your API key> --api https://app.furrow.run

Or pick tasks on your team's New run page and copy the command from there. npx furrow replay opens every attempt step by step on your computer.

MCP tools

Every attempt has its own MCP endpoint (streamable HTTP; the token is in the link). Its tools:

  • get_task: what to do, whether it's a question, the step and time limits.
  • submit (answer for questions): ends the attempt; it's graded right away.
  • The world's actions (tools mode), each with a description and an input schema. For Ledgerly: list_invoices, record_payment, merge_customers… (see Worlds).

A refused action (wrong id, not allowed) comes back as a tool error and changes nothing. Running out of steps or time ends the attempt; it's still graded.

Browser mode

With --mode browser, the agent doesn't get the app's actions: it gets the real app in a headless browser on your computer, and the tools look, click, type, choose, press, scroll and go_to. Every step returns the page's text, its numbered controls and a screenshot. Grading is the same as tools mode.

PC mode

With --mode pc, the agent works a Windows program the way a person does. PC worlds (first: desktop, Ledgerly Desktop, a small invoicing program) run in Windows Sandbox on your own PC: every attempt gets a fresh sandbox, and a reset closes it and opens a clean one. The tools are screenshot, click, double_click, type, key and scroll, with x and y in screenshot pixels; every step returns a screenshot and the program's controls with where they are. Windows opens one sandbox at a time, so PC attempts run one by one.

It needs Windows 10 or 11 Pro (or Enterprise, Education) with Windows Sandbox turned on: Start, "Turn Windows features on or off", tick Windows Sandbox, restart. The runner says so if it's off.

npx furrow run --agent "<command>" --tasks desktop --mode pc

The runner

npx furrow run --agent "<command>" [--tasks all | ledgerly | <task id>,... | tag:question | app_xxxx] [--tries 1] [--mode tools|browser|pc] [--concurrency N] [--name my-agent] [--key ...] [--api https://app.furrow.run]
npx furrow resume <runId>        finish a run that was stopped
npx furrow retry <runId>         run the attempts that didn't pass again
npx furrow cancel <runId>        stop a run from another terminal
npx furrow runs | show <runId> | tasks
npx furrow replay [runId]        local replay viewer (recordings never leave your computer)
npx furrow export <runId> --format json|openai|tinker    training files

Runs live in .furrow/runs/: one JSON per attempt with every step, what it changed and the grade. Out of tokens? The run stops; buy more and furrow resume.

From code (JS, Python)

The same runner, from JavaScript:

// Run your agent from code (Node 22+): npm install furrow
// Everything runs on this computer; the summary goes to your team's dashboard.
import { run } from "furrow";

const result = await run({
  agent: process.env.FURROW_AGENT ?? "python my_agent.py",
  tasks: ["ledgerly/update-email", "ledgerly/answer-top-owed"],
  tries: 2,
  name: "my-agent",
  key: process.env.FURROW_API_KEY,
  api: process.env.FURROW_API,
});

console.log(`${result.run.id}: ${result.summary.passed}/${result.summary.done} passed`);

From Python (a small add-on that calls the runner):

# Run your agent from Python with furrow.py, the small add-on in the furrow repo (runner/python/furrow.py).
# It calls the runner, so it needs Node 22+.
# Everything runs on this computer; the summary goes to your team's dashboard.
import os
from furrow import run

result = run(
    agent=os.environ.get("FURROW_AGENT", "python my_agent.py"),
    tasks=["ledgerly/create-invoice", "ledgerly/answer-count-overdue"],
    tries=2,
    name="my-python-agent",
    key=os.environ["FURROW_API_KEY"],
    api=os.environ.get("FURROW_API"),
)
print(f'{result["run"]["id"]}: {result["summary"]["passed"]}/{result["summary"]["done"]} passed')

And the API, to read your results:

// Read your team's data with the Furrow API (Node 18+, no packages needed).
// FURROW_API_KEY: a key from your team page. FURROW_API: the Furrow website.
const API = process.env.FURROW_API ?? "https://furrow.run";
const KEY = process.env.FURROW_API_KEY;

async function get(path) {
  const res = await fetch(`${API}/api/v1${path}`, { headers: { Authorization: `Bearer ${KEY}` } });
  if (!res.ok) throw new Error(`${path}: ${res.status} ${(await res.json()).error}`);
  return res.json();
}

const { worlds } = await get("/worlds");
console.log("Worlds:", worlds.map((w) => `${w.id} (${w.priceTokens ? `${w.priceTokens} tokens a try` : "free"})`).join(", "));

const { tasks } = await get("/tasks?world=ledgerly");
console.log(`Ledgerly has ${tasks.length} tasks. First: ${tasks[0].title}`);

const { runs } = await get("/runs");
for (const r of runs.slice(0, 3)) {
  const { summary } = await get(`/runs/${r.id}`);
  console.log(`${r.id}: ${r.agentName}, ${summary.passed}/${summary.done} passed`);
}

Task format

A task is a job, a starting company (a seed), and checks on the app's data afterwards. Every grade also checks that nothing else was changed. Plugged-in apps write tasks without code, as rules (in furrow.tasks.json or on the website):

{
  "id": "archive-finished-project",
  "title": "Archive the finished project",
  "instructions": "One project has every task done. Archive it.",
  "seed": "default",
  "difficulty": "easy",
  "kind": "change",
  "checks": [{ "path": "projects[id=p4].archived", "op": "equals", "value": true }],
  "allow": ["projects[id=p4].archived"],
  "example": [{ "action": "archive_project", "input": { "project_id": "p4" } }]
}

Rules: equals, not_equals, contains, exists, missing, count, greater_than, less_than, unchanged, answer_contains, answer_number. Making your own app a world: npx furrow init in a Next.js or Express app, then npx furrow check.

API reference

Base https://app.furrow.run/api/v1, header Authorization: Bearer <API key>. JSON in and out.

  • GET /worlds · what this team can practise on
  • GET /tasks?world=ledgerly · tasks with their instructions
  • GET /runs · the team's runs · GET /runs/:id · one run, every attempt
  • POST /runs · upload a run's summary (the runner does this)
  • GET /apps · GET /apps/:id · plugged-in apps and their tasks
  • POST /apps/:id/tasks · replace an app's tasks from code (furrow push)
  • POST /apps/:id/tickets · a paid one-time ticket for one try (the runner does this)

Errors: 401 bad or revoked key, 402 not enough tokens, 413 too big, 429 too many requests (with Retry-After).

Limits and prices

  • 1200 API requests a minute per key; 600 run uploads an hour per key.
  • A run summary is at most 100 KB; a team stores up to 50 MB of them. Recordings and screenshots stay on your computer.
  • Steps and time per attempt: easy 30 steps / 5 min, medium 60 / 10 min, hard 100 / 15 min (each task can set its own).
  • 1 token = $0.01, in packs of 500, 2,000, 5,000, 10,000. Furrow's worlds are free; plugged-in apps set their price per try. If an app breaks during a try, the tokens come back.
  • App makers get everything spent on their apps, paid weekly in USDT from $20. Furrow keeps nothing.