canvas

A canvas for coding agents and humans

A multiplayer board whose frames are coding agents, your project's files, terminals, previews and drawings. Serve it, send a link, work on it together. Free and open source. No account needed.

Read the docs

Write the prompt together.

An agent frame has one prompt draft, and everyone with edit access writes it at once, each with their own caret. Ada asks the question, Karl adds the follow-up, and whoever sends it signs it with their name.

Agent frames and prompt drafts

The agent answers on the board.

Ask for the code that handles login and the agent doesn't paste it into its reply. It opens the file next to itself, at the relevant lines. Agents open files, terminals, previews, drawings and other agents through the board tools, and lay them out by the same rules people use.

Board tools

Look at the same thing.

Press a frame and it's yours: your avatar sits in its header, and everyone following you sees it ringed in your colour. When you scroll, they scroll. "Look at this" needs no line numbers. Pointers and text selections show in everyone's colour too.

Focus and following

Comment on the lines.

Leave a note on lines of a file, for everyone to read, people and agents alike. Ask an agent to review the code and it comments too, on the lines it means. Ask it to address the comments and it reads them all, and the lines they are about.

Comments

Your machine stays yours.

Guests connect straight to the host's browser, and the host's browser is the only thing that talks to canvas serve. With the default guest access, every prompt a guest sends waits for the host's approval, and an agent's permission requests are the host's alone to answer.

Files reach guests read-only, from a set canvas serve fixes: what git tracks or would track. Never .env, keys or .git.

Guest accessSecurity

Guests: edit, I approve runs Copy guest link

Start a board.

  1. 1

    Serve a project. Run bunx @frebreco/canvas@next serve in the project directory. It prints the host link: keep that one to yourself.

  2. 2

    Open the host link. In a browser on the same machine. You are the host, and agents, terminals and files live with you.

  3. 3

    Copy the guest link. From the top bar, and send it to the people you work with. They need nothing but a browser.

That's it. No account needed. All traffic is peer to peer by default and never passes through external servers.

Quick start

Needs Bun and Claude Code or opencode on the host's machine. Developed and tested in Chromium.