Skip to content
KurrentDB

Share a Page and collect answers

Your agent has just finished something other people need to see: a summary of an incident, a comparison of three ways to do a migration, the numbers behind a retention drop. In the terminal it is a wall of text only you can read. Have the agent publish it as a Page instead. A Page is a self-contained HTML document at a stable link, so it opens the same from any coding agent, the web app or a browser, for exactly the people you share it with. When you need more than readers, the same Page can ask them a question and the agent can wait for their answers. Ask from whichever coding agent you work in; the example has you in Pi and a teammate in Codex

Pi publishes the Page and you share it; a teammate's Codex reads it and publishes an edit; people answer on the Page and Pi carries on with the result. Everything below stands on its own

In your agent:

Write up what caused last night's export failures as a Page: a timeline, the root cause, and what we changed. Publish it

The agent builds the Page, publishes it and gives you the link. The session it came from is cited as the Page’s source, so a reader can go from the Page to the work behind it. In the desktop app the publish shows in the chat as a Published page card with Copy link and Open

Publishing never shares. The Page is yours alone until you say who else can open it, so read it first

A few more things worth a Page:

Compare the three migration options in a table, with cost, risk and effort for each, and publish it as a Page
Turn this week's eval results into a Page with a chart for each repository

If you already have the HTML, publish it from a terminal:

Terminal window
kcap page publish report.html --title "Export failures, 3 December" --kind report
Share the export failures Page with the platform team and Dana as viewers

The agent looks up the team and the person and gives each the role you named. A Viewer can open the Page and answer it; an Editor can also publish new versions. A link on its own grants nothing: someone it is not shared with sees You don’t have access to this page and can choose Request access, which reaches you as a notification with Approve and Decline

In the web app, open the Page from Pages in the sidebar and choose Share on the Access row of its side panel. Who has access lists everyone it is shared with, and every reader sees that list too

When the work moves on, update the Page instead of publishing another:

Update the export failures Page with the fix we shipped this morning

The new version replaces the old one at the same link, so nobody needs a new one. Earlier versions are kept

When you need people to decide and not only read, have the agent put the question on the Page:

Publish the three migration options as a Page with a field to pick an option and a note field. Share it with Dana and the platform team

Each reader opens the link, reads it, picks an option and submits. A reader who changes their mind submits again, and their latest answer is the one that counts. A Page can ask for an approval, a choice, a score or a note

The Page’s side panel in the web app shows Collecting answers, the tallies under Answers, and every submission under View responses

Wait until Dana and two people from the platform team have answered, then tell me which option won and what the notes say

The agent stops and waits. It resumes when enough people have answered, when you close the answers, or when the wait times out, in which case it reports whatever has arrived. Then carry on from the result:

Go with the option that won. Address Dana's note about the rollback step first

A new version starts a new tally, so approval of the first version is not approval of the second

  • A Page cannot load anything from the network. Styles, scripts and images are inlined; an external URL renders as nothing. Your agent does this for you when it builds the Page
  • A Page belongs to no repository. Link it to a ticket with --work-item when you publish from a terminal, or afterwards under Work items in the Page’s side panel
  • On the local edition you are the only user, so there is nobody to share with. Publishing, reading and searching Pages work the same
  • Your agent can find a Page later. Ask it to “find the Page about the export failures and summarise it”, including Pages other people shared with you
  • Someone cannot open the link: the Page is not shared with them. Share it, or approve their access request
  • An answer was not saved: the answers were closed, or the answer did not match the fields the Page declared
  • Images or styles are missing: they were external. Ask the agent to inline them and publish a new version