STK-03 · The Physical AI Stack

Agentic Engineering for Physical AI: Why the Robot Loop Isn't the Software Agent Loop

Agentic engineering — harness, memory, evaluation and oversight — mapped onto the physical AI stack: why a robot's perceive-decide-act loop carries physical stakes and real-time deadlines a software agent never faces.

Physical AI technology stack, from sensing to actuationPERCEPTIONcameras · lidar · force-torqueWORLD MODELstate estimationPOLICY / VLAplanningCONTROLROS 2 · real-time loopACTUATIONmotors · grippersSTK-03 · SIGNAL PATH

A software agent that calls the wrong tool sends a malformed API request. A physical agent that calls the wrong tool moves a gripper into a person’s hand. That single difference in consequence is the reason “agentic engineering” — the discipline of building, evaluating and operating AI agents reliably in production — cannot simply be copy-pasted from chatbots and coding assistants onto robots. The physical AI stack already has its own loop: sensors feed a world model, a policy decides, a control layer translates that decision into motor commands, actuators execute it. Agentic engineering doesn’t replace that loop. It’s the missing discipline for treating it like a production system instead of a research demo — giving it a harness with a real safety boundary, memory that survives across a robot’s operating life, evaluation that happens in simulation before a single real actuator moves, and oversight that’s designed into the loop rather than bolted on afterward.

This piece maps the four practical pillars of agentic engineering — harness, memory, evaluation, governance — directly onto the physical AI stack described in our pillar guide to that stack: perception, world model, policy, control, actuation. The goal isn’t another description of the stack itself. It’s a working answer to a narrower question: what changes, concretely, when the “agent” in “agentic engineering” has a body.

What is agentic engineering, and why does it matter for a robot?

Agentic engineering is the engineering discipline of designing, building, evaluating and operating AI agents reliably in production — not a single clever prompt, but the full lifecycle of a system that pursues a goal rather than answering one message. It draws on prompt engineering (what you tell the model this turn), context engineering (the architecture of everything else the model sees — retrieved documents, tool outputs, history), harness engineering (the execution environment, tooling, lifecycle management, observability, and governance around the model), inference, memory, evaluation, and code engineering — pulling from each without being reducible to any of them.

That last distinction matters more in robotics than almost anywhere else, because it’s tempting to treat “the model got smarter” as the whole story. Industry commentary on production AI agents in 2026 consistently makes the opposite point: teams that succeed in production tend to invest more in the harness and the context around the model than in the sophistication of the orchestration on top of it. A capable policy model bolted onto a fragile harness fails in production for the same reason a capable coding agent fails without proper tool permissions and logging — the intelligence was never the bottleneck; the surrounding engineering was. For a robot, “the surrounding engineering” includes things a software team never has to build: a safety-rated stop, a control loop with a hard latency budget, and a certification process before the system is allowed anywhere near a person.

Here’s the mapping this article works through in detail, layer by layer:

Agentic engineering concern Software agent Physical AI stack layer What’s physically different
Context engineering Retrieved documents, tool outputs, chat history Perception feeding the world model Context is noisy, partial, and generated by moving your own sensor, not queried on demand
Harness engineering Sandboxing, tool permissions, kill switch Control layer + actuation, safety-rated stop The kill switch has to physically arrest motion within milliseconds, not just revoke an API key
Memory Context window, vector store, session log State estimate (working), task episode (session), fine-tuning corpus (long-term) “Forgetting” a bad state estimate mid-task isn’t a UX problem, it’s a fall or a collision
Evaluation Held-out test sets, sandboxed eval harnesses Simulation and digital twins, sim-to-real testing A failed eval run in simulation is cheap; a failed eval run on hardware is not
Governance / oversight Human approval steps, audit logs Safety certification, teleoperation fallback Oversight has to be designed into the envelope in advance — there’s no time to approve a single motor command

Each row gets its own section below. Read together, they answer the question this article exists to answer: agentic engineering for physical AI is not “the same discipline, applied to robots.” It’s the same vocabulary, describing a fundamentally different set of constraints — because the loop shown in the diagram above this paragraph doesn’t stop at a screen.

How is a robot’s decision loop different from a software agent’s loop?

