Skip to content
English

Report from several agents

Pixling is preparing for Mac App Store release. Join the waitlist on pixling.app to hear when it launches.

Several agents can share one resident so their updates collect in a single timeline. Every agent binds the same namespace and key, then writes with its own author.

1. First agent binds the shared pair — pixling_resident_ensure
{"namespace": "my-team", "key": "release-1", "assetID": "No.7"}
2. Other agents join the same pair — pixling_resident_ensure
{"namespace": "my-team", "key": "release-1"}
Setup Best for Reply routing
One shared resident Agents on one job where you want a single chronological feed Every user reply goes to one shared inbox
One resident per agent (as plugins do per session) Seeing which agent is waiting and replying to it directly Each agent has its own inbox
Shared resident topology
Builder ──(author: "Builder")──┐
Tester ──(author: "Tester")───┼──▶ client:my-team/release-1 (one window, one status)
Deployer ──(author: "Deployer")─┘ │
▼
one shared inbox ──▶ Coordinator reads & routes

Set a distinct author on every call so Pixling labels who wrote each card:

pixling_message_send
{
"to": "client:my-team/release-1",
"text": "Build passed, 312 tests",
"author": "Builder"
}

Pixling distinguishes senders by connection (MCP or CLI), author, and route. Because all MCP callers share one connection, author is what tells them apart: agents that reuse the same author, or omit it, count as one sender.

  • Labels and order: Cards stay oldest at the top, print author whenever the sender changes, and name the newest sender along the top edge.
  • Shared 200-card cap: The 200-card history limit (Build expression) applies across all senders combined, including letters (keep: true). Past 200, the oldest card drops first regardless of sender.

Full sender and dropping rules: Messages and questions.

Any agent can call pixling_question_ask on the shared pair with its own author:

  • Waiting call: The answer returns directly to the waiting call.
  • No waiting call: The answer lands in the shared inbox as kind: answer, where answer.promptID identifies whose question it was (Read what comes back).
  • Queue limit: One resident accepts up to 4 waiting questions at once; a fifth fails with residentBusy.

A shared pair has a single inbox. Because pixling_inbox_read marks an entry read for every agent and pixling_inbox_watch allows only one waiting call per key, designate one coordinator to watch, read, and route replies.

  • Hold the CLI receiver (pixling inbox receive) from that coordinator (Read what comes back).
  • Inbox entries do not record which message card the user was looking at when they typed.
  • One active state: pixling_resident_status shows one state per resident, and every call replaces the previous one. Assign one agent to update status so agents do not overwrite each other.
  • Shared status looks: Looks created with pixling_status_define belong to the asset, so any agents sharing the same asset and status name share that look.

A session that ends cleanly can stow its resident from a hook, while one that crashes or is killed leaves the resident on the desk.

pixling_residents_list includes clientBinding.lastSpokeAt on each bound resident, recording the last message, letter, or question sent through it. Pixling does not judge staleness on its own:

  1. Pick a cleanup rule in your harness (for example, stow bindings in your namespace that have been silent for a day).
  2. Stow matching residents with pixling_resident_stow.
  3. Handle silent residents explicitly: a resident that never spoke has no lastSpokeAt, so track its creation time in your harness if your rule needs it.