Learn a process from observations
Teach what happened. Ask what comes next.
Describe the state before an action, what you did and what you saw, and Duplex learns the process. Ask for the next state with its support, see where evidence runs out, and find the observation that settles a question.
Teach a transition or a whole run.
Give the starting state, the action, the state you observed afterwards and the conditions at that step. Keep observations about the same process in a named world, so two teams can use “ready” for different things without mixing their evidence.
| Pieza | How to prepare it |
|---|---|
| Starting state | What you saw just before the action. If it differed from the plan, record what was observed. |
| Action | What actually happened. Don’t enter an action guessed from its result as if it was seen. |
| Next state | The result you actually observed. Don’t pull in observations from other times. |
| Conditions | Anything known that could explain different outcomes for the same start and action. |
| New or resent | Give each independent observation its own operation ID, and keep the same ID when resending after an interruption. |
Runs, lists and repeats.
| You send | What it means |
|---|---|
| An ordered run | Up to 64 steps in one call, each starting from the last one’s result. Send longer runs in named parts, keeping what links the end of one to the start of the next. |
| An independent list | Up to 250 observations in one call, each with its own conditions. |
| A repeated step | Two occurrences in a real run are two observations. The same record resent after a disconnect is one. The return summary shows what was counted. |
Tell your AI whether it is sending one run in order or a collection of separate observations. Leaving one step out of a run changes the routes a later plan can follow.
Write conditions that compare.
“Small machine” and “the smaller one” mean the same to colleagues but become two different values. Agree on a short list of condition names and values, and one unit for numbers. Input size, machine class and whether work was chunked are three conditions; if you only measured the first, leave the others unknown.
Ask what comes next, with its support.
Name the world, the starting state, the action and the conditions you care about. Ask for the number of supporting observations and how outcomes split under those conditions. When the same start and action produced several outcomes, the reported confidence never exceeds the observed share of the leading one. A combination of conditions never seen together is flagged.
Confidence grows with repeated, agreeing observations and falls with contrary ones. Ten records that all describe the same event are not ten observations: keep identities and the source of repeats.
| Leer | How to use it |
|---|---|
| Conditions applied | The conditions the query actually used. Different wording in storage can mean a different subset. |
| Observed share | Where a pair produced several outcomes, the share of the main one. |
| Fit | How well the learned model represents the record. A high fit can sit beside real disagreement in the observations. |
| Unseen combination | Conditions each seen before but never together at that step. This is where a real observation would change the decision. |
Partial observations.
With unknowns marked, a state and action never observed have no next state in the answer. Where estimates are allowed, an estimated result is labeled as one. Keep that label when you pass the result on.
| Label | What it means |
|---|---|
observed | The entity or value was seen in this observation. |
not_seen | This observation didn’t cover it. The last known value and time can be kept. |
gone | It was absent from the area inspected, or someone reported its absence. |
one_of / predicted | Several possibilities remain, or the value is a prediction. If a plan relies on it, read the assumption. |
Three choices at an unobserved step.
| Choice | When to use it |
|---|---|
| Stop at the gap | For work that must be observed throughout. Keep the last supported state and hand the open condition to whoever can measure it. |
| Mark the unknown | The usual reading. No named outcome is given, and the answer helps you choose which trial to run. |
| Allow an estimate | Where enabled, your AI can give a possible result clearly marked as its own estimate. When the real outcome is known, record it as a fresh observation. |
Find the first step that separates the observed part of a plan from the estimated part. That is where the next measurement matters most.
Relationships a world proposes.
A world can propose how observed entities fall into kinds, what their properties do and how they relate: a component belongs to an assembly, a reading refers to an instrument, a step depends on another. Open the observations behind a proposed relationship. Supported, tentative and refuted relationships keep separate standings, and a few observations can rightly yield none.
An association among recorded events is where an investigation into cause starts, not where it ends.
From a conflict to a settling observation.
Even when no observed path reaches a goal, Duplex can suggest the trial most likely to resolve the uncertainty. An informative trial doesn’t complete a task, and a suggestion never widens your AI’s permission to act.
- Locate the conflictFind the world, state and action that produced two outcomes. Check two different situations weren’t given the same name.
- Ask for the explanationsRead the observations behind each and the condition that separates them. If none does, keep the uncertainty with the finding.
- Choose what to observePrioritize observations where the explanations disagree. Your team runs the trial, with its own permissions.
- Send the result backAdd the conditions, action and outcome to the same world, then read how the distribution changed.
What a failed run teaches.
Report how each run ended. Steps from a run reported successful can help recommend the next action towards that goal; a failed run never counts as a successful route, though the outcome observed at the failing step is still worth keeping.
Sorting two shifts’ events by time alone can make one machine’s output look like another’s input. If you can’t confirm the link between pieces of a run, send independent observations.
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.
Teaching observations
Use duplex_learn {what: "transition"} with world, starting state, action, next state and conditions.
- One ordered run: up to 64 steps per call; split longer runs into named parts.
- Independent observations: up to 250 per call.
- Give each independent observation its own
operationID; reuse the ID only when resending the same event. - Never enter an action inferred from its result as observed.
Asking what comes next
Call duplex_plan {op: "predict"} with world, state, action and conditions. Report: expected next state, the number of supporting observations, every outcome seen and its share, and any unseen combination of conditions. Keep observed, not_seen, gone, one_of and predicted labels as they are.
World view
duplex_plan {op: "world"} returns proposed kinds, properties and relationships. Report their standing (supported, tentative, refuted) with the observations behind them.
Settling a conflict
Report the conditions that separate the outcomes, propose an observation where explanations disagree, and record the result in the same world. A suggestion is not permission to run a trial.
Never
- Never report an estimate as an observation.
- Never count retries or copies of one event as independent support.
- Never present association as proven cause.
Where to find more in the MatterSpace Duplex docs:
- Learn a process from observations, this topic in full: https://www.matterspace.ai/duplex/docs/observations.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.
Record this observation in the Duplex world "<world>": starting state "<state>", action "<action>", observed result "<result>", conditions: <conditions>. It is an independent observation. Tell me what was counted.
Where to find more in the MatterSpace Duplex docs:
- Learn a process from observations, this topic in full: https://www.matterspace.ai/duplex/docs/observations.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.txtIn the Duplex world "<world>", from state "<state>", what follows action "<action>" under conditions <conditions>? Give me the expected result, how many observations support it, every outcome seen with its share, and any condition combination that has never been observed.
Where to find more in the MatterSpace Duplex docs:
- Learn a process from observations, this topic in full: https://www.matterspace.ai/duplex/docs/observations.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.txtIn "<world>", the same start and action produced different outcomes. Show me the observations behind each explanation and the condition that separates them. Then suggest the single observation that would best settle the question. Don't run anything.
Where to find more in the MatterSpace Duplex docs:
- Learn a process from observations, this topic in full: https://www.matterspace.ai/duplex/docs/observations.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
