Automating everything with Flue


In 45 minutes, you'll sketch an agent that kills one of your chores.
…and if we're fast, we'll build one live.
What eats your week?
Hands up. The winners go on the board.
Triage & replies
Sorting, answering, following up.
PRs & issues
Reviews, labels, release notes.
Digests & status
Summaries nobody wants to write.
Questions & tickets
The same answer, for the tenth time.
An agent is not just a chatbot.
Runs on time. Doesn't think.
Thinks. Forgets. Waits for you.
Durable steps. Fixed path.
All four, working toward a goal.
Every agent has the same five parts.
Trigger
What wakes it up?
- Email Workers
- Cron Triggers
- Queues
- Webhooks
Brain
Which model thinks?
- Workers AI
- AI Gateway
Hands
What can it touch?
- Sandboxes
- Browser Rendering
- MCP
- Bindings
Memory
What does it remember?
- Durable Objects
- D1
- KV
- R2
Voice
Where does the result land?
- Email sending
- Webhooks
Agents are just functions.
export function MyAssistant() {
const [count, setCount] = usePersistentState('count', 0);
useAgentStart(() => setCount((n) => n + 1));
useModel('moonshot/kimi-k2');
return `You are a helpful assistant. This conversation has ${count} messages.`;
}
usePersistentState
useAgentStart
useModel
flue run ./agents/assistant.ts
POST /agents/assistant/:id
Two agents we actually run.

The changelog, read for me.

Fred's story
Agents can't die when the server goes down.
Let's pull the plug.
Pick a chore. We'll sketch it together.
Inbox triage
PR reviewer
Monday digest
From sketch to deployed in 10 minutes.
Read https://flueframework.com/start.md then help create my first agent...
Copy promptPick a sketch
The simplest sketch from the board.
Write the agent
Paste the prompt, shape it with Flue.
Wire & deploy
Trigger, bindings, then ship to Workers.
Cloudflare gives you the primitives.
Flue gives you the agent.
Trigger
Brain
Hands
Memory
Voice
What you can do now.
Your feedback is important.
Complete the session survey in the Cloudflare Events app.
Tell us what you thought
Your feedback helps us improve future sessions.
Open survey →