What you need
- A ProductBrain project (any tier).
- An assistant that can fetch a URL you paste, such as Claude with web fetch turned on.
Start a session
- Open your project and click Agent relay in the top bar, then the Chat session tab.
- Click New link. This mints an agent read link: a URL that serves your whole plan as text, written for an agent. It expires in 30 days unless you pick another length, and you can revoke it at any time from the same tab.
- Click Copy prompt and paste the starter prompt into your chat. It tells the assistant what ProductBrain is, gives it the read link, and asks it to answer with changes in a fixed text format.
Each turn
- Ask for what you want: a new bet under a need, a job marked done, a need moved, a task deleted.
- The assistant answers with a
PB-CHANGES v1block in a code fence. - Copy its whole message and paste it into Agent relay, Paste changes tab. ProductBrain finds the block inside the message and shows it as a diff: what gets added, changed (before and after), moved and deleted. Any line it can’t accept is marked with the reason and a tip.
- If the block deletes anything, tick the confirmation. Click Apply. The changes land as one batch, the same path the API uses.
- Click Copy reply and paste the
PB-REPLY v1block into the chat. It lists what happened to each line and carries a fresh read link, so the assistant can read the plan again before its next answer.
What the agent sees
The read link serves markdown: every node with its id in brackets, such as[need-12], and every field in the same key: value form the assistant writes back. Notes are included. A large plan shows a summary with a link per goal. The page ends with the writing rules and a reload link that defeats the fetch tool’s cache.
The link is a capability. Anyone holding it reads the whole plan, notes included, until it expires or you revoke it. Treat it like a password: don’t post it anywhere, and revoke it when the session is over. It is read-only. There is no URL that changes the plan. Writes only happen when you paste a block and click Apply.
The format, briefly
ADD, UPDATE, MOVE, DELETE, or ADD phase. Fields follow on key: value lines. The ops: count and the END line let ProductBrain catch a paste that was cut off. The full reference, including every field, is the agent relay format. Your assistant gets the same rules at the end of every read page, so you rarely need to look them up yourself.
When to use the other paths
- Your agent can run commands or add a connector: use the API or MCP instead. It is faster and needs no copying.
- You have a whole plan as text and want it in once: use Import plan in the top bar. The relay is for working turn after turn on a plan that already exists.

