Skip to main content
NewEpisode 3a is out: Carry the conversation onWatch →
ROBOTICS · AI AGENTS · FOR ENGINEERS

Read the real code that makes machines move.

Video courses on real robot firmware and on building AI agents, one mechanism per video. The code on screen is quoted with file and line, and every number on screen comes from running it.

No account needed for the first episode · English and 中文

motor_control/motor_ctl_sm.c:381● real run · SIL
381if (axis->motor_ctl_sm_input.motor_enable == MOTOR_CTL_SM_MOTOR_ENABLE &&
382 axis->motor_ctl_sm_output.motor_enable_last == MOTOR_CTL_SM_MOTOR_DISABLE)
383{
384 ModeCheckInInit(axis, axis_dw); // 使能前初始化
385 axis->motor_ctl_sm_output.state = MOTOR_CTL_SM_STATE_ENABLE; // 进入使能状态
386}
motor_enablestate
0 → 1DISABLE → ENABLE
From episode 8a: the motor enables only on a 0 → 1 edge. Writing 1 again does nothing.
01 / REAL SOURCE

Quoted, never retyped

Every excerpt is cut from the pinned repo with its file and line, so you can open the same spot and keep reading.

02 / REAL RUNS

Measured, not drawn

The firmware runs on a laptop simulation. Trip times, currents and state changes on screen come from those runs, and each one comes with the command to repeat it.

03 / ONE MECHANISM

One idea per video

One mechanism and one running example, followed end to end. Slides and practice questions come with every part.

Courses

Four tracks, one way of teaching.

Releasing nowRobotics

Read an open-source robot-joint servo drive line by line: the interrupts and loops, current sampling, encoders, state machines, identification and safety.

63 parts out11.5 h of video37 episodes planned
Releasing nowAI agentsFree with account

Build an agent harness by hand, one mechanism per episode: output contracts, prompts, retrieval, tool calls, the agent loop, context and memory, guardrails and evaluation. Follows the public syllabus of Stanford CS 329Z; not affiliated with Stanford.

7 parts out1.4 h of video22 episodes planned
Releasing nowAI agentsFree with account

Posts from Anthropic's blog, explained one series at a time: each post becomes a few short illustrated videos that follow its argument, redraw its charts from the post's data and link the original. The first series covers The components of agent memory: what agent memory is, what is worth writing down, and how dreaming corrects notes, builds wikis and decides what every session loads. The second covers Building always-on agents: how an agent that feels always on actually sleeps, wakes for short runs, and is built from an event inbox, timers, memory, permissions and an outbox. Every video has Chinese and English subtitles; the agent memory series is narrated in Chinese, the always-on series in English. Not affiliated with Anthropic.

23 parts out2.6 h of video5 episodes planned
Releasing nowAI agents

One project for the whole course: a personal assistant built on Pydantic AI that answers you on Telegram and, by the end, keeps working while you are away. Each episode adds one working piece to the same bot and explains one mechanism, following a real recorded run through your code and into the framework's own source, pinned at pydantic-ai v2.71.0. Every episode ends with a build assignment checked by tests. English narration with Chinese and English subtitles. Not affiliated with Pydantic.

6 parts out1.2 h of video18 episodes planned
Releasing nowDistributed systems

Work through MIT 6.5840 (Spring 2026) one mechanism per episode: MapReduce, RPC over an unreliable network, linearizability, Raft, a replicated KV service and sharding, with real runs of the lab code. Follows the public course materials; not affiliated with MIT.

2 parts out0.4 h of video43 episodes planned
Releasing nowAI voiceFree with account

Read sgl-project/sglang-omni closely by following one text-to-speech request through it: how sound becomes codes and codes become sound again, then the processes, stages, streaming and scheduling that serve it. Every number on screen comes from a real run of the pinned code.

9 parts out2.6 h of video29 episodes planned
Releasing nowRoboticsFree with account

A close reading of the SuperMimic paper (arXiv 2610.28480) in the paper's order: why it wants analytic gradients, the training loop, the world model, then policy learning, the humanoid setup and the experiments. Every toy number comes from a real run of the course's own small implementation; full-scale code is read from a pinned third-party reproduction. Not affiliated with the paper's authors.

7 parts out1.7 h of video12 episodes planned
Releasing nowRoboticsFree with account

Build kissqy's Microduck HD1910 replica, a small walking robot duck. First the big picture: what the duck is made of, what it does 50 times a second, and where its walking comes from. Then the whole build, from testing servos on the bench to the first walk. The details are in the advanced course. Free and non-commercial; not affiliated with Pollen Robotics.

3 parts out0.6 h of video10 episodes planned
Releasing nowRoboticsFree with account

Everything the basic Microduck course leaves out: the servo bus byte by byte, the 20 ms control loop, the 61 numbers the policy reads, how it was trained and moved onto the real robot, then training your own movement and making your own boards. Every byte shown comes from running kissqy's pinned code. Free and non-commercial; not affiliated with Pollen Robotics.

2 parts out0.4 h of video14 episodes planned
Releasing nowBooksFree with account

Marx's Capital for viewers who have never opened it. Season 1 covers all three volumes in nine episodes, each opening with an everyday question (where does profit come from if trade is fair? what are you really selling your boss?) and following Marx's argument in his own order, with the book's examples and numbers worked out on screen. Later seasons read each volume closely. Narrated in English, with Chinese subtitles and bilingual pictures. The text, our reading and the debates are labelled separately; the course neither defends nor attacks Marx.

4 parts out0.8 h of video9 episodes planned

Start here, free

The big map of a joint motor's firmware in three short parts.

All episodes →

Who it's for

Engineers who already know FOC, PWM, interrupts and PID, and now need to know how a real robot joint drive puts them together, from its first interrupt to the bus.

  • Motor-control engineers moving to robot joint motors
  • Embedded engineers who will work on a drive's firmware
  • Teams deciding whether to build on ServoHub
  • No hardware needed: everything runs on a Mac or Linux laptop
FIELD NOTE · FROM EPISODE 7

We found a bug while making a video, and fixed it

After a failed current calibration, clearing the error and enabling again recalibrates, but PWM never comes back on. We reproduced it in simulation, traced it to one flag in system_init.c, and put the fix on its own branch.

See the fix →

Recently released

One membership, every course

Every episode, slides and practice for each part, and new episodes as they come out.