-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Add Cloudflare Workflows integration guide for Agents #26784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: production
Are you sure you want to change the base?
Conversation
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
638a9f2 to
cf24dd8
Compare
c6836a4 to
4e3cb5c
Compare
Documentation Updates AddedI have enhanced the documentation sync with the following improvements: New Files
Enhanced Files
All documentation follows Cloudflare Style Guide requirements: 🤖 Generated with Claude Code |
0b3f427 to
93b691d
Compare
93b691d to
0cdf433
Compare
- Add comprehensive guide for integrating Cloudflare Workflows with Agents SDK - Demonstrate durable execution, human-in-the-loop approval, and scheduled tasks - Include complete working examples with TypeScript code - Update workflows concept doc with integration overview and cross-references - Document when to use ctx.waitUntil() vs Cloudflare Workflows Related to cloudflare/agents PR #683 (add task management and workflow integration) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
0cdf433 to
b8f46bf
Compare
Summary
This PR adds comprehensive documentation for integrating Cloudflare Workflows with the Agents SDK, syncing changes from cloudflare/agents PR #683 (add task management and workflow integration).
Changes
agents/guides/workflows-integration.mdx- Complete how-to guide demonstrating Cloudflare Workflows integration with Agents SDKagents/concepts/workflows.mdx- Added Cloudflare Workflows integration section with cross-referencesWhat this guide covers
The new guide demonstrates how to:
step.sleep()for hibernation (hours/days with zero compute cost)step.waitForEvent()ctx.waitUntil()and Cloudflare Workflows based on use caseKey features demonstrated
ctx.waitUntil()for sub-30s tasks in Durable ObjectsRelated
🤖 Generated with Claude Code