A painterly portrait of a small Anki Vector robot wearing smart glasses, framed by a cyan object-detection box labelled 'black robot' and wrapped in green and magenta neon lightning

AR is the future interface for robots

A desk robot you could see and drive through AR glasses, with no phone in the way: that was the itch. Anki's Vector was the obvious place to scratch it, a real little desk robot with a ton of WALL·E charm and a surprisingly open platform.

Vector is also wide open. There's an official Python SDK, and since Anki's cloud shut down the community keeps that SDK usable with a token server called wire-pod. We wanted to keep things as stock as possible, so that's all we leaned on: the robot runs its factory firmware, nothing flashed or jailbroken, just the SDK and the token server it needs to log in. Everything else here is a normal robot, a pair of Snap Spectacles, and a lot of curiosity.

This post is a making-of, roughly in the order it happened. First we got the robot to show its own hidden data in AR. Then we built a fast little game to push the whole thing. And along the way the glasses became how we see it and how we talk to it. Here's the trip.

Where this is going: the robot's own map and live data, painted straight into the room through the Specs.

VectAR OS: the robot's data, in your room

The way we think about the whole thing, VectAR is really an operating system. The body is the robot, the display is the glasses, and the mind is Gemini. A normal computer is built around files and programs. This one is built around context: a live picture of what's happening in the room right now, what the robot senses, its map, what you're looking at or pointing at or saying. Everything runs as one loop. Read the context, decide, act, and the world changes a little. The game is just one program running on top of that.

Here's the clearest example. This is a real capture through the Specs, with nothing added later. The pink boxes are Vector's own map of the room: the walls and objects it has sensed, drawn in AR where they actually are. The green panel above it is its live data: battery, gyro, wheels, head angle, lift, proximity. We don't fake any of it. Vector's own engine already knows all this. We just take that data and paint it into your space.

A real Snap Spectacles capture: a Vector robot on a table with its SLAM map drawn as pink wireframe boxes and a green telemetry panel showing battery, head, wheels and gyro
Real Specs capture: Vector's own map (pink) and live telemetry, drawn straight into the room.

This is the split we chose. For the hockey game, we wrote Vector's brain ourselves: the goalie, the control loop, all of it. For the OS, it's the opposite:

We don't touch the robot's brain. We just make what it already knows visible.

Air hockey with Vector

To push all of this, we built a game: AR air hockey on a real table. The puck lives only in the glasses, at 60fps. You hit it with your hand, a mallet projected under your palm. A real Vector plays goalie: it drives along its line and blocks a puck it literally cannot see, staying in the right spot thanks to a shared field frame and the vision fixes below.

The part that surprised us most was how much the personality carried it. It turns to face you and flashes red eyes before a serve. It lift-jabs and barks on a block, with a comic speech bubble copying the line in AR. It sulks when you score, pink-eyed under a crackle of lightning. Win the match and it dances in a full-table storm. None of that is required, and all of it is why the game feels alive.

A person in smart glasses playing a neon AR air-hockey game on a real table against a small Anki Vector robot playing goalie, score 3-2
The whole idea in one picture: a virtual puck on a real table, and a real robot in goal.
One rally: a hand on one side, a virtual puck in the middle, a real robot defending the other side.
The puck is fake. The saves are real.

The whole look is code, not textures

Quick aside on the neon, because we're a little proud of how it came out. The shapes are all generated in code by a small library called GlowKit: quads, strips, tubes along a spline, rings, electric arcs, and cheap batched dots. The soft glow itself comes from a small set of radial gradient sprites (a disc, a ring, a strip, a spark) on additive, depth-aware materials that GlowKit clones and tints at runtime. So there's no hand-painted scene art, just code-built geometry and a handful of soft gradients composited on the fly.

And it's not just for tidiness. The OS side needs to draw the robot's mind live, its map and its plans and its sensors, and none of that can be baked ahead of time. It has to come straight out of state. So the game's look and the OS's look run on the same little engine. GlowKit is worth being honest about: it's a CLAD solution, not something we hand-wrote. We set the direction and the exact vibe we were after, then ran a lot of feedback loops until the agent's code landed it.

The hard part: where is the robot, really?

Nothing works if you don't know where the robot is. And it turns out everything lies about position.

Vector's own odometry (wheels plus gyro) is good, until a tread slips on a fast turn. Then the heading drifts quietly. We once watched it "drive" more than a metre off its own map, in its own head, while barely moving on the table. Safety checks stopped it from running off the edge, but nothing fixes the drift itself.

