heyquilt
v0.5.25
Published
Real-time, tool-agnostic pair vibe coding: sync a project folder live between collaborators using any AI coding tool.
Readme
You use Claude Code, your friend uses Cursor, someone else uses Codex or plain vim. Everyone works in their own copy of the codebase, on their own machine, anywhere in the world, and every change shows up on everyone else's disk within milliseconds. Your agents can also see what the other agents are doing.
you + Claude Code friend + Cursor
~/my-app <--> quilt join quilt join <--> ~/my-app
\ /
+--> Quilt relay <-----+
(WebSocket)
each agent --MCP--> quilt_status / quilt_resolve_merge / quilt_messageHow it works
A codebase is where you code together: one folder, kept in step for everyone in it. A project groups codebases with their artifacts, agents, connections and people.
- Tool-agnostic by design. Every AI coding tool eventually reads and writes files, so Quilt syncs files and nothing else. It watches your folder and mirrors changes into a shared Yjs CRDT document. Remote changes are written back to disk. Your editor or agent just sees files change.
- Real merges, not overwrites. Text files are synced character by character.
If your agent edits the top of
app.tswhile theirs edits the bottom, both edits land. Binary files (images, etc.) sync as whole files. - Works apart. Quilt's relay at
relay.heyquilt.comconnects everyone over WebSockets, and only lets in people signed in to heyquilt.com. If your connection drops, keep working: Quilt keeps a local copy of the shared state and merges your offline edits line by line when you reconnect, like git. Nobody is ever asked to merge: where two people changed the same lines, Quilt keeps the newer edit, keeps the other in the file's history, and tells whoever wrote it. The same goes for commits pulled or pushed to GitHub. - Watch each other's AI, live. The app shows your partner's AI conversation
as it happens: their prompts, the AI's replies, and one-line actions like
"Edited src/app.ts" or "Ran npm test". Quilt reads Claude Code's and Cursor's
chats by itself; any other MCP agent shares the same feed with
quilt_share. Next to it are a live file tree (who's editing what) and read-only file tabs where changed lines light up. - Agents coordinate, and can join by themselves. An MCP server gives each
agent tools to see who's online, read a partner's AI feed, see where people
are working, resolve clashes and message each other. With an invite link, an
agent can even join (or start) a codebase on its own. Tools without MCP can
use the
quiltCLI or read.quilt/STATUS.md. - Cloud AIs too. An AI with no computer of its own that can use an MCP
server over HTTP (a bot, a cloud routine, your own agent) joins through Quilt's hosted
MCP at
api.heyquilt.com/mcpwith the access key it got from an agent invite. It joins a codebase from the invite link, you let it in, and it reads and writes the shared files like everyone else. - Projects (behind a flag while they settle). A project gathers your codebases, the people and agents in them, and artifacts, in one place. Agents can work in them too: invite one as a global, project or codebase agent, and a project's agents are invited to its new codebases for you to let in.
- AIs in a chat window, with nothing to set up. ChatGPT, claude.ai, Grok and
other AIs you only talk to in a chat can join through a chat link: the codebase's
owner (or whoever may let people in) makes one in Invite → A chat AI (or
quilt chat-link), pastes it into the chat, and the AI works by opening links. It can read and send messages, read and add tasks, read files, and add pictures, PDFs, office documents and notes as new files. It can't change existing files. It shows in the codebase as its own member and works for 10 minutes: the owner, or whoever may let people in, extends it from the people menu (orquilt chat-link extend <name> <minutes>) while it still works. Once it runs out, or the owner removes it, a new link is needed.
Quick start
Download the app
Get Quilt for Mac (Apple silicon),
Mac (Intel),
Windows or
Linux (x86_64,
ARM: an
AppImage, chmod +x it), and open it.
Everything happens in the app: create a codebase, send the invite link, and
partners click it to join. Closing the window keeps your codebases syncing from
the menu bar; quit from there when you're done.
The first time you open it, sign in: Quilt opens heyquilt.com, where you approve this computer. New to Quilt? Create an account.
The Mac app is notarized by Apple: the first time, macOS asks whether to open an app downloaded from the internet, and you click Open. The Windows installer is signed, but Windows may still say Windows protected your PC while Quilt is new: click More info, check the publisher is Daniel Carmichael, then Run anyway.
Your AI tools can use Quilt as soon as the app opens: it connects every one it
finds (see Your AI tools are connected already). To type
quilt in a terminal yourself, choose Quilt → Install the Quilt Command….
On a server or cloud machine
A Linux machine with no desktop (a server, a cloud VM, a container, an agent's sandbox) gets the command line with its own Node.js, so nothing else needs installing:
curl -fsSL https://heyquilt.com/install.sh | sh
quilt loginRun the same line again to update. Agents on that machine find Quilt's MCP server by
themselves (see below), and quilt join <invite> syncs a codebase there.
From source
Requires Node.js 20+.
git clone <this repo> && cd quilt && npm install && npm link # puts `quilt` on your PATH
npm run app # run the desktop app from source
npm run dist:mac # build the Mac app into dist/The easy way: the app
quilt uiThis opens Quilt in your browser, where you can:
- Sign in with your heyquilt.com account (once per computer).
- Create a codebase: pick your folder. You get an invite link to send.
- Join a codebase: paste an invite link and pick where it should go.
- Work together: see who's online, what they're working on and which files they just changed. Chat, send direct messages, and drag and drop files to share them. You can also open recent codebases again later.
The app only listens on 127.0.0.1 and needs the secret link quilt ui prints.
The terminal way
1. Sign in once on each computer:
quilt login # opens heyquilt.com, where you approve this computer2. Start a codebase in your folder:
cd ~/code/my-app
quilt join --tool claudeIt prints an invite link like https://join.heyquilt.com/room-1a2b#….
Send it to your friend. Opening it in a browser shows them how to join.
3. Your friend joins from an empty folder (or their own clone of the same repo), signed in to their own account:
mkdir my-app && cd my-app
quilt login
quilt join <invite-link> --tool cursorKeep quilt join running in a terminal while you work. It logs who joined,
what they're touching, held conflicts, and messages.
Your AI tools are connected already. Whenever the app, quilt login,
quilt ui or a codebase starts, Quilt adds its MCP server to every AI tool it
finds on the computer: Claude Code, Claude Desktop, Cursor, Windsurf, Codex,
VS Code (GitHub Copilot, Cline, Roo Code), Gemini CLI, GitHub Copilot CLI, Zed,
opencode, Kiro, Amp, Junie and Continue. It writes each tool's own settings with
this install's full path, so nothing depends on your PATH or on files in the
codebase, and it keeps them current when the app moves or updates. A tool that
was already open picks Quilt up when it restarts. A settings file Quilt can't
edit safely (JSON with comments, say) is left alone and named in the log.
quilt setup does the same on demand, and adds pairing etiquette to CLAUDE.md
and AGENTS.md.
Quilt's rules are enforced, in every tool. They aren't instructions an agent may skip:
- Nobody holds files. Every save merges as it arrives; when two writes change the same lines, the file keeps the version that landed first and the second writer's lines are held as a conflict (see Conflicts).
- Before an agent changes a file, it is shown what people said about that file in chat, so it works with what was asked or planned in mind.
- While someone who messaged or mentioned the agent is waiting for an answer, every
tool that moves work on (tasks, focus, merges, commits,
quilt_set_work) refuses with who is waiting, until the agent answers withquilt_message. - While an AI has an open conflict of its own, moving a task to QA or Done,
quilt_set_work"done" and commits refuse until it resolves it withquilt_resolve_merge.
Commands
| Command | What it does |
|---|---|
| quilt ui | Open the app (start, join, chat, files) |
| quilt serve [--port 4321] [--data ./quilt-data] | Run a relay (how Quilt's relay runs; see docs/hosting.md) |
| quilt login / quilt logout / quilt whoami | Sign this computer in to your heyquilt.com account, sign it out, or see which account it uses |
| quilt uninstall [--delete] / quilt uninstall --put-back | Take Quilt off this computer (your AI tools' settings, its own data, the app; your code stays), keeping a copy of its data to put back; or put a kept copy back |
| quilt join | Start a new codebase for this folder |
| quilt join --agent <name> | Join as a Quilt agent saved with quilt agent join |
| quilt join <invite> | Join a codebase |
| quilt join | Open this folder's codebase again (merges offline edits) |
| quilt invite | Print the invite link again |
| quilt status | Who's online, focus, recent edits, open conflicts, messages |
| quilt focus "adding auth" | Tell others what you're working on |
| quilt chat | Interactive chat in your terminal (live messages, DMs, files) |
| quilt say "pushing a schema change" / quilt say @bob "got a sec?" | Message everyone / one person |
| quilt send design.png @bob "new mockup" | Send a file (to everyone, or one person) |
| quilt messages / quilt messages --all / --with bob | Unread messages / history / one conversation |
| quilt history [path] [--by name] [--since 2h] [--diff] | Who changed what, when, and for which task |
| quilt get <message-id> [dest] | Download a shared file again |
| quilt setup | Connect every AI tool on this computer now, and add agent instructions to the codebase |
| quilt mcp | The MCP server itself (your AI tool launches this) |
| quilt doctor [--watch 30] | Check what Quilt can see of your Claude Code / Cursor chats (safe to share: no chat text) |
MCP tools for agents
| Tool | Purpose |
|---|---|
| quilt_join_session | Join a codebase from an invite link, as a Quilt agent saved with quilt agent join |
| quilt_start_session | Start a new codebase for a folder, as that agent, and get an invite link |
| quilt_leave_session / quilt_session_info | Leave; or see the folder, your name, who's online, and the invite |
| quilt_status | Collaborators, their focus, recently edited files, what each person has changed, open conflicts, messages |
| quilt_partner_feed | Read what a collaborator's AI is doing (prompts, replies, actions) |
| quilt_history | The chronology: who changed which file, when, the diff, and for which task; filter by path, person, task or time |
| quilt_list_files | Shared files with recent editors |
| quilt_set_focus | Announce the current task |
| quilt_share | Share what you're working on (the request, your plan, what you did, files changed): it reaches partners' feeds and the task board, and holds off commits while you work |
| quilt_before_edit | Before changing files: what people said about them in chat lately and who else changed them (it never refuses) |
| quilt_set_work | Say you're working or done; "done" is refused until you've answered everyone who wrote to you and resolved your open conflicts |
| quilt_resolve_merge | Resolve a held conflict: drop the held lines, put them in, or say you wrote the file yourself |
| quilt_message | Message everyone, or one person with to |
| quilt_read_messages | Read unread (or recent) messages, including received files |
| quilt_project_rules | The codebase's rules for AI, the same for every tool: AGENTS.md (root and folders, else CLAUDE.md), Cursor rules that always apply, and the design system (DESIGN.md, or the file AGENTS.md names with Design system: <path>) |
| quilt_inbox | What is waiting for you: mentions (@yourname), direct messages and tasks handed to you since you last looked |
| quilt_webhook_subscribe / quilt_webhook_unsubscribe | Have each mention, direct message and handed-over task POSTed to a URL of yours as it happens, signed; or stop that |
| quilt_webhook_test | POST a signed webhook.test event to your webhook now, and say what the receiver answered |
| quilt_check_update | Whether the Quilt you run (your image) is current; an old one is told to update the app |
| quilt_send_file | Send a file from the codebase through chat (secrets and paths outside it are refused) |
| quilt_get_file | Download a shared file (again) |
| quilt_workspaces | The projects you can reach, with your access, open codebases, artifacts and storage used (only when the server has projects on, as are the tools below) |
| quilt_workspace_files | A project's artifacts, by folder or glob |
| quilt_workspace_read_file / quilt_workspace_write_file | Read an artifact (text comes back inline; anything else as a link, saved to ~/.quilt/workspaces/ on a computer); add one with a short note |
| quilt_workspace_move_file / quilt_workspace_delete_file | Move or rename an artifact; delete one |
| quilt_workspace_webhook / quilt_workspace_webhook_off | Be told when a codebase starts in one of your projects, with its link; or stop that |
Any MCP-capable tool works: Claude Code, Cursor, Windsurf, Codex, Zed, and so on. Quilt registers the server with each of them by itself (see above).
Mentions, direct messages and handed-over tasks reach any agent without polling:
subscribe to the quilt://inbox resource (standard MCP; you're notified when it
changes), or have them POSTed to a webhook. Claude Code started with the quilt
channel gets each one as a turn.
Point its MCP config at the command quilt with args ["mcp"].
Watching each other's AI
In a codebase, the app's main area has two modes:
- AI: one tab per person, showing their AI conversation live. You see prompts and replies in full, plus one-line actions ("Edited src/app.ts", "Ran npm test"). Command output, file contents and the AI's hidden reasoning are never shared. Commands are cut down to the program and one plain word, so flags, paths, URLs and tokens stay private.
- Files: read-only tabs for shared files, with who edited each one and whether it has an open conflict. Lines light up as your partner's AI changes them.
Conflicts
The file tree on the left shows orange badges on files edited in the last two minutes. Nobody holds a file: every save merges as it arrives, against the version its writer started from.
- Different lines all go in. This is the normal case.
- The same lines: the file keeps the version that landed first, and the second writer's lines are held as a conflict. Clashes on the same lines of a file join one open conflict, which keeps each held version with its writer. A conflict closes by itself when its writer's own later write to those lines lands, or when the held lines already match the file.
- A save made from an older copy. A tool that read a file, then wrote all of it back after a teammate's change reached the folder, would erase that change. Quilt keeps the versions it put in the folder, finds the one the save was made from, and puts the save on top of it: the teammate's change stays and the writer is told. A save that only undoes a teammate's change looks the same; saved again, it is taken as meant.
- A conflict never sits. Its writer's AI is woken at once (an agent through the way
it chose to be woken; every AI sees open conflicts at the top of every Quilt answer).
While an AI has an open conflict of its own, moving a task to QA or Done,
quilt_set_work"done" and commits refuse until it resolves it. If its writer's AI has left or gone quiet, the conflict goes to the next AI active in the codebase, which is woken. Only a codebase with no AI at all falls back to notices to people after 4 and 24 hours. - Picking up tasks. In Settings, "Let my AI pick up tasks by itself" (off, tasks
assigned to it, or those then unassigned ones): as your AI finishes (
quilt_set_workdone, a task to QA or Done, or the end of its turn in a tool with hooks), it is handed the next To do task and starts it. - Hosted agents (on
api.heyquilt.com/mcp) are told what people said about a file in chat when they write it, and their writes merge against the version they read (kept across relay restarts).
Sharing is on when you join. Pause or resume it from the people menu (the
avatars at the top); a pause is remembered for that folder. Quilt reads Claude
Code transcripts from ~/.claude/projects and Cursor's local chat database
(read-only, needs Node.js 22.13+). Both are best-effort: if a tool's format
changes, its feed shows as unavailable and syncing carries on.
Agents as participants
An AI agent can be a full member of a codebase, with no human running Quilt for
it. Give the agent an invite link and it calls quilt_join_session. The codebase
syncs into its folder, and everyone sees it there with an agent badge.
It can then read partners' AI feeds, chat, and edit files that
sync to everyone. It can also start a codebase with quilt_start_session and
hand out the invite. The codebase stays live as long as the agent's MCP server runs.
Agents that prefer the shell can run quilt join <invite> --agent <name> instead.
Agents wake up when they are needed
Mention an agent in chat (@Larry can you take the login bug?), send it a
direct message, or hand it a task on the board, and the agent is told. Every
tool can read what is waiting with quilt_inbox; Claude Code's hooks show it
while Claude works and before it finishes. Claude Code can also be woken by it:
start it with Quilt as a channel and each mention, message or task arrives as a
turn on its own, with nobody typing a prompt:
claude --dangerously-load-development-channels server:quilt(Channels are a Claude Code research preview; the flag is theirs. Without it,
Claude Code still sees the inbox through the hooks and quilt_inbox.) An agent
that is woken answers with quilt_message and takes a task with quilt_move_task.
Typing @ in the app's chat offers the codebase's members, so a name is spelled
the way the agent listens for it, and mentions are marked in every message.
Your AI on its own cloud machine
Quilt runs a person's AI only on their own cloud machine they connected, with their own AI tool and their own account. Connect Claude, Connect Codex or Connect Cursor in Settings → Your AI starts a small machine for that person alone (never the relay) and signs the tool in with its own login: the app shows the link and code, and Quilt never asks for, keeps or passes on the tool's token, or pays for its use. From then on it is "Daniel's AI", the only member by that name: it joins the codebases they join, takes tasks for their AI and answers what is written to it, with its own model, instructions and daily cap. It sleeps when idle and wakes when it is needed. Disconnect deletes the machine and its disk.
Webhooks: an agent sets up its own push
An agent that runs on a trigger (a cloud routine, a bot behind a webhook URL)
need not poll. It calls quilt_webhook_subscribe with its URL once, and from
then on Quilt POSTs each event to it as it happens:
| Event | When |
| --- | --- |
| chat.mention | Someone wrote @its-name in the codebase's chat |
| chat.dm | Someone sent it a direct message |
| task.assigned | A task on the board was handed to it |
Each POST is JSON, { event, id, room, to, by, text, ts, task?, context? }
(context: the messages before this one between the agent and its sender,
oldest first, so an agent woken fresh knows what "that" refers to), with the
headers x-quilt-event, x-quilt-delivery (the same id on every try),
x-quilt-timestamp and x-quilt-signature: sha256=<HMAC-SHA256(secret,
"<timestamp>.<body>")>. The agent gives a secret or gets one back, shown once.
A receiver that wants a key of its own on every call (a Grok Bot routine's
webhook trigger, say) gets it as Authorization: Bearer <key>: pass it as
bearer.
A receiver that is down or answers 5xx is tried again a few times; whatever was
POSTed is still in quilt_inbox. events narrows the subscription; calling
again replaces it; quilt_webhook_unsubscribe ends it.
quilt_webhook_test POSTs a webhook.test event now (signed like any other) and
says what the receiver answered. With coalesce: true a burst wakes the agent once:
events are gathered for 2 s, and any that follow within 30 s of a POST go together in
one more POST; a POST with several carries the first one's fields on top (the shape
above) and all of them, oldest first, in events (with count). Without it, one POST
per event.
The relay keeps and sends every agent's webhook, hosted or joined from a computer
(quilt join), so it works while the agent, or its computer, is asleep; it is one
webhook per agent, and it covers each codebase the agent is in (a hosted agent's, and
each one an agent on a computer connects to). So an agent that only has an invite
link joins, subscribes once, and is woken from then on with nothing else set up. URLs
must be https, without credentials, and every address the host resolves to must be
public, checked when it is set and again before each POST; redirects are not followed.
An agent on a computer may also use http to that computer (a receiver running next
to it): that one its own Quilt sends, while it is awake.
From a shell, the same webhook:
quilt join <invite> --webhook-url https://example.com/hook --webhook-bearer-env MY_HOOK_KEY
quilt webhook set https://example.com/hook --bearer-env MY_HOOK_KEY [--coalesce]
quilt webhook # status: URL, events, who sends it, the last POST
quilt webhook test
quilt webhook clearKeys are given by environment variable name (--bearer-env, --secret-env), never on
the command line, and are never shown again. A folder that subscribed with an older
Quilt (which sent the webhook from the computer, kept in .quilt/webhook.json) hands
it to the relay, same URL and secret, the next time it is let in; from then on only
the relay sends it, so the agent is not woken twice. A relay too old to keep it leaves
it with the computer, as before.
Agents in projects
With projects on, Invite an agent (in Settings › Agents, a project's Add dialog, or a codebase's Invite dialog) asks what kind of agent to invite:
- Global agent: in all your projects, invited to their codebases.
- Project agent: in one project (your own, or an org's you manage), invited to its codebases.
- Codebase agent: invited to one codebase; the text you paste into the AI carries that codebase's link.
Under the hood an agent works in a project in one of two ways:
- Added to it. Someone who manages the project adds the agent on the project's page, with edit or view access, or makes a one-time invite link for a new agent there (a project agent).
- Placed there by its owner. In Settings › Agents in the app, or on the Agents page of heyquilt.com (an org's agents: on the org's People page, with Agents: Update and Projects: Update), Works in says where the agent works: all your projects (a Global agent; for an org, all the org's), the ones you pick, or only where it is added. A project's admins can still change whether a placed agent is invited to its codebases, or keep it out of that project.
Inheritance is an invitation, not admission. Invited to new codebases says whether each new codebase in the project sends the agent its link (Every codebase) or not (Not automatically). The agent then waits like anyone else with the link, and the codebase's owner lets it in; being in the project never lets an agent into a codebase by itself (people in a project still get into its codebases at their project access). Only an agent's owner can have it invited to every codebase: someone else's agent added to your project is invited by hand. A codebase's owner sees the agents its project invited in the codebase's People (waiting, in, or invited), and can say Don't invite for that one codebase or Invite it again, which sends it the link at once.
An agent invited to every codebase needs to hear when one starts: it calls
quilt_workspace_webhook with a public https URL, and when someone starts a
codebase in one of its projects, Quilt POSTs session.started there with
the codebase's invite link, signed like the webhooks above. Quilt never
keeps the link: it is passed on in the same moment. Receivers whose address
resolves to a private network are skipped.
The artifact tools read and write the project's artifacts (images, video, documents, data), so agents put what they make there with a note instead of in chat. A hosted agent can write up to 2 MB per call (text or base64); an agent on a computer can also send a file from its codebase of up to 500 MB.
Apps: Pipedream, Zapier, Make, n8n
An automation app joins as an agent of yours, with an app key (qk_) instead
of an invite. On heyquilt.com, open Agents, then Connect an app: Quilt
adds an agent named for the app and shows its key once. The key signs that agent
in like an access key but never runs out; it works until you revoke it there
(each agent can have up to 10, each revoked on its own, and revoking the agent
revokes them all).
The app sends the key as Authorization: Bearer <key> to the hosted MCP at
https://api.heyquilt.com/mcp, one JSON-RPC request per tool call, no session
set up first:
curl -s https://api.heyquilt.com/mcp \
-H "Authorization: Bearer $QUILT_APP_KEY" \
-H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"quilt_join_session","arguments":{"invite":"https://join.heyquilt.com/<room>#<secret>"}}}'Every hosted agent tool works this way (quilt_message, quilt_tasks,
quilt_add_task, quilt_move_task, quilt_read_file, quilt_write_file,
quilt_history, quilt_resolve_merge and the rest; tools/list names them all), and
quilt_webhook_subscribe turns mentions, direct messages and tasks into POSTs
to the app (see Webhooks). The agent
can be in several codebases at once: each quilt_join_session adds one. While it
is in more than one, every tool call names the codebase in session (the IDs come
from quilt_session_info, and each webhook event names its own).
The Quilt app for Pipedream wraps this: paste the key when you connect Quilt, then use its actions (Join Session, Send Message, Read Messages, Get Inbox, List/Add/Move/Assign Task, Read/Write File, Share Update, Get Session Status, Call Tool for any other tool, each with an optional Session) and its instant trigger, New Mention, Message or Task, which covers every codebase the agent is in. Quilt keeps one webhook per agent, so give each trigger its own agent.
Agents are told to update
Every Quilt MCP knows the newest Quilt release. An agent whose Quilt (its image)
is behind sees "You must update your app" in every answer, and
quilt_check_update answers for any version it names. A hosted agent sends its
version as the x-quilt-image header.
Messaging and file sharing
Chat lives alongside the code. Messages go to everyone by default, or to one
person with @name. Messages are kept in the room, so anyone offline sees
them when they reconnect, and quilt status shows your unread count.
Files you send (screenshots, logs, exports, a PDF spec) go through the relay
as attachments. They are not added to the codebase. Everyone who can
see the message gets the file in the Chat files folder of their codebase's
folder, including files sent while they were offline or before they joined.
Quilt never syncs that folder and git ignores it, so it never reaches GitHub:
only the people in the codebase have it. The limit is 100 MB per file.
Direct messages and files are only shown to the sender and recipient, but they travel through the shared room, so they're private from other collaborators' screens, not from the relay operator.
The relay
Everyone connects through Quilt's relay at relay.heyquilt.com. It passes
changes between computers, keeps each codebase's shared state and the files
people share in chat, and only lets in people and agents signed in to
heyquilt.com: the app and the quilt command get a pass from the accounts API
that lasts 10 minutes, and the relay checks it on every connection.
The relay is one small Node process (quilt serve); docs/hosting.md
describes how it's deployed and its settings. The app only connects to Quilt's
relay for now.
- Each codebase has its own secret, and the owner approves who gets in.
- Codebases have size quotas and shared-file quotas, and each account can start 30 codebases an hour.
- Idle codebases are unloaded from memory, and codebases nobody opens for 30 days are deleted.
What syncs (and what doesn't)
- Everything in the folder except:
.git/,node_modules/,.quilt/,.env/.env.*(secrets stay local), build caches (.next/,.turbo/,.nuxt/,.svelte-kit/,.parcel-cache/,.vercel/), editor swap files, anything in a.gitignore, and anything in a.quiltignore. - To keep something out of the codebase, list it in a
.quiltignore(same syntax as.gitignore). Use it for files git tracks but you don't want to share, e.g.design/*.psdorprivate-notes.md. Like.gitignore, a.quiltignoreor.gitignorein a subfolder applies to that subfolder. - Text files up to 2 MB and binary files up to 8 MB.
- Symlinks are not synced.
- On first join, if a file differs between your folder and the codebase, the
codebase's version wins and yours is copied to
.quilt/conflicts/<time>/. Use--prefer localto push your versions instead.
Git: the working tree is shared, but .git isn't, and Quilt never commits,
pulls, pushes or opens a PR for you — that's still yours to run, on your own
machine. A git stash, reset --hard or checkout -- . reverts your files
as git does, and the codebase's work comes back onto them a moment later
(your stash keeps your copy); commits you pull are merged into the codebase's
work line by line. Checking out another branch pauses that folder until
you're back on the one the codebase syncs.
Security
- You sign in to heyquilt.com on each computer. The computer's token is kept in
~/.quilt/account.json, readable only by you. The relay never sees it: it sees a pass that lasts 10 minutes and names your account and this computer's key. Signing a computer out (in the app, withquilt logout, or on the website) cuts it off within 10 minutes. - Each room has a secret. It sits after the
#in the invite link, so a browser opening the link never sends it to the relay. The first client to open a room sets it, and everyone else must match. Treat invite links like passwords. - Each person has a signing key in
~/.quilt/identity.json, made on first use. The first time a name joins a room, the relay ties that name to the key. After that, only that key can use the name: the relay checks a signature on every connect, and drops presence updates that use anyone else's name. It holds what people write to the same rule: a chat message, a note in the AI feed, an entry in the activity log or a comment on a task that says it is by someone else is taken out before anyone, or any agent, is shown it. Copy the file to use your name from another computer. If you lose it, the relay's host can free the name by removing it fromidentitiesin the room's.jsonfile in the relay's data folder. - Paths from peers are validated. Nothing can be written outside the codebase's
folder, into
.git/(no sneaky hooks), or into files you ignore locally. - Whoever runs the relay can read a codebase's contents.
- Remember that you're syncing code your partner's agent wrote, and your tools may run it. Only pair with people you trust.
Development
npm test # end-to-end tests: real relay, two clients, temp foldersReleasing
Every release ships with notes, and the app tells people when it's out of date.
- Bump the version:
npm version patch --no-git-tag-version(orminor). - Add a
## <version> — <date>section at the top ofRELEASES.mdsaying what changed, one bold-led bullet per change.npm testfails if the top section doesn't match package.json, so a release can't go out without notes. - When a batch of merged changes is ready to go out (not after each change: a release
costs paid build minutes, docs/releases.md),
npm run release -- --skip-testsonmain. It says what the tag will build, tagsv<version>and pushes. GitHub then builds every platform on its own machines (.github/workflows/release.yml), when the app changed since the last release: the Mac DMGs, the Windows installer, the Linux AppImages and the Linux command-line bundles withinstall.sh. It publishes the release with the notes fromRELEASES.mdas its body, about 5 minutes later. So any machine can release, a cloud one included. (--dry-runshows the steps first,--notesprints the body,--notes-onlyfixes the notes of a published release, and--localbuilds Mac and Windows on this Mac and publishes withgh, as before.)
The app checks GitHub's latest release every ten minutes. Older versions show a bar
across the top with an Update Quilt button (a Download link in a browser), and
What's new (also under Settings and in the app menu) opens the release notes. Each
newer release opens the notes by itself once, even while the app is open, and the notes
for a new version open the first time it runs. Update Quilt downloads the build for this
computer and installs it: on a Mac it mounts the DMG and swaps the app in place (asking
for an administrator only if the Applications folder needs one), on Windows it runs the
installer, and on Linux it swaps the AppImage file in place; then Quilt restarts. The builds are unsigned, so this is done by hand in
desktop/updater.js rather than with Electron's updater.
Layout: src/ui/ + src/ui-server.js (the app), src/runner.js (start/stop a codebase), src/server.js (relay), src/connection.js (client protocol +
reconnect), src/session.js (folder ⇄ CRDT sync, presence, chat),
src/control.js (local API for CLI/MCP), src/mcp.js, src/setup.js,
bin/quilt.js (CLI).
License
Quilt is proprietary, paid software. The source is visible here but is not open source: you may not copy, clone, fork, modify, redistribute, self-host or build on it. See LICENSE.
