Open Specification v0.1

AI workflows.
Written in markdown.

PLAYBOOK.md is an open specification for multi-step AI workflows. Define inputs, chain steps, branch on conditions, loop in humans — all in a .md file any model can read, write, and run.

Read the Spec Try the Playground

See it in action

A playbook is just a markdown file. Here's one that triages incoming issues:

playbook.md
---
name: Issue Triage
description: Classify and route incoming issues
---

## INPUTS

- `issue` (text): Issue description from the reporter
- `project` (string): Project name for context

## STEP 1: Classify

You are triaging issues for the {{project}} project.
Read the issue and classify it as: "bug", "feature", or "question".

{{issue}}

@output(issue_type, extract:"classification")

## STEP 2: Route

```if issue_type == "bug"```

Analyze this bug report for {{project}}.
Provide: summary, reproduction steps, severity, affected area.

```elif issue_type == "feature"```

Draft a lightweight feature spec for {{project}}.

```else```

Provide a helpful answer about {{project}}.

```endif```

How it works

PLAYBOOK.md defines multi-step AI workflows in plain markdown. Think OpenAPI for APIs or Dockerfiles for containers, but for AI agent workflows.

1

Define

Declare typed inputs, write steps in natural language, add directives for outputs, tool calls, and human checkpoints. It's a markdown file in your repo.

inputs, steps, directives
2

Execute

Any runtime that implements the spec can parse and run your playbook. Pass inputs, and the engine chains steps with variable interpolation and branching.

any provider, any model
3

Get results

Each step produces outputs. Branch on them, loop back, or collect final artifacts. The playbook is the workflow and its documentation in one file.

@output, if/else, artifacts

Why PLAYBOOK.md

Open Standard

A specification, not a product

PLAYBOOK.md is a specification, not a product. MIT-licensed code, CC BY 4.0 spec. Build on it, fork it, implement it — no permission needed.

Just Markdown

No new syntax to learn

No YAML to wrestle, no proprietary editor required. If you can write a README, you can write a playbook. It's the format you already know.

Run Anywhere

Write once, execute everywhere

Write once, execute with any LLM provider, any model, any runtime. Your workflows belong to you, not to a vendor.

Version Controlled

Workflows that live in your repo

A playbook is a file. Diff it, review it, branch it, merge it. Your AI workflows get the same rigor as the rest of your codebase.

AI-Native

The format models already speak

Markdown is the most-represented format in LLM training data. Models read and write playbooks without format translation, parsing edge cases, or lossy serialization.

Human-Readable

A playbook is its own documentation

No separate docs to maintain, no diagrams to keep in sync. Read a playbook and you understand the workflow. Hand it to a new team member and they're onboarded.

Made for agents.

Markdown isn't just convenient for humans — it's the native format of the models that execute your workflows. LLMs were trained on more markdown than any other structured format. They parse it without edge cases. They generate it without escaping errors. They don't need a serialization layer between "understand the workflow" and "run the workflow."

That matters when agents are both the authors and the executors. An agent can generate a playbook, hand it to another agent, and it runs. No format translation. No schema validation failures from a misplaced comma. No lossy round-trip through a format the model has to fight.

Try it. Ask any model to generate a multi-step workflow as YAML, then as a PLAYBOOK.md. Compare the error rates.

For everyone who builds with AI.

You don't need to be a developer to write a playbook. If you can write a bullet list, you can define a multi-step AI workflow — give it inputs, tell it what to do at each step, and get structured results back. Markdown isn't a programming language. It's the way you already write notes, docs, and outlines.

Product Managers

Turn process docs into executable workflows

You already write specs, briefs, and runbooks. A playbook is the same thing — except the AI can actually run it. Define the steps, set the inputs, hand it off.

Build a playbook that takes a feature brief, generates user stories, drafts acceptance criteria, and outputs a prioritized backlog — ready for sprint planning.

Content Creators

Repeatable creative workflows, not one-off prompts

Stop re-prompting from scratch every time. Write a playbook once for your content pipeline — research, outline, draft, polish — and reuse it across every piece you publish.

Build a playbook that takes a topic and target platform, researches key angles, writes a draft, adapts the tone for LinkedIn vs. newsletter vs. Twitter, and outputs all three versions.

SMB Owners

Automate the workflows you keep doing manually

Client onboarding, proposal generation, weekly reporting — you've done these a hundred times. Write the steps down as a playbook and let AI handle the repetition while you focus on the business.

Build a playbook that takes a new client's name, industry, and goals, then generates a welcome email, a kickoff agenda, and a 30-day onboarding checklist.

Conversation Designers

Design agent behavior in plain language

Chatbot flows, support scripts, interactive experiences — describe the conversation step by step in a format that's readable by your team and executable by any AI runtime. No flowchart tool required.

Build a playbook that walks a user through troubleshooting a product issue — asks clarifying questions, narrows down the cause, and generates a resolution summary for the support ticket.

Ecosystem

Everything you need to read, write, and run playbooks.

Spec

The full specification. Seven docs covering inputs, steps, directives, branching, and more.

Playground

Web-based editor and validator. Write playbooks and check them against the spec in real time.

Gallery

Curated example playbooks. Ten real-world workflows across four categories to learn from.

Schema

TypeScript types and JSON Schema for validation. Build tooling that understands playbooks.

Ship your first playbook.

Read the spec, browse real-world examples, or drop into the playground and start writing.

Get Started