Skitter

A six-legged robot that guards your home, thinks on 0G and keeps a tape nobody can edit

Skitter

Created At

ETHGlobal Mumbai

Project Description

Skitter is a six-legged home security robot that thinks on 0G and keeps a tape nobody can edit.

Home cameras have two problems. The footage sits on someone else's server, and whoever controls that server, or grabs the device, can delete or swap it. Skitter fixes both. Its camera feed is cut into one-minute clips. Each clip is encrypted on the robot, stored on 0G Storage, registered on 0G Chain, and carries the hash of the clip before it. Deleting, swapping or editing any clip breaks the chain, so a burglar, the cloud operator, or even the owner can't quietly rewrite what happened. Only the owner can decrypt it, and anyone can verify it.

Home cameras also have a third problem: they're bolted to a wall. They see one angle of one room and miss everything behind a door, under a bed, up the stairs or inside a crawlspace, and a burglar can walk around them or simply turn them to face the wall. Skitter goes to the problem instead. On six legs it climbs stairs a wheeled robot can't. In our house those are three narrow 30 cm-wide flights up to a loft. It lowers its body and crawls through a 16 cm-high vent duct that no camera covers and no person fits through. It walks around furniture and through doorways, so one robot covers a whole home, including blind spots no fixed camera could reach. When it hears "go check the loft playroom", it plans its own route there, crawling and climbing as needed, and looks.

Skitter is also an agent with a body. You talk to it: "what do you see?", "follow me", "go check the loft playroom", "go faster". A vision-language model on 0G Compute looks through the robot's camera and picks one action at a time: approach, follow, turn, walk, crawl, climb stairs, go to a room, or answer out loud. The robot's own skills carry out each action: gait, leg control, depth-based stopping, and stair climbing that measures each step. Every decision is logged with its 0G request ID and provider address. If 0G is unreachable, Skitter stops and says why; it never fakes a decision.

It lives in a simulated 100 m² house built from the real robot's CAD model, with seven rooms on two levels. Say "explore" and Skitter walks the house while 0G names each room and what's in it. The result is a saved map with checkpoints, so later "go to the loft study" is routed by the robot itself, stairs and vent included. When a person walks into view, Skitter flags the frame and 0G describes who it saw.

Every visitor signs in with an EVM wallet and gets their own robot, recordings, map and 0G key. Each robot can also claim an ENSv2 name like home.skitter.eth. The robot is only allowed to update two records on that name: its latest recording and its status. So the name alone is enough to find and verify a robot's tape: python audit.py home.skitter.eth.

How it's Made

The robot is the real hexapod's CAD export (a URDF and 62 meshes) loaded into PyBullet at 240 Hz. We wrote the movement layer ourselves: tripod gait, 3-DOF leg inverse kinematics, and closed-loop skills for approach, follow, face, walk, crawl and climb. A depth camera turns the model's bounding boxes into positions in the world, which is how Skitter builds its map of objects. The house is generated in code, and one test runs the full 36-leg route through all 10 rooms, up and down every staircase, with at most 6.4° of tilt.

0G Compute is the brain. We call 0G's router through its OpenAI-compatible API, so the standard openai Python client works unchanged. The robot's list of actions and parameter ranges becomes the model's tool list. Each step sends a camera JPEG, the robot's state, recent memory and the map, and takes back exactly one tool call. A safety validator rejects unknown actions and clamps every parameter. Each action runs on a short lease with a watchdog, and the next decision is requested while the robot is still moving, so it rarely stands still waiting. A decision made on a frame that's gone stale is discarded. If 0G fails, the robot stops; nothing is ever decided locally. A ledger enforces a hard USD budget. 0G fits a robot well because every response carries a request ID and the provider's on-chain address. We log both with each decision, so you can prove which model on which provider moved the robot.

0G Storage and 0G Chain are the memory. Clips and episodes are zipped, encrypted with AES-256-GCM, and uploaded with the 0G Storage TypeScript SDK. Downloads are checked against their Merkle proof. A small Solidity contract on 0G Galileo, EpisodeRegistry (built with Foundry), stores each root hash with the robot's wallet, the time and the number of decisions, and rejects duplicates. Each clip's encrypted contents include the previous clip's hash, so the chain of clips is tamper-evident. Replay re-runs the logged commands at the exact logged simulation steps with no model calls, and the final pose must match to 0.00 cm. audit.py does the whole check in one command.

For exploration, one 0G call per room returns the room's name and the objects in view. Every move becomes a map node, and every link between nodes is labelled walk, crawl or climb (with stair parameters). Dijkstra routes go_to over that map, and patrol checkpoints are one per room, in the order they were explored.

Accounts use Sign-In with Ethereum: a one-time nonce, signature recovery with eth_account, and a lockout after failed attempts. A hub process forwards each account to its own simulation process on a private localhost port, with a per-account token. Each robot wallet and API key is encrypted with AES-GCM and tied to its owner's address. Idle robots are shut down.

On ENSv2 (Sepolia), we registered skitter.eth through the ENSv2 registrar and gave it its own subname registry, deployed through VerifiableFactory. Each robot gets its own Permissioned Resolver, because a resolver's permissions apply to every name it serves. Enhanced Access Control's grantSetterRoles lets the robot wallet write only skitter.episode and skitter.status. The hub needs a temporary admin role for that one setup step, so it grants the robot its two keys and revokes its own role in the same multicall. A test checks the hub keeps no rights afterwards. After every upload the robot signs its own record update. audit.py home.skitter.eth then resolves the name, audits that recording, and confirms the robot the name points to is the same wallet that registered the recording on 0G Chain.

Hacky bits: • Skitter climbs the 30 cm stairs crab-style, sidestepping instead of steering, because steering swung its back feet off the steps. Before each climb it stands still for a second, measures the steps by fitting a line through where its feet touch, and backs up if it's too close to see the edge. • Person detection in the sim reads the camera's segmentation mask; a real robot would need a small on-board detector. • We shrank the 44 MB of CAD meshes to 3.6 MB with trimesh and fast-simplification, so the 3D robot on the landing page loads fast. The physics still uses the full meshes.

background image mobile

Join the mailing list

Get the latest news and updates