All Projects

WaitFor

A distributed event coordination platform built on Cloudflare Workers that transforms asynchronous external inputs — including email, webhooks, human approvals, and operational messages — into deterministic structured events consumable by software systems and AI agents.

Active — in development

Problem

Modern software systems and AI agents frequently depend on asynchronous real-world events such as email replies, approval workflows, OTP messages, and webhook callbacks. Existing approaches rely on brittle polling loops, tightly coupled integrations, or ad-hoc workflow orchestration without a clean coordination abstraction.

Solution

Designed and implemented a distributed coordination platform centered around a deterministic waitFor(...) workflow primitive. Built session-scoped state management, real-time event ingestion pipelines, extraction systems, and operational messaging workflows using Durable Objects, edge-native APIs, and event-driven architecture patterns.

Role

Founder, system architect, and lead engineer

Technologies

Cloudflare WorkersDurable ObjectsD1R2TypeScriptHonoEmail Routing

Impact

  • Built deterministic event coordination primitives for asynchronous operational workflows
  • Designed session-scoped state management for distributed workflow orchestration
  • Implemented real-time ingestion and extraction pipelines for email, webhook, and operational event processing
  • Established architecture patterns for AI-agent coordination and human-in-the-loop workflows
  • Created reusable abstractions for transforming unreliable external inputs into structured API-consumable events