A software agent’s loop, in its simplest form, is perceive (read context) → decide (choose a tool call or a response) → act (execute the call) → observe (read the result) → repeat. It’s a pattern borrowed, whether the framework authors credit it or not, from decades-older robotics control theory. Robotics got there first, under a different name: Sense–Plan–Act, first implemented in the Shakey project at Stanford Research Institute in the late 1960s, and still the skeleton underneath the perception–plan–act loop that every embodied system runs today, however much learned policy sits on top of the classic architecture.

The vocabulary converged because the shape of the problem is genuinely similar: an entity that senses a state, reasons about what to do, acts, and then has to deal with a changed situation on the next cycle. But three differences in the physical version of that loop are the reason this article exists, and none of them are cosmetic.

The stakes are physical, not just informational. When a software agent calls the wrong tool, the failure mode is a bad API response, a malformed file, or in the worst case a security incident — serious, but reversible with a rollback, a patch, or an apology. When a physical agent’s policy outputs the wrong action, the actuator has already moved before anyone can intervene. A dropped payload, a collision, a crushed hand are not states you roll back. This is the same reversibility asymmetry that separates physical AI from generative AI generally, and it’s why every layer of agentic engineering — harness, evaluation, governance — has to be built to a higher bar when the “action” a policy takes is a motor command rather than a text completion.

Latency has hard, physics-imposed deadlines, not UX-imposed ones. A software agent that takes three extra seconds to respond degrades user experience. A robot arm mid-grasp that takes three extra seconds to decide has already dropped what it was holding, because gravity does not wait for a network round trip. This is precisely why the physical AI stack’s control layer has to run locally, on-robot, inside a real-time budget — a constraint that shows up architecturally in the dual-system split used by modern policy models, where a fast, low-level action module runs at high frequency while a slower reasoning module plans less often. Agentic engineering for physical AI inherits this: the “harness” that wraps the policy model cannot itself introduce latency the control loop can’t absorb.

The harness has to include physical safety, not just execution sandboxing. A coding agent’s harness contains blast radius inside a container, a permissions scope, a rate limit. None of those primitives stop a robot arm. The physical equivalent of a sandbox is a set of engineering controls enforced partly in software and partly in hardware and firmware: a safety-rated monitored stop, speed-and-separation monitoring, power-and-force limiting, geofencing. These are the four human-robot-collaboration methods formalized in the ISO 10218 safety-standard series, and they exist precisely because “the model decided not to do that” is not an acceptable safety argument when a person is standing next to the robot. A harness for a physical agent has to assume the policy will eventually be wrong, and constrain the consequence of that wrongness in physics, not just in permissions.

Harness engineering: what surrounds the policy model on a real robot

Harness engineering, in the agentic-engineering vocabulary, covers the execution environment, tooling, context management, lifecycle handling, observability, verification and governance that surround a model — everything that turns a capable model into a system you can actually run unattended. On a robot, each of those sub-concerns maps onto a physical counterpart, and the mapping is where most of the engineering effort actually lives.

Execution and tooling become the control layer: the middleware — typically ROS 2 in production robotics today — that receives a policy’s high-level intent (“grasp the object,” “move ten centimeters left”) and translates it into the low-level, safety-checked motor commands an actuator executes. This is the layer that has to enforce, in real time, that a command coming out of a vision-language-action model doesn’t exceed a joint’s torque limit or send an arm through a workspace boundary before the command ever reaches the motor. A coding agent’s tool call either succeeds or fails cleanly; a robot’s tool call has to pass through a safety-checked translation layer regardless of what the policy asked for.

Context management becomes sensor fusion feeding the world model. A software agent’s context is retrieved on demand — a document fetched, a tool result returned. A robot’s context is generated continuously by the robot’s own movement: turning a camera changes what the next frame shows, closing a gripper changes what a force sensor reads next. The robot sensor stack exists to turn that noisy, partial, self-generated stream of exteroceptive and proprioceptive signals into a single, usable state estimate — the physical equivalent of context engineering, except the “documents” are frames of camera data arriving dozens of times a second and the retrieval step is a Kalman filter or a learned fusion model rather than a database query.

Lifecycle and observability become fleet-level monitoring of a robot’s operating state — battery and energy status, joint and drivetrain health, task progress, localization confidence, and safety events, tracked continuously and versioned alongside every update to the policy model running on the robot. Where a software agent’s lifecycle management means versioning a prompt or a model checkpoint, a robot’s lifecycle management has to track firmware, middleware, and policy versions together, because a mismatch between them is exactly the kind of integration failure that shows up at the boundary between layers rather than inside any single layer — the seam between a foundation model like Isaac GR00T and the middleware translating its output is a documented source of exactly this kind of friction.

