Sandbox preview. Actions are simulated for now.

Let your agent get things done out there

One API for actions with consequences. Send a letter, book a table, dispatch a courier, buy the printer ink. You set the limits. Your agent does the errand.

purchase.ts
import { createFieldwork } from '@fieldwork/sdk'

const { actions } = createFieldwork({
  apiKey: process.env.FIELDWORK_KEY,
  baseUrl: 'https://fieldwork-api.jimkountanis.workers.dev',
})

const order = await actions.product.purchase(
  { query: 'printer cartridges', quantity: 2, deliverTo: office },
  { maxSpend: 150_00 },
)

order.status // 'awaiting_approval'
product.purchaseawaiting approval
Printer cartridges, twin pack × 2
€69.80
Shipping
€4.90
Total
€74.70

Above your €50.00 threshold, so it waits for you.

The catalog

Six errands, one integration

Each action hides a network of providers, contracts and edge cases behind one typed call. Integrate once and the catalog grows underneath you.

Anatomy of an action

Nothing happens until the price is known and allowed

  1. 01

    Quote

    The provider prices the action before anything happens.

  2. 02

    Check

    The price is tested against the call limit, the key policy and the monthly budget.

  3. 03

    Hold

    Anything above your threshold waits for you. The agent cannot approve itself.

  4. 04

    Execute

    The provider acts once, keyed so a retry can never act twice.

  5. 05

    Confirm

    You get a reference, the final cost and the full trail of what happened.

Guardrails

A failed screenshot is a retry. A duplicate courier is a bill.

Acting in the world needs machinery that returning information never did. It is built in, and it is on by default.

Connect

For the agent you use, and the one you are building

Your personal agent

Fieldwork speaks MCP. Add it to Claude, Cursor or any agent that takes an MCP server and every action becomes a tool. Approval is not one of them: that stays with you.

.mcp.json
{
  "mcpServers": {
    "fieldwork": {
      "type": "http",
      "url": "https://fieldwork-api.jimkountanis.workers.dev/mcp",
      "headers": { "Authorization": "Bearer $FIELDWORK_KEY" }
    }
  }
}

The product you are shipping

A typed SDK and a plain REST API. Hand the docs to your coding agent and it can wire up a working integration against the sandbox in one pass.

terminal
curl https://fieldwork-api.jimkountanis.workers.dev/v1/actions/mail.send \
  -H "Authorization: Bearer $FIELDWORK_KEY" \
  -H "Idempotency-Key: welcome-letter-42" \
  -H "Content-Type: application/json" \
  -d '{ "maxSpend": 500, "input": { "to": { ... }, "body": "Welcome aboard." } }'

Create a key and send your first action

Sign up, make an API key, and point your agent at it. The sandbox costs nothing.

Get started