Start with a working contract
The numeric trajectory guides use one two-actuator example throughout. They cover the production URL, authentication, exact configuration bodies, array shapes, execution hooks, and stage handoffs.Schemas and configuration
Define state, goal, action, timing, and outcome conventions. Create and configure a Domain.
Sequence acquisition
Request a sequence and return the actual actions, measured states, and outcome.
Structural stages
Export acquired records, then select, shorten, and order executions.
Contextual refinement
Learn context-dependent offsets around the selected base.
Retained use and recovery
Reconnect to retained state, run without learning, and handle interrupted requests.
The operating boundary
Machina separates the learner from the system that senses and acts.
An authored controller is not automatically leakage. A fixed actuator or inverse-kinematics layer can execute a learned target when the example is about acquiring those targets. A supplied route is not appropriate when the withheld capability is route acquisition.
Empty start means no applicable task-specific learned state. It does not mean no simulator, observations, actuator interface, safety envelope, outcome definition, or execution controller.
Choose the API path
Choose from the output your application needs to execute.
The numeric trajectory workflow uses
/trajectory/configure, /trajectory/propose, and /trajectory/observe. Its payloads are separate from generic Domain query and feedback payloads. Use the schema for the mechanism you configure.
Setup examples
Example 1: Image-goal manipulation with a fixed executor
Use this pattern when the learner should acquire task-level movement while conventional software handles low-level actuation.
The application loop is:
- Reset to a new layout.
- Record only the image-derived and proprioceptive state available before movement.
- Ask Adapt-1 for the complete end-effector sequence.
- Convert each target through fixed inverse kinematics and execute it.
- Measure pickup and placement consequences.
- Return the declared outcome and retain the resulting learner state.
Example 2: Whole-sequence differential-drive control
Use this pattern when a complete movement plan can be proposed before motion starts.
Adapt-1 emits all sixty values before movement. The executor does not ask for another decision while the platform is moving.
This setup is useful when the intended unit of learning is a complete movement program. To make the controller reactive, shorten the plan into blocks and re-observe between them.
Use the configuration guide to declare the fourteen state coordinates, two action coordinates, horizon of thirty, and goal mapping. The wheel-speed scale and 0.4-second duration belong to the executor.
Example 3: Chunked continuous flight control
Use command blocks when a whole episode is too long for one open-loop proposal but a decision on every simulator tick is unnecessary.
The loop is:
- Observe the current flight state.
- Request one four-second command block.
- Execute the full block without replanning inside it.
- Return the measured trajectory consequence.
- Request another block if the episode remains active.
Example 4: Retained base with contextual correction
Use this pattern when an acquired behavior mostly works and a measured change calls for a bounded adjustment.
A correction loop can:
- Confirm the preserved parent in its original condition.
- Observe the changed condition before action.
- Request a bounded residual.
- Compose the parent and residual deterministically.
- Execute the corrected behavior.
- Return the measured consequence.
- Retain the correction separately from the parent.
Example 5: One-action persistent-world control
Use this pattern when the same world continues across decisions and every action changes the next observation.
Keep one episode identity until the real reset boundary. Every record should contain the ordered step, pre-action state, selected and executed action, next state, consequence, and terminal flag.
The action primitives are authored public capabilities. The successful route, action order, and objective strategy are not supplied.
Use Sequential Discovery to configure this discrete decision workflow. Its action schema and feedback differ from the numeric trajectory API.
Example 6: Staged repertoire and composition
Use separate stages when generating behavior, selecting among candidates, composing a sequence, and learning corrections should remain auditable.
At every handoff, keep the source learner identity, state version, candidate identifier, complete structured output, decoder version, qualification cases, and deterministic import rule.
Not every task needs every stage. Skip selection when only one useful candidate exists. Skip ordering when one result already describes the complete action. Skip refinement when the parent does not have a bounded, measurable residual problem.
Follow Structural stages for paginated record export, separate stage Domains, nomination and confirmation, and transferring
selected_execution unchanged.
Turn an example into your integration
Choose the decision cadence
Define what Adapt-1 must learn
Write one sentence:Given observable state X, return action or sequence Y to improve measured consequence Z over horizon H.Then list everything supplied by the harness. Sensor calibration, actuator mapping, inverse kinematics, motor control, safety rules, and physics may be valid infrastructure. A successful trajectory, correct route, target-derived oracle value, or hidden evaluator answer is not valid when it supplies the capability being tested.
Preserve the application record
For every decision or attempt, keep:- stable run, episode, step, trial, and event identifiers;
- the exact pre-action observation;
- the complete Adapt-1 response;
- whether Adapt-1, application logic, a controller, or a fallback selected the executed operation;
- the exact decoded operation sent to the environment;
- the measured after-state and native consequence;
- the feedback request and acknowledged response; and
- learner, adapter, executor, simulator, and outcome revisions.
Choose the state boundary
Use Choose a learning setup to distinguish:- empty-state acquisition during the run;
- a separate acquisition phase followed by frozen use;
- a separately acquired state that continues adapting; and
- a frozen read of retained state.
Freeze before evaluation
Reserve new contexts before acquisition. During frozen use, stop learner writes and exploration, use unseen episode IDs, preserve abstentions, and verify that task-specific state remains unchanged. Keep any application fallback separate from the Adapt-1 result.Continue into the API guides
Choose a learning setup
Distinguish zero-start acquisition, separate acquisition, frozen use, and continued adaptation.
Configure numeric trajectories
Set the mechanism and numeric schema before requesting actions.
Sequential Discovery
Learn state-dependent action values and delayed credit from ordered interaction.
Structural stages
Transfer acquired executions and compare selection, deletion, and ordering candidates.
Contextual refinement
Learn and apply measured corrections around a retained base.
Retained use and recovery
Reconnect to the same Domains and reconcile interrupted trajectory requests.