Governance becomes safety certification. A software agent’s governance layer is audit logs, approval workflows, usage policies. A physical agent’s governance layer includes those, but adds a formal, external, auditable requirement that has no equivalent in pure software AI: certification against safety standards such as the ISO 10218 series before the system is allowed to operate near people. You cannot A/B test your way past a certification requirement, and no amount of prompt engineering substitutes for it. This is arguably the single starkest way agentic engineering diverges when applied to physical AI: governance stops being a policy document and becomes a hardware-and-process gate with a certifying body on the other side of it.

Memory across a robot’s operating life: working, session, and long-term

The three-tier memory pattern common in software-agent design — working memory (the current context window), session memory (what happened in this conversation or task run), and long-term memory (a persistent store the agent can draw on across sessions) — maps onto physical AI with the same three tiers, but the physical instantiation of each one is unrecognizable next to its software counterpart.

Working memory is the state estimate, built continuously by sensor fusion in the robot sensor stack and gone the instant it’s superseded by the next sensor reading. A software agent’s context window persists until it’s explicitly cleared or the conversation ends. A robot’s working memory is recomputed constantly and has no equivalent of “scrolling back” — if the state estimate is wrong right now, the robot is acting on a wrong picture of the world right now, with no way to consult an earlier, better estimate mid-motion. This is why sensor fusion quality is treated as a first-order engineering concern rather than a preprocessing detail: a bad working-memory update on a robot doesn’t produce a slightly worse answer, it produces a wrong action.

Session memory is a task episode — a single pick, a single delivery run, a single manipulation sequence — logged for review, debugging and, critically, later use as training data. This is where teleoperation and data collection intersect with memory design: a recorded episode where a human operator demonstrates the correct action is functionally a labeled training example, not just a log line. A software agent’s session memory informs the next turn of the same conversation. A robot’s session memory more often informs the next version of the policy model entirely, via retraining, rather than the robot’s own next action within the same task.

Long-term memory is the accumulated demonstration and simulation corpus that gets folded back into the next fine-tuning pass of a foundation model such as Isaac GR00T or a comparable vision-language-action policy — not a retrievable knowledge base an agent queries mid-task the way a software agent might query a vector store. This is a structurally different relationship to memory: a software agent’s long-term memory is read at inference time; a robot’s long-term memory is consumed at training time, batched, and shipped as a new policy checkpoint rather than fetched live. The practical implication is that “updating a robot’s memory” usually means a retraining and redeployment cycle, not a database write — closer in spirit to a software release than to an agent appending a note to itself.

Evaluation: why simulation has to be the physical agent’s test suite

Software-agent evaluation runs an agent against held-out tasks in a sandboxed environment and scores the outcomes before anything reaches production. Physical AI has a direct structural equivalent — simulation and digital twins — but the asymmetry in the cost of a failed evaluation run is what makes physical-AI evaluation a heavier engineering investment than most software-agent teams ever build.

A failed evaluation run in a sandboxed software environment costs compute time and, at worst, a slightly awkward log entry. A failed evaluation run on real robot hardware can cost the hardware itself, the product being handled, days of downtime, or — the case every safety standard in this field exists to prevent — an injury. That single cost asymmetry is why physical AI teams run policies through thousands or millions of simulated trials before a single real actuator moves, why domain randomization (training across deliberately varied simulated conditions) and real-to-sim transfer (rebuilding accurate simulations from real-world data) are treated as core engineering disciplines rather than optional polish, and why the sim-to-real gap — the measured drop in success rate, roughly 15–30% even with aggressive domain randomization according to a 2025 review — is tracked as a named, first-class metric rather than folded into a general “accuracy” score the way a software agent’s eval suite might report one number.

There’s a second layer to physical-AI evaluation that software agents rarely need: evaluation has to happen at the seams between stack layers, not just at the policy’s output. A vision-language-action model can score well on a held-out manipulation benchmark and still fail once its outputs pass through the control layer’s safety-checked translation into motor commands, because the benchmark evaluated the policy in isolation, not the full harness the policy runs inside on the actual robot. Evaluating a physical agent, in other words, means evaluating the loop, not the model — closing the gap between “the model is good” and “the system is safe to run” is most of the actual work.

Governance and oversight: what “human in the loop” means at 200 Hz

