Scene memory for robots
Turn robot camera frames into a scene memory an agent can query: what was seen, where it sat, and which observation shows it.
opengraph-image build ./episode-07
Reads
- ep07_step-000.jpg
- ep07_step-015.jpg
- ep07_step-030.jpg
Writes edges like
- steel bowl inside sink 0.91
- steel bowl next_to white bowl 0.87
- cutting board inside sink 0.84
- ep07_step-015.jpg in_scene indoor_residential 0.95
A robot's camera sees thousands of frames during a single task, and most of what it saw is gone by the next step. OpenGraph Image turns those frames into a memory of objects, the places they were in, and how they related, all linked back to the frame that showed them, so a planning agent can query the graph instead of re-reading video.
Relations built for manipulation
The questions a manipulation task asks.
What is resting on the tray, whether anything is still inside the drawer, what sat next to the cutting board, whether the cup is blocked, what the gripper was holding: each maps onto one relation in the fixed vocabulary. Objects also carry color, material, and size, so a task can say "the blue cloth" instead of an opaque ID.
ep07_step-030.jpg
- cupon_top_oftray0.92
- towelinsidedrawer0.84
- knifenext_tocutting board0.81
- clothhas_attributecolor: blue0.88
See it on real robot data
Sixteen frames from BridgeData V2, as a graph you can click through.
The Robot Scene Memory sample builds a graph from 16 robot-camera observations taken from BridgeData V2, a public robot-manipulation dataset, and publishes it as a read-only graph gallery. The sample repository includes the source data and the steps to reproduce it.
A workflow you can run today
Name frames in order, build the episode, give your agent the server.
OpenGraph does not read timestamps from image metadata, so put the episode and step in each filename, such as ep07_step-015.jpg. Then build the graph for the episode and register the MCP server.
pip install opengraph-image
opengraph-image build ./episode-07
claude mcp add opengraph-image -- opengraph-image-mcpAsk in plain language
One lookup finds the object in every frame.
Objects with the same label merge into one node that lists every frame it was seen_in, so the agent finds the steel bowl in one step, follows its inside and next_to edges, and returns the frame filenames. The step numbers in those names tell the planner when each observation happened.
- You
Using the graph for ./episode-07, which frames show the steel bowl inside the sink, and what was next to it?
query_graph(question, "./episode-07")- Agent
ep07_step-015.jpgandep07_step-030.jpg, with the white bowl next to it in both.
Good to know
- No identity trackingObjects merge by label: two identical cups become one
cupnode seen in both frames, and the graph does not know whether they are the same cup. - 2D onlyBounding boxes are optional and normalized to the image. There are no depth estimates, poses, or map coordinates.
- One graph per folderShared multi-robot memory is a direction, not a feature yet.
Working on robot memory and want to test this on your own episodes? Talk to us.
Build your first graph
Open source under Apache-2.0. Runs locally with your own Anthropic API key.