cloudflare-os

Agent workspace built on Cloudflare Workers for creating documents, building apps, and running agents with your company’s context and systems.

46 articles 9.6k View on GitHub ↗
46 articles
What Is the Restore Forger in Cloudflare OS Agent Execution?

Discover the Cloudflare OS restore forger's purpose. Learn how this transient worker creates persistent RPC stubs for gadget restore methods without direct code invocation.

deep-dive
Sep 5, 2026
How Worktree Sessions Overlay Changes on Pinned Base Commits in Cloudflare OS

Learn how Cloudflare OS worktree sessions overlay changes on pinned base commits using in-memory operational transforms without materializing Git commits.

internals
Sep 5, 2026
What Is the role of the code-change.ts Module in Cloudflare OS?

Discover the vital role of the code-change.ts module in Cloudflare OS. Learn how it manages operational transform and code edit invariants for seamless system operation.

internals
Sep 5, 2026
How Gadget Code Changes Are Managed Using isomorphic-git in Cloudflare OS

Discover how Cloudflare OS manages Gadget code changes using isomorphic-git. Learn about its low-level API and custom logic for Git operations.

internals
Sep 5, 2026
How the Cloudflare OS Blueprint System Enables Template Sharing

Discover how the Cloudflare OS Blueprint system shares gadget templates via KV and R2. Easily instantiate new gadgets from a URL without exposing sensitive data.

architecture
Sep 5, 2026
How the Cap'n Web RPC Interface Ensures Runtime Type Validation in Cloudflare OS

Discover how Cloudflare OS leverages Cap'n Web RPC for robust runtime type validation, ensuring data integrity across network boundaries with the capnweb-validate transformer.

internals
Sep 5, 2026
How Cloudflare OS Implements the Cap'n Web RPC Protocol for Edge-to-Client Communication

Discover how Cloudflare OS uses the Capn Web RPC protocol for fast, type-safe communication between Workers and clients via WebSockets. Learn about latency elimination and pipelining.

deep-dive
Sep 5, 2026
How Agent Compaction Manages Long Conversations in Cloudflare OS

Discover how Cloudflare OS agent compaction manages long conversations. It intelligently summarizes history to stay within token limits while preserving full state for replay.

internals
Sep 5, 2026
How Cloudflare OS Manages Collaboration and Permissions for Gadgets

Discover how Cloudflare OS manages collaboration and permissions for Gadgets using its innovative permission-graph model. Understand role computation and access controls.

how-to-guide
Sep 5, 2026
How Cloudflare OS Handles User Data Persistence Using Typed-Storage

Learn how Cloudflare OS handles user data persistence with Typed-Storage. Explore schema-driven collections, automatic indexing, and atomic transactions for robust data management.

internals
Sep 5, 2026
What Is the Overseer in Cloudflare OS Workspace Management?

Discover the Overseer role in Cloudflare OS workspace management. Learn how it orchestrates chat, metadata, and RPC coordination for seamless user and agent interaction via Cap'n Proto.

deep-dive
Sep 5, 2026
How the Workspace is Managed as a Durable Object in Cloudflare OS

Discover how Cloudflare OS manages the workspace as a Durable Object, the WorkspaceGitCache class, ensuring strongly consistent, edge durable storage for Git state and output indexes.

internals
Sep 5, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →