PlatformSharing
Sharing context with a capsule
Package selected working context for yourself, a teammate, another agent, onboarding, review, support, or a controlled public link.
share this session with Sam
A link to the context behind it — revocable, and it expires.
make a capsule for the billing work
A bundle scoped to that work, not your whole workspace.
make a live capsule link I can give ChatGPT, with code, good for three days
A link the chat reads a small page at a time: file tree, files, symbols, decisions.
revoke that link
Gone. The recipient loses access immediately.
What a capsule is
A packaged, scoped bundle of context behind one URL: the decisions, the relevant code, the thread — enough to pick up where you left off.
Not a transcript. The recipient gets working context. Point another agent at the link and it starts with what you had, without you re-explaining anything.
It can represent one session, one project, or a workspace. It can be a fixed snapshot or a live capsule that refreshes from its source. Large capsules do not have to dump everything into the first response: a recipient can inspect a primer and load only the sections needed.
Where it earns its keep
Handing off. Going on holiday mid-migration. The capsule is what the covering person needs, and it takes a sentence to make.
Onboarding. A new person gets the context of one area rather than access to everything.
Briefing another agent. A different assistant, or a colleague's agent, needs your context for one task. A capsule is the scoped bundle it can open.
Talking to someone outside. A contractor or a support engineer needs the context of one problem, not your workspace.
Returning to your own work. Make a self-only snapshot before a risky change or a long break, with no share link at all.
Reviewing a change. Package the plan, decision, relevant code context, and open questions so the reviewer starts at the reasoning rather than the diff alone.
Choose the recipient and purpose
A capsule can be prepared for:
- only you;
- authenticated workspace members;
- an external agent;
- a controlled public link;
- support;
- a public-safe bootstrap link.
Its purpose can be onboarding, handoff, snapshot, debugging, review, bootstrapping a new agent, or another named use. Purpose is not just a label: it makes the expected audience and contents easier to audit later.
Scope, code, redaction, expiry, and revocation
Six controls matter:
- Scope — what's in it. One session, one project area, one topic. Narrower is better.
- Code inclusion — none, loaded only when requested, or included inline.
- Personal material — excluded unless the share policy deliberately allows it.
- Redaction — external links use conservative defaults.
- Expiry — it stops working on its own.
- Revocation — kill it early, any time.
That last one is the difference from an export. An exported markdown file is out there forever.
When your connected assistant creates a share through the production MCP, it fills in a safe policy when you did not specify one:
- External-agent, public, and support links default to three days, single-use, read-only access, strict redaction, no personal material, and no code. A short grace window lets one consuming agent finish parallel reads after the first open.
- Authenticated team links default to seven days and multiple uses. Their authenticated policy can include personal context and make code available on demand.
- Public-safe bootstrap links default to 14 days and multiple uses, but remain a strict primer with personal material and code excluded.
Creating a session capsule through the MCP also mints a safe external-agent share by default. Ask for a self-only audience when you want the capsule without any share link.
The dashboard offers task-specific presets instead: external-agent and one-off support shares default to 24 hours and one use, a public read-only URL defaults to 24 hours and multiple uses, and an authenticated team link defaults to seven days and multiple uses. Those dashboard presets use standard redaction while still excluding personal material and code from external shares.
Either path can return a more specific policy than the request, so inspect the returned audience, expiry, redaction, code setting, and use limit before sending the URL. Override a safe default only when the recipient actually needs the additional material.
External shares can be single-use, reusable until expiry, or capped at a specific number of opens. Risky settings—personal material, inline code, little redaction, or a long-lived external link—require an explicit opt-in rather than slipping through as defaults.
Keep a link working
A link you already gave out can be extended instead of replaced. Its address stays the same, so a chat that has the message, or an app that has the MCP connector, keeps working without being set up again. Extending adds a day, a week, a month or three to the link's end, or runs it through a day you pick, up to a year from now. A link that has ended can be renewed the same way: the same address works again. A revoked link stays revoked, and a single-use link that has been opened is done; make a new link for those.
In the web app, open your project's Capsules view, one of the tabs under the project's name. Each capsule shows whether its link works, and its page shows how long each link has left, with Extend (or Renew once a link has ended) and Revoke. New live capsule at the top of the view makes one. From a session, the prompt's + menu (Live capsule) or the command menu (New live capsule…) makes one without leaving it, with your recent capsules under the form for a quick look: rename one, extend or renew its link, make a new link in one click or with its options, or revoke it.
A new link from the web app works for an hour, a day, three days, a week (the default), two weeks, 30 days, 90 days, or through a day you pick. You also choose who can open it: anyone holding the link, or only people signed in to the workspace. A link anyone can open that works past a week, or carries code or personal notes, says so before you make it.
The full address of a link is shown once, when it is made. If you have lost it, extending does not show it again; make a new link and copy what you need.
Build a support capsule on purpose
A customer reports repeated sign-outs and support needs enough context to investigate. Start with a project-scoped debugging capsule containing:
- the customer-safe incident summary and visible impact;
- the screenshot with the provider error;
- the current auth decision and the relevant runbook section;
- the narrow code catalog needed to locate the refresh path;
- the open question support is being asked to answer.
Leave out personal transcripts, environment values, credentials, internal customer identifiers, unrelated accounts, raw debug logs, and internal-only tickets. Use on-demand code rather than inline code unless the recipient must see exact source. Preview the context document, confirm the redaction summary, then send the external URL—not the authenticated dashboard URL.
The recipient can load the screenshot or relevant section when needed and acknowledge what was read. If the link is opened by the wrong process first, a single-use share may be consumed; revoke it and create a new narrow share rather than widening the old policy.
Making one
Ask your connected assistant: "create a capsule for this so I can send it to Sam." Name the intended session, project, or topic when the current scope would be too broad.
A session capsule mints an external-agent share by default — a link safe to give to something that isn't you.
Let an AI chat ask the live project
A capsule link has a live index: the same address with the word live added as its last part. Give that to ChatGPT or Claude and the chat does not load the whole capsule. It asks the project small questions and gets small, current answers:
- the home page: what is indexed and how fresh it is, the top of the file tree, the most recently changed files, and the newest decisions, lessons, plans, tasks and docs, plus the project's verification status;
- one directory level of the file tree;
- one file, 200 lines at a time, with the symbols it defines;
- a code search, and a lookup of functions and types by name;
- one decision, lesson, plan, task or doc in full.
Every page lists its next steps as complete links. That matters because a chat's browsing tool usually opens only links it has already seen, so it can walk the project without building an address itself. Each answer is read from the project when the page is opened, not from when the capsule was made.
In practice. You are halfway through moving a ledger to double entry and
want a second opinion from a chat that has never seen the code. Say "make a
live capsule link I can give ChatGPT, with code, reusable for three days",
then paste the link with your question: "is post_entry safe to call twice?"
The chat opens the home page, follows the symbol to src/ledger/post.rs,
reads the function, and reads the decision that says entries are immutable.
It read four small pages instead of the whole project. Whether its answer is
right is still yours to judge: it saw only what it opened.
The live index follows the share's policy and never goes past it:
- Code. File contents and search snippets are served only when the share includes code. Without code, the chat still sees file and symbol names and all the shared knowledge. External shares exclude code unless you ask for it, and asking is an explicit opt-in.
- Credentials. Files that exist to hold secrets, such as
.envand private keys, are never served, and secrets inside other files are redacted. - Personal material stays out unless the share includes it.
- The link is the key. It stops at expiry or when you revoke it, and a single-use link is live for one hour after its first open. Ask for a reusable link when a chat will come back to it.
- It is read-only. Nothing a chat does through the link changes your project.
Each question a reader asks is written to the capsule's audit trail, so you can see which files and decisions the chat actually opened.
Connect it to an MCP app
An assistant that accepts MCP connectors can use the capsule's MCP address as a remote MCP server. It gets the same questions as tools, with free-text search, and no account or sign-in: the link is the credential. Its answers name the next tool to call instead of a link, and a large directory comes a page at a time. Gemini doesn't open links you paste, so connect it this way.
The audit trail also records which app connected through the MCP address and when, and the app behind each question. If a link is read faster than it allows (120 questions a minute), the trail records that too.
In the dashboard, a capsule you have just made shows a Live link for an AI chat (a ready message to paste) and an MCP connector address beside its agent address. They are shown once, like the agent address.
Not supported yet: the live index reads one project. A workspace-wide capsule serves its knowledge live but has no file tree.
See what was verified
The Verification section on a Live Capsule's overview shows whether a recent signed check passed for the indexed tree. It can flag a different checked tree, a newer index, a failing run, or failures already present on the base. If a receipt is missing, too old, or the indexed tree could not be matched, the status can be unverified. The summary redacts credentials and private paths and leaves out raw check logs.
Ask “does this capsule show a passing check for the indexed tree?” before using a capsule to review a change. For example, if the index moved after the last billing check, ask for a fresh check of the tree under review. Agents using the capsule's MCP connector can also read the project's directory-to-command rules in its Verification Map, which you edit under Settings → Agent controls.
A Review Capsule packages a Git diff with the review question. Ask your assistant in a local MCP session to package the commits you want reviewed. When you create a Review Capsule through the API, you can attach signed passing receipts for the project. The capsule carries the redacted verdicts, including which tree each receipt covers, when it passed, and any recorded base failure count. Confirm the receipt covers the change you are reviewing.
What a recipient can inspect
A capsule can expose a readable context document, a paste-ready bootstrap prompt, the live index above, and three whole-graph exports for tools: an explorer map, a knowledge graph, and a code graph. A recipient can stream or load individual chunks instead of hydrating the whole package.
The sender can inspect the share history and audit trail. A consuming agent can acknowledge which sections it read and attach a note. That turns “I sent the link” into an inspectable handoff rather than an assumption that the important part was seen.
Compare and refresh
You can compare two capsules to see what changed between snapshots. A live capsule can refresh when stale, and a recurring capsule can be scheduled for cases such as a weekly project briefing. Scheduled capsules can be listed or removed without deleting unrelated shares.
Use a fixed snapshot for an incident, review, or historical handoff where the exact state matters. Use a live or scheduled capsule when the recipient needs an updating view.
Capsules and handoffs
A handoff is the workflow record: who, what, current state, open questions, next steps, and completion status. A capsule is the context bundle. Use both when someone is genuinely taking over; use the capsule alone when they only need to see what you see.
Capsules and exports
A capsule is curated for a purpose and protected by a share policy. A large export is a paged data job over transcripts, decisions, lessons, or documents. Do not use an export as a substitute for a narrow external share.
If it doesn't work
The link doesn't work for them. It expired, reached its use limit, or was revoked. An expired link can be renewed from your project's Capsules view, and the same address works again. For a link that was revoked or used up, make a new one.
It contains more than I intended. Scope narrower — one session or one topic, not the project. Exclude personal material and code unless the recipient needs them.
They can see it but their agent can't use it. They need to give their assistant the Agent URL rather than open the Dashboard URL in a browser.
It is too large to open at once. Start with the primer or context document, then load the relevant section or chunk. For a chat, give it the live link instead: it reads one small page per question.
The chat says it cannot open the link, or stops after the first page. Some chats open only an address you typed yourself. Paste the full live address on its own line, and paste the next address from the page if the chat cannot follow it. A chat with no browsing tool cannot read any link; paste the context document into it instead.
The chat can list files but not read them. The share does not include code. Make a new share that does, for a recipient who needs it.
An app says the connector's tools are unavailable. Ask your assistant who opened the capsule and when. If the trail shows no question from that turn, the app never asked: in Gemini, start a new chat and choose the connector again, and check it is switched on for that chat. If the trail shows the link was read too fast, wait a minute and ask again.
A scheduled capsule is stale. Check whether the schedule still exists and whether its source workspace or project remains accessible.