AI product Open source
camelAI is an AI coding assistant platform built on Cloudflare Workers and Durable Objects. Each chat thread runs a coding agent in its own persistent workspace, retaining chat state and project files while providing workspace-aware tools. The platform connects to APIs, databases, email, Slack, Discord, and other services; supports application builds, notebook analysis, and SQL execution in isolated short-lived sandboxes; and provides previews and publishing through Workers for Platforms.
Its agent harness is built on pi's lower-level agent-loop and state-management libraries. The agent uses native file tools and writes JavaScript rather than shell commands; Code Mode executes that JavaScript in fresh V8 isolates with explicit platform and connection methods. Project files are stored in WorkspaceFilesystem Durable Objects, using Durable Object SQLite for small files and R2 for larger ones, while Cloudflare Artifacts provides Git history. Linux sandbox containers are reserved for jobs requiring them, including builds, notebook analysis, and database queries, and credentials remain outside the execution sandbox. The platform can use Anthropic, OpenAI, OpenRouter, Bedrock, and custom model endpoints. Its repository is released under the MIT License and includes local development setup using Node.js, Bun, and a Cloudflare account.
1 use taken from transcripts — each links to the moment in the video.
Runs each coding conversation in its own persistent workspace with project state and chat. It stores files, runs builds, notebooks, and SQL jobs in short-lived sandboxes, and can publish applications.
1 in the library.