Skip to content
Menu

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.

.md

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 routingWhere it belongs
Task descriptionThe goal and the skill needed. A person’s name alone is little to route on.
Fleet authorizationIf a rule refuses the assignment, no agent receives it. That’s different from a failure after an agent accepted.
Selection and executionWhich agent was chosen, whether it actually worked, and the scope of its result. A shortlist is not an execution.
LearningAttach the outcome to the task and agent, so related work routes better next time.

Parallel answers and sequences.

PatternWhat to read
Parallel responsesEach assigned agent and its answer. An agent that failed doesn’t cancel the others or count as a yes.
ReconciliationThe 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 workflowOne agent’s output becomes the next one’s context. Compare the planned order with the actual trace.
Wrong scopeCheck 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.

StepWhat to read
RegistrationAn inventory entry proves a destination is registered. Each action’s access is still checked.
PreflightDestination, configuration and permission checked before dispatch. Not proof the downstream system finished.
Authorization and dispatchPermission covers this action, input and destination. Changing any of them needs a fresh check.
Streamed resultPieces 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 haveWhat to do
Dispatch recorded, output shortenedLarge or protected results can be withheld from a receipt. Link a retained result or fingerprint to the original operation ID.
Output received, record lateKeep the result with its ID and match it when the record settles. Repeating an outside action because its entry was late could duplicate it.
NeitherLeave 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.

Prompts for this page

All prompts →

Copy one, fill in the parts in angle brackets, and give it to your AI.

Ask your AICompare answers from several agents
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.txt
Ask your AIWhere are my events going?
Which 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.txt
Ask your AIDid that action already happen?
The 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