Human oversight of a software agent typically means an approval step somewhere in the loop — a human reviews a proposed action before it executes, or reviews an audit log afterward. That pattern breaks down the moment the loop runs faster than a human can meaningfully review. A vision-language-action policy running its fast, low-level action module can issue motor commands at rates measured in hundreds of hertz; there is no version of “a human approves this step” that fits inside that timing budget.

What replaces per-action approval, in a well-engineered physical agent, is oversight designed into the envelope ahead of time rather than exercised action by action. Safety certification against the ISO 10218 series is one such mechanism — it’s oversight exercised once, rigorously, before deployment, rather than continuously during operation, and it constrains what the system is physically capable of doing regardless of what the policy model outputs on any given cycle. Speed-and-separation monitoring and power-and-force limiting are oversight expressed as hardware and firmware constraints rather than as a review workflow. And teleoperation — the same channel used to collect training data — doubles as a fallback oversight mechanism: a human operator can seize direct control when the automated loop’s confidence drops or a situation falls outside the policy’s training distribution, which is a materially different kind of “human in the loop” than a chatbot’s approve-or-reject button.

This is also where physical AI’s governance layer picks up a regulatory dimension software agents mostly don’t carry yet: the machinery-safety framework a robot has to satisfy sits alongside emerging AI-specific regulation, and for teams operating in the EU the two increasingly interact — a subject our market and regulation cluster covers in the context of the EU AI Act and machinery regulation. The practical takeaway for an engineering team is that governance for a physical agent isn’t a policy document sitting next to the code. It’s a certification requirement that has to be satisfied before the harness is allowed to run at all.

Where agentic engineering practice for physical AI still gets it wrong

A handful of failure patterns recur often enough to name directly, and most of them come from importing a software-agent mental model wholesale without adjusting for the physical constraints above.

Treating simulation as optional polish rather than the primary evaluation harness. Teams under schedule pressure sometimes cut simulated evaluation short and lean on real-hardware testing to “find the real bugs anyway.” This inverts the cost structure: real-hardware failures are the expensive ones. The sim-to-real gap exists precisely because simulation and reality diverge, but skipping simulation doesn’t close that gap, it just moves the discovery of every failure mode onto the most expensive possible surface to discover it on.

Copying a software agent’s memory architecture without separating working, session, and long-term tiers physically as well as logically. A team that treats a robot’s state estimate as if it persists the way a chat session does will eventually act on stale sensor data. The physical instantiations of these tiers — a continuously recomputed state estimate, a logged task episode, a training corpus consumed at retraining time — aren’t interchangeable, and conflating them is a common source of subtle, hard-to-debug failures.

Assuming a cloud-hosted policy call is fine because “the model is smart enough.” Model capability doesn’t relax a hard real-time budget. If the control loop needs a decision within milliseconds and the policy call involves a network round trip, the model’s accuracy is irrelevant to whether the system is safe — this is the fast-loop/slow-loop tension the physical AI stack is built around, and no amount of model improvement substitutes for keeping the safety-critical path local.

Bolting safety certification on at the end instead of designing the harness around it from the start. Teams that treat ISO 10218 compliance as a final checklist item, rather than a constraint that shapes the control layer and actuator selection from the beginning, routinely discover late that their architecture needs rework to pass certification — an expensive place to discover a governance gap.

Under-instrumenting observability, then discovering a fleet-wide failure mode only after it’s widespread. Because a physical agent’s failure modes are safety-relevant, not just quality-relevant, the case for investing early in fleet-level telemetry and anomaly detection is stronger than the equivalent case for a software agent, where a bad output is usually caught by the next user interaction rather than by an injury report.

A starting checklist for teams building agentic physical AI

Putting the pieces above into a rough operating order: start by defining the harness boundary before writing a line of policy code — what safety-rated stop, what speed and force limits, what geofencing constrains this system regardless of what the model decides. Build the evaluation harness in simulation next, and treat the sim-to-real gap as a tracked metric, not an afterthought, before any real hardware runs the policy unsupervised. Design the three memory tiers explicitly and separately — state estimation, episode logging, and the retraining corpus — rather than assuming a software agent’s context-window pattern will translate. Keep the safety-critical control path local and within a real-time budget, and treat any cloud-hosted reasoning as a slow loop that never blocks the fast one. And build governance in from the start: certification requirements and human-oversight fallback channels like teleoperation belong in the initial architecture, not the deployment checklist.

