graymarshall.dev portfolio
Back to index
Live/2025

AgentWorkspaces.

Real-Time AI Collaboration Platform

AgentWorkspaces
FIG. · agentworkspaces
Year 2025Status LiveStackTypeScriptReactCloudflare WorkersDurable ObjectsWebSocketsVisitSource
I.
Summary
Overview

A real-time, multi-user collaboration platform built on Cloudflare's edge infrastructure. Combines persistent WebSocket rooms, shared state synchronization, and a structured LLM tool-calling engine to enable autonomous AI-driven workflows alongside human participants.

II.
Margin
Notes
  • §Engineered a real-time multi-user collaboration platform on Cloudflare's edge using Durable Objects and WebSocket Hibernation to maintain stateful, cost-efficient persistent connections per room.
  • §Designed a custom WebSocket protocol to synchronize chat, shared memory, todos, artifacts, and settings across concurrent clients with debounced batched writes to durable storage.
  • §Implemented a structured AI tool-calling engine (Llama 3.3 70B) using a two-pass inference architecture and 9 typed function tools enabling deterministic, autonomous state mutation across sessions.
  • §Architected a full-stack TypeScript monorepo (React 19, Vite, Tailwind) deployed serverlessly via Cloudflare Pages + Workers, eliminating traditional server infrastructure and minimizing cold-start latency.