Open source · MIT · self-host anywhere

Once upon a workflow, your agents came to life

OpenBook is the open-source platform where AI agents and workflows step off the page — with real conditional branching, error paths, human-in-the-loop, long-term memory, and an AI builder that writes the whole tale for you.

Run it locally — clone & go
$ git clone https://github.com/bookbaghq/openbook$ cd openbook && npm install && npm run dev

Admin opens at localhost:3000/bb-admin · MIT-licensed · your keys, your box

MIT licensed Your data, your keys Anthropic · OpenAI · local models
6+
engine primitives most tools lack
1 prompt
to a runnable, verified workflow
100%
self-hostable · no lock-in
From idea to running in minutes

How OpenBook works

No glue code, no vendor lock-in. Describe what you want, let the AI wire it, then run it on your own box.

1

Describe it

Tell the AI builder your goal in plain English. It inventories your actions and skills and plans the workflow.

2

It builds the graph

OpenBook provisions the agents it needs, wires the nodes with correct data-piping, and self-verifies the result.

3

Run & approve

Fire it on a schedule, webhook, or event. Approve the risky steps, and watch every run in a full execution trace.

The product, not just pictures

Watch a real workflow run

A scheduled trigger fires the Content Radar agent; it scores and drafts items, writes them to memory, then pauses for your approval before the digest goes out. This is the actual engine — branching, traces, schedules, and human-in-the-loop.

Daily Content Radar· workflow
running
true → digestelse → reviewTRIGGERSchedule · 7:00AGENTContent RadarCONDITIONscore ≥ 70ACTIONresend.send_emailHUMANhuman.handoff
run #1042Content Radar
awaiting approval
trigger.schedulerfired at 07:00
0.0s
content.fetch_rss · reddit · hn312 items
1.2s
agent · Content Radarscoring & drafting hooks
live
content.listundigested
0.1s
memory.searchprior picks
0.3s
content.upsertwriting 24 scored items
live
human.handoffapprove the 7am digest
paused
resend.send_emailqueued
Triggerslast 24h
Content Radar
schedule · every 6h
Lead enrichment
webhook · on POST
Support triage
channel · on message
Weekly digest
schedule · Mon 09:00
0h6h12h18h24h
An enchanted clockwork machine routing streams of golden light along branching crystal rails — OpenBook's workflow engine.
Chapter I · The engine

A workflow engine that actually does the hard parts

Most “AI workflow” tools draw a pretty graph but can't branch, can't recover from a failed step, and can't pause for a human. OpenBook's executor does all three — and more. Like any good clockwork of wonder, every gear has a purpose.

Conditional branching

Real if/else routing that prunes the untaken path — not every node fires. Expressions with comparisons, &&/||, in, and helpers.

Error paths

Route a node's failure to a recovery branch instead of killing the run. ${error} is right there to handle it.

Variables

Capture customer/order/session data once with set_variable; read ${vars.x} anywhere downstream.

Human-in-the-loop

Pause a run for approval, free-text input, or routing. Resolve from an inbox; the decision flows on as ${input.decision}.

Triggers that fire

Manual, schedule (cron), webhook, channel message, and named events — all start real runs.

Core long-term memory

Every agent remembers across runs by default — no plugin to install. Backed by a workspace memory store.

Chapter II · The quill that writes itself

Describe it. The AI builds the graph.

Tell the builder what you want in plain English. It inventories your actions, creates the agents the workflow needs, wires the nodes with the correct data interpolation, statically verifies the result, and returns a readiness checklist of anything you still need to configure.

  • Plans → provisions agents → synthesizes the graph → self-verifies & repairs
  • Knows every node type, output shape, and the interpolation scope
  • Returns a readiness report — what's wired vs. what to configure
  • Tune the model and system prompt in Builder settings
text
Every morning at 7am, pull AI-engineering news from RSS,
Reddit and Hacker News, have an agent score each item 0-100,
assign a topic and write 3 hook ideas, then email me a ranked
"[Content Radar]" digest via the resend plugin.
A magical quill writing golden ink that rises off the parchment and becomes a glowing constellation workflow — the AI builder.
Storybook companions gathered around a glowing pool of memories inside a hollow tree library — agents with long-term memory.
Chapter III · Companions that remember

Agents, actions, memory, and an open plugin ecosystem

Every agent in OpenBook remembers across runs by default — no plugin to install, no separate vector service to babysit. Give them tools from one shared pool of Actions and Skills, and let them call their own mid-run while the graph orchestrates the rest.

AI builder

Describe a workflow in plain English; the builder creates the agents it needs, wires the graph with correct data-piping, self-verifies, and hands you a readiness checklist.

Actions & Skills

Code-backed Actions (with intent) and markdown Skills register into one pool. Agents draw from it; activating a plugin adds more.

Plugin ecosystem

Email, chat channels, image generation, RAG, a full HTTP-action connector for any REST API — install, configure, go.

Visual + agentic

A drag-and-drop canvas that is also genuinely agentic: agents call their own tools mid-run while the graph orchestrates the rest.

Multi-model

Bring Anthropic, OpenAI, or local models. The model registry is provider-agnostic; pick per agent.

Self-hosted & private

Run it on your own box. Your data, your keys, your network. MIT-licensed, no vendor lock-in.

Chapter IV · You're in charge

Cost control and human-in-the-loop, built in

Give every agent a model and a monthly budget, and keep a hand on the wheel. When a step is risky or a budget runs low, the run pauses for a human instead of charging ahead — and every decision is written to an immutable audit log.

  • Per-agent model + monthly token budget; pause-on-cap, never a silent overspend
  • Approve, reject, edit the input, reassign, pause, or resume any run
  • Immutable audit log — who approved what, when, and the exact payload
  • Bring Anthropic, OpenAI, or local models — pick one per agent
Agent budgetsthis month
Content Radar
claude-sonnet-4.6
38%
$1.92 / $5
Support Agent
gpt-4o-mini
12%
$0.36 / $3
Researcher
claude-opus-4.8
64%
$6.40 / $10
Enricher
local · llama-3.1
4%
$0.00 / $2
When an agent hits its cap, it pauses for approval — it never silently overspends.$8.68 / $20
Approval required run paused
resend.send_email · node n6

About to email the [Content Radar] digest — 24 ranked items to team@acme.com. Approve before it sends?

Approve Reject Edit input Reassign Pause Resume

Every decision is logged — who approved, when, and the exact payload.

Chapter V · A castle of your own

Your infrastructure. Your data. Your keys.

OpenBook is MIT-licensed and built to self-host. There's no required cloud, no per-run billing, and no black box — the whole platform is yours to run, audit, and extend. Raise the drawbridge whenever you like.

bash
git clone https://github.com/bookbaghq/openbook
cd openbook
npm install
npm run dev   # admin at http://localhost:3000/bb-admin
A cozy castle keep on its own hill ringed by golden wards — self-hosting OpenBook on your own infrastructure.
How the tale compares

The agentic capabilities other tools skip

OpenBook is the open-source alternative to closed agent platforms and linear automation tools alike.

CapabilityOpenBookTypical tool
Open source & self-hostableOften closed / SaaS-only
True conditional branchingVaries
Error-path routing
Human-in-the-loop (pause/resume)Sometimes
Agents with long-term memory built in
AI builds the workflow for youRare
Generic HTTP connector (any API)Varies
Ask the librarian

Frequently asked questions

Every great tale begins with a single page.

OpenBook is free and open source. Self-host it in minutes, describe your first workflow, and watch the story write itself.

Run it locally — clone & go
$ git clone https://github.com/bookbaghq/openbook$ cd openbook && npm install && npm run dev