DevelopersDocs

Prefer the terminal?
Start here.

The same workbook, from the command line, an SDK or MCP.

Rather hand it to your agent? Start here
Terminal
$  Workbook createdclaim link: https://app.workbook.run/claim/…$  4 rows loaded into accounts$  1 row changed
app.workbook.run/claim/…
revenueSign in to keep it
companyplanseats
Acme, Inc.Enterprise42
NorthstarBusiness18
GlobexStarter6
Harbor StudioStarter8
accounts

Three commands. The workbook follows each one.

01

One command. No account.

Create a workbook and load a file. It prints a claim link: open it and the workbook is yours to use. Sign in to keep it.

$ npx run-wb create revenue
$ npx run-wb import customers.csv --table accounts --mode create

An unclaimed workbook is removed after 72 hours.

02

SQL in. History out.

A workbook is a real database. Query it, change it, and every change is in the history with a name and an undo.

$ npx run-wb tables
$ npx run-wb sql "select plan, sum(seats) from accounts group by plan"
$ npx run-wb history
03

Fork it when someone should look first.

Writes land on main by default. On a fork they wait as a proposal until a person approves it.

$ npx run-wb fork --label "Expansion plan"
$ npx run-wb sql "update accounts set seats = 12 where company = 'Harbor Studio'"
$ npx run-wb propose
04

Hand it to your agent.

An agent that can run commands needs one sentence. An agent app connects over MCP and gets the same operations as tools.

Read https://workbook.run/SKILL.md and build me a workbook on workbook.run.

Works in any agent that can run commands: Claude Code, Codex, Cursor.

05

Or write code.

Python and TypeScript SDKs carry the same calls as the CLI.

$ pip install workbook-run
from workbook import db

rows = db.table("accounts").rows()

# A fork proposes on a clean exit and drops on an error.
with db.fork() as fork:
    fork.sql("update accounts set seats = 12 where company = 'Harbor Studio'")
06

Put it on your site.

Publish the workbook, mint an embed, and set the brand once. The iframe never changes.

$ npx run-wb publish
$ npx run-wb embed add --label 'docs site' --expires-in-hours 720
$ npx run-wb brand set --font Lora --primary '#345f58' --mode dark

Publishing needs a claimed workbook and a card on file. embed add prints the iframe address.

One command to start.
The docs have the rest.

Read the docs
Rather hand it to your agent? Start here