Next we tried its cube as a marker, a free reference point. In tests it was beautiful, about 15 mm accurate. In a real game it never fired: the robot looks down at the puck, the cube sits off in a corner, and marker detection needs a steady, close, front-on view. (One trap cost us an evening: turning on Vector's custom object detection crashes its whole vision engine and reboots the robot. The built-in marker path works fine without it. We learned that the loud way.) So we dropped the cube.

What finally worked was looking at the robot from the outside. The Specs camera sees the whole table, so we trained a small YOLO model to find the robot, and matched that with the robot's own SLAM map. That locks the AR field and the real table into one space. Odometry handles the fast movement, while the detector runs more than ten times a second and a confident fix nudges the map back into place about twice a second.

Your robot debugger wants to be a lens, not a terminal.
The on-device model finding the robot through the Specs. This is the signal that keeps the map honest.

Here's the part we like, and it's where Stijn came in. He'd already built our one-click YOLOv7 trainer for Spectacles, the pipeline that makes synthetic frames and auto-labels them with SAM 3. We handed it real footage of Vector shot through the Specs (desks, floors, a bed, all the angles it actually lives in), and a few minutes later he had a trained model ready to drop in.

A 3x3 grid of first-person frames of a Vector robot captured through Snap Spectacles, across a desk, a wooden floor, and a patterned bed
Real training frames: Vector through the Specs. No synthetic images this time.

Real footage was simpler and worked better. Instead of trying to make fake images look like Specs footage, we just showed the model real Specs footage. The detector came out fast and steady: a clean, confident box on the robot, quick enough to keep the map honest in real time. That's what a fast game needs, not a slow demo.

Latency: a goalie that reacts late is a wall

Even with the position right, the robot's twin in AR moved late. We were drawing where the robot was. Sensor to SDK to WiFi to the lens adds up to a couple hundred milliseconds. In a fast game that's the whole difference between a save and a goal.

The fix: don't render the past. The lens runs its own copy of the goalie logic and draws where the robot is about to be, then snaps to the real pose when it arrives. We also pushed every rate up: the control loop and pose stream to about 30 Hz, wheels to the SDK's max, goal pauses cut from ten seconds to about four. Half a second of lag turns a goalie into a wall decoration.

Play it yourself: it's open source

We put the whole air-hockey side of this up on GitHub: the Spectacles lens, the Mac game server, and full docs to run it with your own Vector. Not a stripped demo, the real thing we play with.

The server ships with its own little control hub in the browser: pair the robot, watch its battery and pose, grab the lens address, and see the live game state, all from one page.

The VectAR air-hockey server web console: a dark neon dashboard showing saved robot, robot link status, battery, the lens WebSocket address, and an on-screen air-hockey game preview
The control hub: pairing, live robot status, and a screen-playable game, all in the browser.

And the part we like: you don't even need Spectacles to start. The same hub lets you play the match on screen with your mouse, so you can poke at the whole system, tune the goalie, and build on top of it long before any glasses are involved.

Built in days: the downgrade that proved CLAD

This was a two-person project that felt bigger, because we built it with an agentic loop: Snap's CLAD (Closed-Loop Agentic Development). The agent designs, builds, tests in preview, reads its own logs, and repeats until it works, while we steer.

There was a catch, and it's the best CLAD story we have. The loop runs in the newest Lens Studio, 5.22, but Spectacles (2024) run 5.15. So we built the whole game in 5.22 and then had to move it down a version. And a downgrade in Lens Studio is not a "save as older". A 5.22 project won't even open in 5.15. You start a blank 5.15 project and rebuild the whole thing from parts.

That's where it got spiky:

None of that is hard, exactly. It's a full day of careful, click-heavy, easy-to-get-wrong work: copy thirty-plus scripts, rebuild every material, re-wire the scene, recompile, and check the screen looks the same as the 5.22 version. And that's exactly the kind of work the loop is good at. The agent did the port, took a screenshot, compared it to the original, fixed what drifted, and repeated until the 5.15 build ran clean and looked the same.

CLAD's real trick isn't writing new features. It's taking a working thing across a version boundary that would eat a day by hand, and grinding it back to green against its own screenshots.

The same loop caught the small stuff too:

The loop didn't make the hard parts easier. Space, latency, and physics were still hard. It just removed everything else.

That's the real point of this demo, honestly. Not the game, the speed. No boilerplate, no asset grind, no reproduce-screenshot-compare drudgery, and no lost day on a version downgrade. With Snap's tools you go from an idea to a working, tested prototype in days. And with Claude doing a lot of the work next to CLAD, the whole thing stayed fun.

What's still hard (the honest part)

A few things we're not going to pretend are solved:

Why AR is the interface for robots

By the end, the glasses weren't a screen at all. They were the interface to everything the robot could do. We wired Gemini in through the lens with tool-calling, so there are no logic flows and no if score > 3 then…: the model calls the robot's own commands (drive, turn, animate, speak, change eye colour) straight from plain words. And you talk to it out loud, on-device, while the robot answers in its own voice and its own eyes. You're not poking an app that controls a robot. You talk to the room, and the robot answers as itself. That's when people in our tests stopped calling it "it".

Pull all the way back, and it comes down to one line, the first thing we really learned building this:

A robot is a huge pile of data you can't see. AR is the first interface that lets you just look at it.

Every other way of looking at a robot is a screen that pulls you out of its world. AR does the opposite:

And none of this is only about hockey. The same setup (a pose stream, a shared frame, camera correction, a digital twin) works for anything with a body: a robot vacuum you glance at and redirect, a machine that shows its own error in place, every device in the house controlled in AR instead of through a phone screen.

A robot vacuum on a wooden floor following a glowing cyan neon route drawn across the floor
Draw a route on the floor, and the robot follows it. Same idea, any machine.

Vector was just the friendliest place to start: a 2018 robot with a top speed we had to design the whole game around. Big thanks to Snap Spectacles for the platform, and we can't wait for what's next on the SPECS roadmap. No spoilers. Just very ready.

A stylized three-quarter render of the Anki Vector robot wearing Snap Spectacles glasses with glowing cyan eyes, wrapped in green and magenta neon lightning
Vector in Specs: the friendliest place to start, and only the start.
AR isn't a screen for robots. It's where people and robots can finally agree on where things are.