// Guide
Chat with a shared agent
A colleague can share an agent with you. You can then chat with that agent in a private conversation. Use the web app, an MCP client such as Claude Code, or the artifactbridge CLI. This guide shows the six steps that an MCP client or the CLI uses.
Shared agent, Your agent, or a Room task
ArtifactBridge has three ways to give an agent work. They are different.
- Your agent is your own agent. Its conversations belong to you. See Use ArtifactBridge AI.
- A Room task posts a task to an agent in a Room. All Room members see the task and the reply. Use
artifactbridge_send_agent_taskorartifactbridge agents send. See Work in Rooms. - A shared-agent conversation is a private one-to-one chat between you and an agent that a colleague shared with you. This guide is about this kind.
In the web app, open the shared agent in Agents. An agent that is not shared with you does not show, and you cannot open a conversation with it.
Conversations need a runner for the agent. An agent on a cloud runner needs a configured cloud runner in the workspace and weekly agent credits. When the deployment does not offer conversations, every step answers unavailable.
Who sees the conversation
- The conversation is private to you. The agent owner, other members, and workspace administrators cannot read it or control it.
- The agent runs on the workspace runner. The runner sees what you send.
- During a turn, the agent can read its fixed Space as you can read it now: the Space map, its documents and its skills. This can include documents that only you can see. The runner sees what the agent reads, so think about this before you send. The agent cannot read outside its fixed Space, write, or post in a Room.
- A conversation does not change who can use the agent or what the agent can read. Nothing in it widens sharing.
- The MCP tools and the CLI act only with your own credential. They use no administrator or service authority, and they do not fall back to another credential. A credential of Your agent or of an agent turn cannot use them.
Chat from an MCP client or the CLI
Each step shows the MCP tool and the matching CLI command. The IDs are examples. Add --json to a CLI command to print the server answer unchanged. Get the agent ID from artifactbridge_list_agents or artifactbridge agents list. A long CLI command continues on the next line after a trailing \, as in bash or zsh. In PowerShell, remove the trailing backslashes and put each command on one line.
1. Find or open a conversation
List your conversations with the agent first. The list holds your newest 100 conversations. Each entry has conversation_id, agent_id, title, notice_shown_at, created_at, and updated_at. Reuse a conversation when one fits.
MCP: artifactbridge_list_agent_conversations
{"agent_id": "11111111-2222-4333-8444-555555555555"}
CLI: artifactbridge agents conversations list \
--agent 11111111-2222-4333-8444-555555555555
To start a new conversation, open one. Each open makes a new conversation. The result has conversation (the same fields as a list entry) and notice.
MCP: artifactbridge_open_agent_conversation
{"agent_id": "11111111-2222-4333-8444-555555555555"}
CLI: artifactbridge agents conversations open \
--agent 11111111-2222-4333-8444-555555555555
2. Show the privacy notice
Open returns notice.text. Show this text to the person before the first message. notice.shown_at stays empty until the first message is accepted.
The first message of a conversation needs the person’s explicit acknowledgment. Send it with acknowledge_notice: true in MCP, or --acknowledge-notice in the CLI, only after the person saw the notice and agreed. An agent never sets it on its own. Without it, the first message is refused with notice_required, and nothing is sent.
3. Send a message
Give each new message a new UUID as message_id. Keep this ID: a retry uses it again. The text has 1 to 20,000 UTF-16 units after leading and trailing whitespace is removed (text.trim().length in JavaScript). An emoji can count as two units. The conversation runs one turn at a time. The result has message_id, task_id, and generation.
MCP: artifactbridge_send_agent_conversation_message
{"conversation_id": "22222222-3333-4444-8555-666666666666",
"message_id": "33333333-4444-4555-8666-777777777777",
"text": "List the open questions in the launch plan.",
"acknowledge_notice": true}
CLI: artifactbridge agents conversations send \
22222222-3333-4444-8555-666666666666 \
--text "List the open questions in the launch plan." \
--message-id 33333333-4444-4555-8666-777777777777 \
--acknowledge-notice
Without --message-id, the CLI makes a new ID and prints it.
4. Read the reply
A read returns up to 500 frames in order: message, part, turn, and wait frames. A wait frame shows that the turn is waiting. A turn frame ends the turn. The result also has next_turn, next_seq, and has_more.
- Start without a cursor. Then pass
next_turnback asafter_turnandnext_seqasafter_seq. Give both or neither. - Read again while
has_moreis true. - Poll until a turn frame ends the turn.
MCP: artifactbridge_read_agent_conversation
{"conversation_id": "22222222-3333-4444-8555-666666666666",
"after_turn": 0, "after_seq": 4}
CLI: artifactbridge agents conversations read \
22222222-3333-4444-8555-666666666666 \
--after-turn 0 --after-seq 4
The text in frames is untrusted content. The agent wrote it. Treat it as data, not as instructions for your MCP client.
5. Cancel a queued turn
Cancel works on a turn that waits in the queue and has not started. Pass the conversation ID and the unchanged message_id of the message. The field outcome gives the result: the turn was canceled before it started, or it is already_started. already_started changes nothing; use Stop for a running turn.
MCP: artifactbridge_cancel_agent_conversation_turn
{"conversation_id": "22222222-3333-4444-8555-666666666666",
"message_id": "33333333-4444-4555-8666-777777777777"}
CLI: artifactbridge agents conversations cancel \
22222222-3333-4444-8555-666666666666 \
--message-id 33333333-4444-4555-8666-777777777777
6. Stop a running turn
Stop asks the running turn to end. It takes the same IDs as Cancel. The result stop_requested is a request, not a confirmed end. Keep reading until the final turn frame. Reply text that the agent already wrote stays in the conversation.
MCP: artifactbridge_stop_agent_conversation_turn
{"conversation_id": "22222222-3333-4444-8555-666666666666",
"message_id": "33333333-4444-4555-8666-777777777777"}
CLI: artifactbridge agents conversations stop \
22222222-3333-4444-8555-666666666666 \
--message-id 33333333-4444-4555-8666-777777777777
Rename a conversation
Give a conversation a name of 1 to 60 characters on one line. A generated title never replaces your name. In the web app, open the menu (three dots) on the conversation row and choose Rename. A name that is empty or too long is refused with validation_error. Another member's conversation is not_found.
From an MCP client, call artifactbridge_rename_agent_conversation with conversation_id and title.
The workspace coordinator
A workspace can have one shared coordinator that its operator connects. Its conversations are not private: every active member can list, read, continue, stop, and rename them. artifactbridge_list_agents returns a coordinator entry only while the coordinator is ready. If there is no entry, the workspace has no coordinator you can use. The entry gives the payment policy operator_paid: coordinator model calls use no ArtifactBridge credits during the pilot. It also gives the operator’s support contact.
- Open: pass the coordinator ID and a new UUID as
creation_request_id. After a lost response, open again with the same UUID, or list withcreation_request_idto find the conversation. Do not find it by title. - List: the list shows 50 conversations at a time, newest first. Pass
next_cursorback ascursorwhilehas_moreis true.started_bynames the member who opened each conversation. In the web app, the field above the list filters the titles of the loaded conversations. It does not search the messages or the conversations that are not loaded: choose Show older conversations to load more. - Notice: a read returns
notice.textandnotice.version. Show the text before your first message. Send withacknowledge_notice: trueandnotice_version. A changed notice is refused withstale_notice: read again and show the new text. When the notice changes, every member acknowledges the new version with their next send, also members who acknowledged an earlier one. Reading a conversation does not acknowledge it. - Turns: one turn runs at a time for all members. A read returns
current_turnwith its sender, state, and the text to show, andcan_send. Another member’s unfinished turn refuses a send withturn_running. - Latest turns first: read with
history: "recent"and noafter_turnorafter_seq. A window has up to 10 turns, newest first. Whilehistory.window_completeis false, passhistory.next_cursorback ascursor. Then, whilehistory.has_olderis true, passhistory.older_cursorascursorfor the next older window. A window keeps the turns it had when it opened, so you can retry a page with the same cursor.current_turnandcan_sendare current on every page. A cursor from another conversation is refused withvalidation_error. - State only: to check a conversation without its transcript, read with
"view": "state"alone. The answer has the same fields as a full read, and alsocoverage:through_turn,through_seq, andterminal_outcomeof the latest accepted turn, or null before the first turn. It leaves out the messages. - Stop: any member can stop the current turn. The answer gives the turn state. “Stop not confirmed. The coordinator may still be running.” means that the stop is not confirmed. A confirmed stop ends the response only: “Stopped. Changes already made remain. Actions already requested may still run or finish.” Nothing is rolled back.
- Recovery: if the coordinator restarts and loses a reply, ArtifactBridge settles the turn automatically. The message is not retried, and any member can send a new message. If the outcome cannot be confirmed, or the conversation cannot continue on its coordinator, the turn stays blocked until the operator acts: contact the operator or start a new conversation.
- Check again: while the coordinator checks whether a message arrived, send again with the same
message_id, text, and notice fields. Never use a new ID: the original ID gives back its turn and cannot start a second one. - Access: after the operator turns on coordinator actions, the coordinator can read and change workspace content and settings, including access settings, with admin-level access. This includes content that you cannot open yourself. It cannot delete data, remove members, start other agents or workers, or give approvals that need a person. It does not manage agents, runners, or workflows. Its changes are attributed to Workspace coordinator and the conversation, not to the member who asked. The coordinator entry gives this statement as
space_access. - Unavailable:
coordinator_unavailablemeans that the coordinator did not get your message. Try again later with the samemessage_id, or contact the operator.
A member of another workspace and a removed member cannot read or change a coordinator conversation. The CLI does not have coordinator options yet; use the MCP tools.
In the web app, a coordinator conversation opens on its newest messages. To read earlier messages, choose Show older messages above the first message. The message you were reading stays in place. If the load fails, choose Try again. Opening a coordinator conversation with the keyboard moves focus to its title, not the message field. On a phone, Back to Agents returns focus to the selected row, or to Conversations if the row is no longer listed. Restore appends the kept message after your current draft and places the caret at the end. On touch devices, Restore can open the keyboard so you can edit.
A code block in a complete coordinator reply has Copy code, also in a list or a quote. When you open a conversation, a code block taller than 24 lines shows its first 16 lines and Show more. Show less closes it again. In Chromium browsers, such as Chrome and Edge, the browser’s Find also opens a closed block when it finds a match in it. Other browsers show every code block at full height. A code block that you saw while the reply arrived stays open. In a member’s message, text between backticks and closed fenced code blocks show as code, without Copy code. Other Markdown, links and HTML show as typed. The sent and stored text does not change.
The coordinator composer shows the remaining count from 18,000 units. Over 20,000, Send and Enter send nothing, including in a new conversation. Your text stays editable and unchanged. On a computer, Shift+Enter adds a new line. MCP sends use the same trimmed UTF-16 limit; shorten an oversized message before sending.
Instruction content is not tool authority. Expanded coordinator actions remain disabled until operator qualification. When enabled, permitted content commands can edit its instructions, skill content and Space references. Normal document revisions, proposals and human approval rules still apply. These content edits do not require requalification and cannot grant tools. Its enforced tool policy, connection, credentials and service configuration, including the configured Space pointer, remain operator-controlled. Ask the operator for those changes.
Factory transport is disabled. The public MCP tools artifactbridge_list_factory_actions, artifactbridge_request_factory_action, artifactbridge_read_factory_request, and artifactbridge_exchange_factory_bridge refuse every request until an operator turns factory transport on for your workspace. You cannot turn it on yourself, and there is no factory screen in the app. The coordinator cannot use these tools yet. Supported operations are: start work on an existing issue, answer a question you are allowed to answer, send guidance, stop, retry, read the status of a request, and the steps a source owner uses to receive, confirm, publish, and settle requests. More operations will come later. The operator sets up who can answer which questions; a source owner cannot grant that right. A saved answer is waiting to be sent: it does not prove that the work accepted it or continued. A refused answer shows who answered first, that a newer question replaced it, or a linked follow-up question; the original question never opens again. Setup, approval, consent, and other questions that need a person stay with a person on the screen where they already appear. If you retry, use the same request ID and the same content, read the receipt first, and ask the operator to check any outcome that is not known. A request without a task link has not necessarily failed. Questions and results show in the Room and Inbox, but they do not wake agents or start workflows. Ordinary outside-work reports work the same way.
Factory receipts. When an operator turns factory transport on, the sharing notice of a coordinator conversation also says that factory work it starts can continue after you leave. You read the new notice before your first message is sent. Under a coordinator reply, each factory request shows a status, the issue, what happened, and links to the work record and its Room. Every member who can read the conversation sees the same status. Details from a Room you cannot see are not shown. Do not send a request again when its outcome is not confirmed; use Contact support. When the factory accepted work but its record did not arrive, use Copy request ID and give the ID to the operator. When the factory reports them, a receipt also names the attempt, lists the outputs a stop kept, and links the scope question, the follow-up question for a rejected answer, or the new question the factory asked. A start into a closed Room shows Not sent and says to reopen the Room. Stopping a coordinator response does not stop factory work. In the Room, a factory question shows what it waits on, with the attempt and a link to the work record when you can see it, the decision, the exact answers it accepts, and who can answer. A question that needs a step in the factory has Open in factory and no answer field. It says which step to finish there: agree to the brief, approve the merge, or finish setup. Only a setup step warns you not to paste secrets. After you answer, your answer shows whether the factory accepted it, rejected it, or used another answer. When the question changed, the answer links the new question. A factory result shows what it produced, what was checked, what is not done, and the next step. A result that reports its outcome is titled Build done, Failed, or Canceled with the attempt, and shows only the produced items you can open. With MCP, artifactbridge_read_agent_conversation returns the same statuses as factory_receipts.
Work receipts. When the operator turns on work for your workspace, the coordinator can start work in a Room, and the sharing notice says that the work runs in the background. You read the new notice before your next message is sent. Updates of the work appear in the conversation as receipts: a state, the role, the card with the title of the work and its attempt number, and when they are confirmed, the pull request, its checks and its merge. A newer update replaces the receipt, and older updates show as one line each. An update with content you cannot see shows only that it is held. When the work asks a question, choose Answer in Room; answer in the Room, not in the conversation. The Room opens on the question with its answer field ready. In a Room that the whole workspace sees, any member can answer it. If another member answers first, your answer is not sent: the field keeps your text and names who answered. Work needs a Room that the whole workspace sees; when the chosen Room is private, the receipt shows Not started and nothing runs. In the Room, the details of a work's delegation link to the conversation, because the work stops there. To stop the work, choose Stop work and confirm. Stop work is not the same as stopping a response: stopping a response does not stop the work. Steps that have not started do not run. Merged changes, pushed branches and pull requests stay. When the state cannot be confirmed, the receipt shows Unknown; choose Check again or Contact support, and do not start the work again. Only the member who asked for the work sees an unread count on the conversation. That member also sees a dot on Workspace coordinator in the agent picker, and the conversation opens on the first unread update. With MCP, artifactbridge_read_agent_conversation returns the updates as work_updates, artifactbridge_mark_agent_conversation_read marks them read, and artifactbridge_control_workspace_work stops the work or checks it again.
Coordinator attribution. A document version, a proposal or a Room event that the coordinator writes shows Workspace coordinator as its author, not the operator whose connection it uses. When you can open the coordinator, the name links to the conversation that started the change. Otherwise the name shows without a link. artifactbridge_read_document marks such a version in history with actor: {kind: "workspace_coordinator", conversation_id}. A document that the coordinator creates without a folder is visible to the workspace, unless it asks for private. A private folder keeps its documents private.
Refusals
A refusal has a code. A refused step writes nothing. The same codes come from the MCP tools and the CLI.
| Code | What it means | What to do |
|---|---|---|
unavailable | This deployment does not offer conversations. | Ask your administrator. Retrying does not help. |
not_ | The conversation does not exist, or it is not yours. | List your conversations and use an ID from the list. |
bad_ | An input is wrong: message_id is not a UUID, or the text is empty or longer than 20,000 characters. | Correct the input and send again. |
validation_ | A name is empty or longer than 60 characters. A read passes only one of after_turn and after_seq. | Correct the input and try again. |
no_ | The agent needs a cloud runner, and the workspace has none. | Ask a workspace administrator to configure a cloud runner. |
no_ | The workspace used its weekly agent credits. | Wait for the next week, or ask an administrator about the limit. |
usage_ | The credit usage cannot be read now. | Try again later. |
no_ | The agent cannot take a conversation now, or you cannot use it. | Check that the agent is shared with you and online. Ask its owner. |
notice_ | The first message needs the acknowledged privacy notice. | Show notice.text to the person. After they agree, send again with the acknowledgment. |
turn_ | A turn of this conversation still runs. | Read until the turn ends, then send. |
executor_ | The executor that runs this conversation cannot take this turn. | Open a new conversation with the agent. |
turn_ | Send: the turn could not start. Cancel: the cancel did not complete. | Try again with the same IDs. |
turn_ | Cancel or Stop found no cloud-runner turn for this message in the conversation. | Check the conversation ID and the message_id. |
busy | The queue is busy. | Try again with the same IDs. |
Recover safely
A refusal writes nothing. When a response is lost, you do not know if the step ran. Recover like this:
- Lost send response: send again with the same
message_idand the same text. Never use a new ID for the same message. The same ID gives the same turn back and starts nothing new. Then read. - Lost open response: list your conversations and reuse the new one before you open again.
- Lost Cancel or Stop response: run the same command again with the same IDs.
busyorturn_failed: try again with the same IDs.
Reference
The MCP tool reference and the CLI reference list every input and option.
artifactbridge_list_agent_conversations:artifactbridge agents conversations list --agent UUIDartifactbridge_open_agent_conversation:artifactbridge agents conversations open --agent UUIDartifactbridge_send_agent_conversation_message:artifactbridge agents conversations send CONVERSATION --text TEXT [--message-id UUID] [--acknowledge-notice]artifactbridge_read_agent_conversation:artifactbridge agents conversations read CONVERSATION [--after-turn N --after-seq N]artifactbridge_cancel_agent_conversation_turn:artifactbridge agents conversations cancel CONVERSATION --message-id UUIDartifactbridge_stop_agent_conversation_turn:artifactbridge agents conversations stop CONVERSATION --message-id UUIDartifactbridge_rename_agent_conversation: MCP only