How it works

The picture before the prose.

Codencer's architecture is three roles, two contracts, one record. The roles are planner, bridge, and executor. The contracts are TaskSpec (planner → bridge) and ResultSpec (bridge → planner). The record is the run.

If you want the deep prose, the docs are at /docs. This page is the picture.

The bridge layer

Planner → Codencer → executor

PlannerChatGPTClaudeGeminihuman
Codencerrunsstepsattemptsartifactsvalidationsgates
ExecutorCodexClaude CodeAntigravityOpenClawQwen
Bridge, not brain. State, not chat.

Planners decide what to do. Executors do it. Codencer sits between them as state, contract, and audit trail.

The run lifecycle

Runs → steps → attempts → artifacts → validations → gates

Run lifecycle — runs, steps, attempts, artifacts, validations, gatesRUNSTEPATTEMPTARTIFACTVALIDATIONGATErunstepstepattemptattemptartifactvalidationgateevery node is recorded — including the failed ones

Every TaskSpec opens a run. Every run is a tree. Steps under runs, attempts under steps, artifacts under attempts. Validations and gates close the tree. Every node is recorded, append-only, SQLite-backed.

The state model is the thing other vendors' architectures flatten away. Codencer keeps it, because it's the asset.

Three deployment modes

Local-only. Self-host relay. Self-host cloud.

Three Codencer deployment modesLocal-onlysingle machine, single user, full proofPlannerCodencer DaemonLocal ExecutorCodeSQLiteSelf-host relay/runtimeremote planner without a raw remote shellPlannerRelayConnectorDaemonExecutorAudit log + SQLiteSelf-host cloudmulti-tenant control planePlannerCloud Control PlaneRelay BridgeDaemonExecutorTenant store

Codencer is local-first by design. Execution always runs on the operator's own machine, near the code. The relay layer can run on the operator's infrastructure too.

Local-only is the path of least resistance — single machine, single user, full proof in under a minute. Self-host relay adds a remote planner without exposing a raw remote shell. Self-host cloud adds the multi-tenant control plane.

What this is, what this isn't

Comparison matrix

ProductPlannerExecutorCross-vendorDurable recordLocal execSelf-host
Codenceranyany
ChatGPT → CodexOpenAIOpenAIchat only
Claude → CCAnthropicAnthropictool calls onlypartial
Cursor self-hostedCursorCursorpartial
Copilot cloudGitHubGitHubpartial
DIY MCP glueanyanypartialyou build itvariesvaries

Vendors are deepening their own stacks. The neutral cross-vendor bridge is still missing.

How Codencer works · Codencer