Files
liqiang b119135836
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
2026-08-20 13:12:50 +00:00

8.1 KiB

theme, title, info, author, transition, mdc, lineNumbers, monaco, aspectRatio, canvasWidth, layout, class
theme title info author transition mdc lineNumbers monaco aspectRatio canvasWidth layout class
seriph Lesson 38 — How Does an Agent Turn Plans into Physical Actions? English video course for AI Agents in Depth Bojie Li slide-left true false false 16/9 980 cover cover
Expand · Chapter 9 · Multimodal Interaction

How Does an Agent Turn Plans into Physical Actions?

Planning-control separation, VLA control, safety gates, and Sim2Real

Lesson 38 of 42 · 18 minutes · Robot Manipulation; Planning and Control; VLA Control; Sim2Real Transfer

layout: center class: text-center

The central question
How can slow semantic planning drive fast physical control without losing safety?

Why this problem matters

Planning

A vision-language model selects goals and interprets the scene.

Control

A fast policy turns the current observation into motor commands.

Safety

External gates must constrain forces, motion, workspace, and authority.


Three ideas to keep in view

Two-layer loop

Slow planning chooses subgoals; fast control executes motion

Action chunking

Predict several future controls per expensive inference

Sim2Real

Train across calibrated visual and physical variation


The book's visual model

Vision-Language-Action model architecture
Vision-Language-Action model architecture

Open-loop plan vs. Guarded feedback loop

Open-loop plan

  • Commit to a long motion
  • Assume the world stays fixed
  • Detect errors late

Guarded feedback loop

  • Short action horizon
  • Re-observe continuously
  • Interrupt on state change
Physical autonomy depends on feedback frequency and authority boundaries.

Slow plan, fast guarded control

subgoal = planner.choose(observation, task)
chunk = controller.predict(observation, subgoal)
for action in safety_filter(chunk):
    robot.execute(action)
    observation = robot.observe()
    if world_changed(observation): break

Test the claim

9-9 dry configuration1 min

Inspect a fail-closed robot navigation contract

Observe: Exact model ID, task, camera, three motion tools, decision frequency, and no actuation

Robot safety gates2 min

Run evidence-validator regressions for physical experiments

Observe: Why dry runs, mock artifacts, and unverified motion cannot satisfy completion

Demo budget: 3 minutes · one contiguous terminal block

class: course-terminal

Live demo

Switching to the terminal

$ python chapter9/gemini-xlerobot-navigation/navigation.py

$ python chapter9/xlerobot-teleoperation/test_validator.py && python chapter9/gemini-xlerobot-navigation/test_validator.py && python chapter9/rgb-sim2real-grasping/test_validator.py
Run the command(s), narrate decisions, and point to the observation—not just the output.

What the evidence supports

Finding 1

Planning and control operate at different semantic and temporal scales.

Finding 2

Action chunks reduce inference pressure but delay response to unexpected change.

Finding 3

Physical completion requires calibrated hardware, authorization, measurements, and direct artifacts.


layout: center

Where the claim stops

Boundary condition

A source audit, preflight, validator test, or dry configuration demonstrates architecture and blockers—not a successful robot run.

layout: center

Engineering takeaway

Design rule

Keep physical actions behind external safety gates, short feedback horizons, and measurements the model cannot fabricate.

Continue the experiment


layout: center class: text-center

Pause and apply

Your turn

How quickly must a physical controller reconsider an action when the world changes unexpectedly?

layout: center class: text-center

Chapter 9 complete · Next · Lesson 39
Scale from one Agent loop to several loops that exchange context, artifacts, and control.