Skip to content

Build with editor-web

Coframe Agent isn’t just an app — it’s a platform you can build on. Start an edit session from your backend, stream the agent’s work in real time, embed the editor inside your own product, or collect visual annotations from your users. Everything here is backed by typed, published packages and HTTP endpoints, with live examples you can run.

Build on the agent

Embedding the agent itself? Start with the agent architecture — the three-layer harness (@alphacro/agent@alphacro/coframe-agent → apps) — then stand up an agent with real snippets.

Choose an integration

Connecting an external app over the network? The integration guide maps each thing you might want to build to the package or endpoint that does it.

Extend with plugins

Adding a new capability — a tool, a hook, planning state? The plugin system is the extension surface beneath the harness.

Run the examples

Every integration page ends with a live demo that talks to a real Coframe Agent backend — see the request, the response, and the events as they stream in.

  • Delegate edits from your backend — start a session, hand off an instruction, and collect the result. No persistent connection required.
  • Stream the agent live — subscribe to messages, tool calls, and approvals over a WebSocket with auto-reconnect.
  • Embed the editor — drop the full editor UI into your own app as an iframe and drive it over a typed postMessage channel.
  • Collect visual annotations — let your users point at a live page and leave feedback, then receive it in your app.
  • Build a completely custom UI — connect to the same session backend the Coframe Agent frontend uses and render your own interface.

Coframe Agent is backed by a stack of purpose-built packages:

PackageWhat it does
@alphacro/agentLayer 1: the unopinionated harness — durable dual-mode sessions, backends, model-as-string, MCP.
@alphacro/coframe-agentLayer 2: the opinionated Coframe agent — company prompt, common tools, planning spine, delegation.
agent-planningStructured task breakdown and requirement traceability.
agent-delegationSub-agent spawning, coordination, and result collection.
agent-skillsSkill discovery, installation, and lifecycle management.
agent-toolsFile editing, variant application, URL fetching, and more.
agent-annotationsVisual annotation capture and serialization.
kernel-browserKernel Browser lifecycle, CDP proxy, and preview streaming.
vitest-ws-reporterReal-time test result streaming over WebSocket.
agent-workspaceFile system abstraction for consistent behavior across hosts.

Live, interactive references rendered from the real Coframe Agent React components — the same source the application ships, imported the same way Storybook does.