None of this replaces the underlying physical AI stack — the world models, VLA policies, ROS 2 middleware and edge compute that do the actual sensing, deciding and moving. What agentic engineering adds is the discipline for running that stack reliably, unattended, at scale — which is a different job from making the model smarter, and, on a robot, a job with a much higher floor for what “reliable” has to mean. For the full layer-by-layer breakdown of the stack this framework sits on top of, see the physical AI stack hub; for precise definitions of the terms used throughout this piece, the glossary is the reference.

Frequently asked

Is agentic engineering just a rebrand of robotics software engineering?

No, though the overlap is real. Robotics software engineering is the broader discipline of building and controlling machines — control theory, real-time systems, safety-rated hardware. Agentic engineering is a narrower, newer discipline that grew out of large-language-model agents: how to give a model that decides and acts a reliable harness, persistent memory, pre-deployment evaluation, and governance across its full lifecycle. Applying it to physical AI means asking which parts of that discipline transfer to a robot's perception-decision-actuation loop, and which parts need a physical rewrite because software sandboxing has no equivalent for a moving gripper.

What exactly does "harness" mean for a physical robot, as opposed to a coding agent?

For a coding agent, a harness is the execution environment around the model — sandboxing, tool permissions, logging, a way to stop it before it does something destructive to a file system or a cloud account. For a physical robot, the harness is that plus something a sandbox can never fully simulate: a safety-rated monitored stop, speed-and-separation limits, geofencing, and force/torque ceilings enforced in hardware and firmware, not just in a permissions file. A coding agent's harness contains a mistake inside a container. A robot's harness has to contain a mistake inside physical space occupied by people.

Does a robot's "memory" work the same way as an LLM agent's memory?

The three-tier pattern — working, session, and long-term memory — carries over conceptually, but the contents differ. A software agent's working memory is its context window; a robot's closest equivalent is its state estimate, built continuously from sensor fusion and gone the instant the task ends. Session memory for a robot is one task episode — the demonstration or run logged for review. Long-term memory is the accumulated body of demonstration and teleoperation data that gets folded back into the next fine-tuning pass of the policy model, not a retrievable knowledge base the agent queries mid-task.

Why can't a robot just call a cloud model for every decision, the way a software agent calls an API?

Network latency in the physical world is not an inconvenience, it's a risk to physical safety. A software agent can tolerate a slow API call by waiting. A robot arm mid-grasp cannot pause gravity while it waits for a round trip to a datacenter. That's why the fast, safety-critical part of the loop — the control layer — has to run locally, on-robot, within a hard real-time budget, while heavier reasoning can stay in the cloud or run less frequently. It's the same fast-loop/slow-loop split that shows up throughout the physical AI stack, from dual-system VLA architectures down to the classic Sense-Plan-Act pattern.

How do you evaluate a physical AI agent before it goes into production, if you can't just run it against a held-out test set?

You run it against a held-out test set, but the test set is a simulated environment, not a spreadsheet of expected outputs. Simulation and digital twins serve as the evaluation harness for physical agents the way sandboxed test suites serve software agents — except a failed simulation run costs compute time, while a failed production run can cost hardware, product, or a person's safety. That asymmetry is exactly why physical AI teams sink far more engineering effort into pre-deployment evaluation than most software-agent teams do, and why the sim-to-real gap is treated as a first-class engineering problem rather than a footnote.

What does "human in the loop" mean for a robot that has to react in milliseconds?

It rarely means a human approves each individual action — there isn't time. In practice it means the human's oversight is designed into the harness itself, ahead of time: safety certification that has to be satisfied before deployment, geofencing and speed limits that constrain what the agent can physically do regardless of what the policy outputs, and teleoperation as a fallback channel a human can seize when the automated loop is uncertain. The checkpoint moves from "approve this step" to "the system was built so this step can't leave a bounded envelope."

Is agentic engineering for physical AI a solved discipline yet, or is this still emerging?

Still emerging, and worth treating with some caution as a label. The underlying engineering practices — harness design, staged evaluation in simulation, fleet-level observability, safety-rated control — predate the term "agentic engineering" by years in robotics; what's new is naming them as one coherent discipline and importing techniques (memory architectures, evaluation harnesses, context engineering) from the software-agent world where they're a genuine fit. Treat this framing as a useful lens for organizing engineering work, not as an industry standard with a certification body behind it.