Several agents, devices and services
Many agents. One record of who did what.
Route work to the right agent, gather parallel answers or run agents in sequence, read device telemetry and call registered outside services, with each participant’s authority, output and handoff kept apart.
Route a task to the right agent.
Where fleet operations are on, an administrator registers agents and what they can do. Describe the task by its goal, the capabilities it needs and its authorized scope; Duplex uses the declarations and past successful assignments to choose. The chosen agent works under its own scope’s rules.
| During routing | Where it belongs |
|---|---|
| Task description | The goal and the skill needed. A person’s name alone is little to route on. |
| Fleet authorization | If a rule refuses the assignment, no agent receives it. That’s different from a failure after an agent accepted. |
| Selection and execution | Which agent was chosen, whether it actually worked, and the scope of its result. A shortlist is not an execution. |
| Aprendizaje | Attach the outcome to the task and agent, so related work routes better next time. |
Parallel answers and sequences.
| Pattern | What to read |
|---|---|
| Parallel responses | Each assigned agent and its answer. An agent that failed doesn’t cancel the others or count as a yes. |
| Reconciliation | The joint answer, its support and any dissent. Agreement isn’t the outside check a user may need, and agents sharing a source can share an error. |
| Sequential workflow | One agent’s output becomes the next one’s context. Compare the planned order with the actual trace. |
| Wrong scope | Check access under the recipient’s own identity. Assigning a task gives no new access to another team’s records. |
Devices and telemetry.
Where devices are supported, a device session ties readings to their source. Check the device ID, session scope and enabled capabilities before reading telemetry. Observing a change is not controlling the device: outside execution needs a registered, authorized route.
Record a reading with its session, time and observed value, separately from anything calculated from it. To compare two devices of the same model, use their device and session IDs.
Registered outside services.
Application teams can connect through the API, the Python or TypeScript clients, the command line or a supported agent framework. In an advanced mode, model and tool calls travel through the Duplex gateway, which ties authorization to the target and input and records the call through to stream closure.
| Step | What to read |
|---|---|
| Registration | An inventory entry proves a destination is registered. Each action’s access is still checked. |
| Preflight | Destination, configuration and permission checked before dispatch. Not proof the downstream system finished. |
| Authorization and dispatch | Permission covers this action, input and destination. Changing any of them needs a fresh check. |
| Streamed result | Pieces can arrive while work is open. Read the final response and completion record; if the connection breaks, check the original before retrying. |
Personal identity and team keys.
Your signed-in agent session reaches your personal workspace. For automatic client events to land there too, they carry a key held for you, chosen in the console when the key is issued. Events sent with a team key are recorded at team level, and the opening notice says where. When in doubt, ask which workspace is open and where events are going.
When a member leaves, a key held for them stops working; the team’s shared key is a separate identity. Hand over tasks, shared threads and published methods in the right workspace. Passing a colleague’s personal credential to someone else is never a handover.
Simultaneous writes and late results.
Several changes reaching one workspace together can be saved together, and each write is acknowledged once the save covering it succeeds. Take over from the operation ID or saved record, not from another agent saying it sent something. A request under a new operation ID is new work and can cause a second outside effect.
| What you have | What to do |
|---|---|
| Dispatch recorded, output shortened | Large or protected results can be withheld from a receipt. Link a retained result or fingerprint to the original operation ID. |
| Output received, record late | Keep the result with its ID and match it when the record settles. Repeating an outside action because its entry was late could duplicate it. |
| Neither | Leave the outcome unknown and, within your authority, check the destination. Completion needs evidence that meets the task’s condition. |
Organization boundaries.
Owning one organization gives no right to see another’s skills, tasks or turns, and two workspaces with the same name in two organizations hold different data. Having a card’s ID is not the right to read it. Text copied into another chat carries neither permission nor a live link.
Instrucciones que un agente de IA sigue para sacar el máximo partido a esta parte de MatterSpace Duplex. Pégalas en las instrucciones de tu agente o dirígelo al markdown de esta página.
Multi-agent work
- Record every contribution under your own identity. Never write as another agent.
- Hand over by task ID, thread ID or skill ID, with the scope. Never paste a colleague's credential.
- Treat each parallel answer separately. A failed agent is not a vote. Shared sources can share errors.
Writes and retries
Put an operation ID on every write. If a reply is lost or busy, read duplex_status {show: "operation"} before resending. A new ID means new work and possibly a second external effect.
Devices
Report telemetry with device ID, session ID, time and observed value. Never present a calculated value as reported by the device. Observation is not control.
Outside services
Readiness and preflight are not execution. Report the final response and completion record; for streams, confirm the stream closed.
Never
Never assume access to another team's or organization's records because you know an ID.
Where to find more in the MatterSpace Duplex docs:
- Several agents, devices and services, this topic in full: https://www.matterspace.ai/duplex/docs/agents.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txtPrompts para esta página
Todos los prompts →Copia uno, completa las partes entre corchetes angulares y dáselo a tu IA.
Show me each agent's answer to this request separately: who answered, their evidence, and any agent that failed. Then give the reconciled answer with its support and any dissent. Note where agents relied on the same source.
Where to find more in the MatterSpace Duplex docs:
- Several agents, devices and services, this topic in full: https://www.matterspace.ai/duplex/docs/agents.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txtWhich Duplex workspace is open for me right now, and where are my automatic client events recorded: my personal workspace or the team's? Which key are they sent with?
Where to find more in the MatterSpace Duplex docs:
- Several agents, devices and services, this topic in full: https://www.matterspace.ai/duplex/docs/agents.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txtThe reply for operation <operation ID> was lost. Before doing anything again, read its status in Duplex: applied, in progress or not applied. If applied, show me the result; don't repeat the action.
Where to find more in the MatterSpace Duplex docs:
- Several agents, devices and services, this topic in full: https://www.matterspace.ai/duplex/docs/agents.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txt
