@effect-forge/gitA Git engine you can read
SHA-1 objects, packfile v2 with OFS and REF deltas, pkt-line framing, and Smart HTTP v1 and protocol v2. Storage is two small interfaces: objects and refs.
effect-forge is a suite of Effect v4 building blocks for teams who want their own forge. This site — effect-forge.dev — is itself a live running instance on Cloudflare Workers, D1, R2, and SQLite Durable Objects.
agentsacpmcpEffect AI, OpenRouter, ACP bidirectional harness, and MCP server so coding agents commit, open changes, and read CI.
factory-apihttpuiTyped Factory HttpApi, Git Smart HTTP and LFS, plus server-rendered Effect UI you can keep or replace.
registryfederationnpm and OCI Distribution v2 registries, HTTP Signatures, WebFinger, and federation.
actionsDurable workflows from YAML, approval gates, secret redaction, pluggable runners, and live SSE logs.
coreRepos, branches, pull requests, reviews, merge gates, encrypted secrets, deployments, RBAC, and audit logs.
gitPure-TypeScript objects, packfiles, tree diffs, and Smart HTTP protocol v1 and v2.
sqlitenodecloudflareShared SQLite dialect plus adapters for single-node SQLite/FS or Cloudflare Workers, D1, R2, and Durable Objects.
Each package owns one concern and depends only on the layers beneath it. Embed the Git engine in a tool, put the CI or ACP harness behind your own API, or run the full forge.
@effect-forge/gitSHA-1 objects, packfile v2 with OFS and REF deltas, pkt-line framing, and Smart HTTP v1 and protocol v2. Storage is two small interfaces: objects and refs.
@effect-forge/coreSchemas and typed errors for repos, pull requests, reviews, merge gates, encrypted secrets, deployments, RBAC, and immutable audit logs.
@effect-forge/sqliteAll nine metadata, collaboration, actions, factory, registry, federation, and agent stores written once against a minimal SQLite/D1 interface.
@effect-forge/actionsParses workflow YAML, runs jobs as durable workflows, enforces approval gates, redacts secrets, reports commit statuses, and streams logs over SSE.
@effect-forge/factory-apiEffect HttpApi for products built on a forge: changes in one call, merge policy, self-explaining gates, delegated actors, and one resumable event stream.
@effect-forge/agentsMulti-turn agent sessions on dedicated branches with Effect AI, OpenRouter tool-calling, ACP harnesses, and a multi-runner registry.
@effect-forge/acpStandalone Agent Client Protocol JSON-RPC 2.0 library with scoped transports, reverse filesystem/permission handlers, and cancellation on interrupt.
@effect-forge/httpAn Effect HttpRouter serving Git Smart HTTP, the LFS batch API, and REST endpoints with configurable auth and branch protection policies.
@effect-forge/uiServer-rendered with effect/ui and compiled StyleX: repo browser, split diffs, PR review, CI runs, deployments, agent workspaces, and a /ui zoo.
@effect-forge/registryAn npm registry and an OCI Distribution v2 container registry backed by the same pluggable blob store as everything else.
@effect-forge/federationHTTP Signatures with Web Crypto, WebFinger discovery, and ActivityPub actors, inbox, and outbox.
@effect-forge/mcpA JSON-RPC MCP server over HTTP and stdio, plus a typed Effect client. Agents provision repos, commit files, open and merge PRs, and read CI logs.
@effect-forge/nodenode:sqlite stores, filesystem objects and blobs, host shell step runner, stdio ACP transport, and a Git CLI backend in one Node process.
@effect-forge/cloudflareDurable Objects per repo, action run, and agent session; R2 for objects and blobs; D1 for metadata; queues for async CI dispatch.
Every store, Git backend, step runner, and agent runner is an Effect service. Pick the layers for your target runtime without changing a line of forge code.
Everything in memory. Fast, isolated, no setup.
import { PureTsGitBackendLive } from "@effect-forge/git";import { InMemoryGitObjectStoreLive, InMemoryGitRefStoreLive,} from "@effect-forge/git"; const Git = PureTsGitBackendLive.pipe( Layer.provide( Layer.merge(InMemoryGitObjectStoreLive, InMemoryGitRefStoreLive), ),);
One process: node:sqlite for metadata, filesystem objects, host shell CI, and stdio ACP harnesses.
import { makeNodeFsGitObjectStoreLayer, makeNodeShellStepRunnerLayer, makeNodeAcpAgentRunnerLayer,} from "@effect-forge/node"; const Objects = makeNodeFsGitObjectStoreLayer("/var/forge/objects");const Runner = makeNodeShellStepRunnerLayer();const Agent = makeNodeAcpAgentRunnerLayer({ name: "claude", command: "claude" });
A Durable Object per repo and agent session, objects in R2, metadata in D1, CI in-isolate or via queues.
import { makeDurableObjectGitBackendLayer } from "@effect-forge/cloudflare";import { makeOpenRouterAgentRunnerLayer } from "@effect-forge/agents"; const Git = makeDurableObjectGitBackendLayer( env.REPO_DO, // SQLite Durable Object, one per repo env.FORGE_OBJECTS, // R2 bucket for git objects);const Agent = makeOpenRouterAgentRunnerLayer({ apiKey: env.OPENROUTER_API_KEY, model: "anthropic/claude-sonnet-4" });
import { Layer } from "effect";import { ForgeServiceLive } from "@effect-forge/core";import { ForgeRoutesLive } from "@effect-forge/http";import { makeForgeUiRoutes } from "@effect-forge/ui";import { ActionsRoutesLive } from "@effect-forge/actions";import { FactoryApiRoutesLive } from "@effect-forge/factory-api"; // Same forge on every runtime; only the layers underneath change.const Forge = Layer.mergeAll( ForgeRoutesLive, makeForgeUiRoutes({ homePath: "/explore" }), ActionsRoutesLive, FactoryApiRoutesLive,).pipe( Layer.provide(ForgeServiceLive), Layer.provide(Layer.mergeAll(Git, Stores, Runner, Agent)),);
| Layer | Single-Node (Node.js) | Cloudflare (Workers + Alchemy) |
|---|---|---|
| Web / API / UI | effect/http + effect/ui + StyleX SSR | effect/http + effect/ui + StyleX SSR (identical) |
| Pure-TS Git Engine | PureTsGitBackendLive (FS objects + SQLite refs) | PureTsGitBackendLive (R2 objects + Repo DO refs) |
| All 9 SQLite / D1 Stores | node:sqlite via @effect-forge/sqlite | Cloudflare D1 via @effect-forge/cloudflare |
| Actions StepRunner | makeNodeShellStepRunnerLayer (host shell + effect/*) | makeEffectStepRunnerLayer + ActionRunnerDO / Queue |
| Coding Agents | Effect AI / OpenRouter / NodeAcpTransport (stdio) | Effect AI / OpenRouter / AgentSessionDO + HTTP ACP |
Inspect the real screens captured by Playwright — or click through to the live seeded demo running on this Cloudflare Worker.

Split-pane coding agent workspace with live transcript, CI checks, git changes tree, 2-column diff, and merge gate.
Explore All ReposGive agents their own branches, run durable CI on every push, and enforce one explicit merge gate across humans and bots.
A task, a follow-up, or a review comment, with files attached if needed.
Edits a clone in a sandbox or in-isolate Effect runner, then commits on a dedicated branch.
The pull request is the unit of review. Durable workflow checks run on every new head.
Approves or requests changes. A change request becomes the agent's next turn.
Required checks, approvals from someone else, who may merge. One rule, enforced and explained.
Forges are general by design. Yours doesn't have to be. Build exactly the domain your product needs on parts that are easy to read and replace.
Build the domain your product needs: changes, checks, a merge gate. Stay compatible where it pays, like the Git protocol, and nowhere else.
Each store, runner, and backend is an Effect service. Swap in-memory for tests, SQLite on a box, D1 at the edge, without touching app code.
Requests decode through Schema, failures are tagged errors, and a broken shape fails at the boundary with the path that broke.
Pure TypeScript with no native dependencies in the core. Read it, fork a package, or replace one with your own.
An agent turn looks a lot like a CI job: a trigger, a workspace, a sandbox, streamed output — ending in a commit and a gated change.
A small typed Effect HttpApi for products built on a forge: changes in one call, merge policy, self-explaining gates, delegated actors, and one resumable event stream.
Multi-turn agent sessions backed by Effect AI, OpenRouter tool-calling, standalone ACP JSON-RPC 2.0 harnesses, and a multi-runner registry on Node or Cloudflare.
Harness, model, setup steps, rules, and MCP servers versioned next to your workflows, with triggers like a requested change.
UI, Factory HttpApi, Git over HTTP, durable CI, coding agents, registries, and federation — persisted to SQLite locally or Cloudflare D1 + R2 at the edge.
# Clone the live demo repo straight from this Cloudflare Workergit clone https://effect-forge.dev/demo/effect-forge.git # Or run a full persistent forge locally in one minutegit clone https://github.com/bjacobso/effect-forge.gitcd effect-forge && pnpm install && pnpm buildpnpm --filter @effect-forge/local-app dev