When a vessel fails three times consecutively, it is quarantined at the circuit level. This helps prevent cascading failures.
This is a stateless coordination hub for Cocapn Fleet. You host it on your Cloudflare Workers account. It coordinates distributed agent fleets on the edge.
Live Reference Instance: https://the-fleet.casey-digennaro.workers.dev
Existing orchestrators assume you want a third party to run your control plane. This is built for teams that prefer to fork and modify code rather than integrate a proprietary SaaS. You maintain full control over your vessel registry and coordination logic.
- Fork this repository.
- Deploy to Cloudflare Workers. You need a Cloudflare account and the
wranglerCLI.npx wrangler deploy
- Configure your vessels to send heartbeats and requests to your new orchestrator URL.
Stateless edge coordination using Cloudflare Workers and its Edge KV for persistence. There are no runtime npm dependencies, message brokers, or external background services. All coordination is request-driven.
- Vessel Registry & Discovery: Vessels register via heartbeats. You can discover peers by their declared capabilities or tags.
- Circuit Quarantine (HCQ): Isolates vessels after 3 consecutive execution failures to limit blast radius.
- Execution Bonds: Creates a lightweight audit trail for delegated units of work without storing full message content.
- Cross-Vessel Messaging: Supports broadcast and direct peer-to-peer messaging.
- Passive Health Checks: Vessel health is inferred from normal request success/failure rates.
One Specific Limitation: Cross-vessel messaging is best-effort and may occasionally duplicate or drop messages under very high concurrent load. It is not a guaranteed delivery system.
- A fully managed service. You are responsible for deployment, monitoring, and any modifications.
- A magic auto-scaler. It coordinates existing vessels; it does not create or destroy them.
- An analytics platform. It provides operational coordination, not detailed observability.
MIT License.
Attribution: Superinstance and Lucineer (DiGennaro et al.)