Getting Started with CFFBRW
Get up and running with CFFBRW in under 5 minutes.
What is CFFBRW?
CFFBRW is an AI-powered workflow platform where you describe automation in plain English markdown. An AI compiler translates your prose into a deterministic execution DAG, and Cloudflare edge infrastructure runs it with self-healing, live streaming, and universal tool integration via MCP.
One-liner: Write workflows in markdown. AI compiles them. Cloudflare runs them.
Quick Start
- Go to cffbrw.com and sign up
- Pick a template from the gallery — or start from blank
- Click Compile to see the AI-generated execution plan
- Click Run to watch the DAG execute live in your notebook
- Edit any step in markdown and recompile
Your first workflow can run in under 2 minutes.
Your First Workflow
Step 1: Create a new workflow
From the dashboard, click New Workflow → Start from Blank.
Step 2: Write markdown
# Weather Report
## Steps
### 1. Fetch weather data
Get the current weather for Tokyo from OpenWeather API.
The URL is https://api.openweathermap.org/data/2.5/weather?q=Tokyo&units=metric&appid={API_KEY}
### 2. AI summary
Describe the weather in one sentence. Include temperature and conditions.
This step depends on step 1.
Step 3: Compile
Click Compile. The AI reads your markdown and produces an execution plan with:
- Step types (
http_request,ai_call) - Dependencies (
dependsOn) - Parallel execution batches
Step 4: Run
Click Run. Watch the DAG execute in real-time with step-level streaming output.
Key Concepts
The AI Compiler
The compiler reads your markdown and:
- Parses step descriptions and dependency hints ("depends on step X")
- Infers the execution graph (DAG) from your prose
- Classifies each step into a type (HTTP, AI, transform, etc.)
- Validates the plan with 8 heuristic checks
- Caches the plan by content hash — same markdown = zero AI cost
Execution Model
CFFBRW uses a three-tier execution model:
| Tier | Type | Behavior |
|---|---|---|
| Tier 1 | Deterministic | Steps run as planned (HTTP calls, transforms, code) |
| Tier 2 | AI Recovery | When Tier 1 fails, AI diagnoses the error and fixes it |
| Tier 3 | Plan Evolution | When AI recovery isn't enough, the plan itself is re-compiled |
Step Types
| Step Type | Description |
|---|---|
http_request | Make HTTP calls to any API |
ai_call | Send context to the AI for analysis or generation |
transform | Manipulate data from previous steps |
conditional | Branch execution based on a condition |
loop | Iterate over a collection |
wait | Pause for a duration or until a time |
human_approval | Pause and wait for human input |
code | Execute JavaScript in a sandbox |
mcp_call | Call an MCP server tool |
sub_workflow | Run another workflow as a step |
Cron Scheduling
Automate your workflows on a schedule:
- Open your workflow → Settings
- Set a cron expression (e.g.,
0 9 * * 1-5for weekdays at 9am UTC) - Enable the schedule
Your workflow will run automatically. View past runs in the Run History tab.
MCP (Model Context Protocol)
MCP lets you integrate any API as a workflow tool without writing integration code. Register an MCP server in your dashboard, and reference its tools directly in your markdown steps.
See the MCP Integration Guide for details.
Next Steps
- Read the API Reference for programmatic access
- Set up MCP servers for tool integration