Skip to content

Implement PlayEngine for coordinated multi-agent orchestration#122

Open
stevei101 wants to merge 6 commits into
mainfrom
feat/mcp-play-engine
Open

Implement PlayEngine for coordinated multi-agent orchestration#122
stevei101 wants to merge 6 commits into
mainfrom
feat/mcp-play-engine

Conversation

@stevei101
Copy link
Copy Markdown
Contributor

This PR introduces a sophisticated orchestration layer to the Data Fabric:

  • PlayManager DO: A new stateful coordinator that manages the lifecycle of 'Plays' (task graphs).
  • Dependency Tracking: Tasks can now 'depends_on' other tasks. The PlayManager ensures they are only enqueued when safe.
  • Auto-Materialization: As agents complete tasks, the next batch of eligible tasks is automatically moved to the active queue.
  • Unified Launch API: One-click launch for complex agentic workflows.

…state

- Add 'ThreadManager' DO to manage graph checkpoints with strong consistency.
- Implement '/v1/checkpoints' fast-path via DO storage.
- Add fallback mechanism to D1/R2 for long-term checkpoint archival.
- Update wrangler.toml with new DO bindings and migrations.
- Add 'PlayManager' Durable Object to manage high-level goals and task graphs.
- Support task dependencies: automatically materialize tasks when their prerequisites complete.
- Implement 'POST /v1/plays/:name/launch' to trigger multi-agent workflows.
- Update 'TaskLeaseManager' to notify 'PlayManager' on task completion.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 30, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
data-fabric-worker 10b8d33 May 30 2026, 01:05 AM

- Add 'play_definitions' table to D1 for multi-agent workflow blueprints.
- Seed the 'sre-incident' play: investigate -> remediate -> verify -> report.
- Update PlayEngine to fetch blueprints from D1 for dynamic mission launching.
- Consolidate MCP coordination with persistent state and task dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants