# AI use cases for Rerun (rerun-io/rerun)

Repo: [rerun-io/rerun](https://github.com/rerun-io/rerun) | Use cases: 3 | Page: https://dedupedai.com/use-cases/rerun-io-rerun/

Rerun is a data layer for physical AI: you log multimodal data such as images, point clouds, transforms, time series, joint states and video from robots, sensor rigs, simulation or web video, and its built-in viewer renders everything in sync in real time. The same data can be queried with dataframes or SQL and streamed into training. It is built in Rust with SDKs in Python, Rust and C++, and reads formats such as MCAP, rrd and LeRobot.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Debug a robot or vision pipeline on a visual timeline: https://dedupedai.com/use-cases/rerun-io-rerun/debug-a-robot-with-a-visual-timeline/
- Save runs to .rrd files and open them anywhere: https://dedupedai.com/use-cases/rerun-io-rerun/record-runs-to-rrd-and-share-them/
- Teach your coding agent to write Rerun code: https://dedupedai.com/use-cases/rerun-io-rerun/let-your-coding-agent-write-rerun-code/

## How to debug a robot or vision pipeline on a visual timeline with Rerun

Repo: [rerun-io/rerun](https://github.com/rerun-io/rerun) | Difficulty: Intermediate | Time: 45 minutes | Basis: From the README

Log camera frames, depth, point clouds and detections to Rerun and scrub through them in sync.

**Who it is for:** A robotics engineer whose robot keeps doing something wrong and text logs cannot explain why.

**The problem:** Text logs say what the robot decided but not what it saw, so bugs in perception are hard to find.

**The outcome:** A recording you can scrub frame by frame with every sensor and model output side by side.

### Steps

1. Run `pip install rerun-sdk`
2. In your code call rr.init with an app name and rr.spawn to open a viewer
3. Use rr.set_time on a timeline such as frame, then rr.log your data, for example rr.Points3D for point clouds
4. Log the camera feed, depth images and detections the same way so they line up on the timeline
5. Scrub the timeline in the viewer to find the moment things went wrong

### Prompt to paste into your agent

```text
Add rerun-io/rerun logging to my <robot or vision pipeline> in Python: init and spawn a viewer, set a frame timeline, and log <camera images, depth, point clouds, detections> each step. Show me how to save the run to a .rrd file too.
```

### Caveat

The README warns of breaking API changes and notes the viewer slows down with very many entities or multi-million point clouds.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/rerun-io-rerun/debug-a-robot-with-a-visual-timeline/

## How to save runs to .rrd files and open them anywhere with Rerun

Repo: [rerun-io/rerun](https://github.com/rerun-io/rerun) | Difficulty: Beginner | Time: 20 minutes | Basis: From the README

Stream logs to disk with rr.save and replay them later in the viewer or in the browser.

**Who it is for:** A team that wants to share a failed test run with a colleague instead of describing it.

**The problem:** Reproducing a bug on real hardware is slow, and screenshots lose the timing between sensors.

**The outcome:** A .rrd recording anyone on the team can open and scrub through.

### Steps

1. Install the SDK with `pip install rerun-sdk`, which bundles the viewer
2. Replace rr.spawn with rr.save and a file name such as recording.rrd to stream all logs to disk
3. For C++ or Rust, install the viewer with `cargo install rerun-cli --locked --features nasm`
4. Check the install with `rerun --help`, then open the recording with the Rerun binary
5. Or use rr.connect_grpc to stream to a remote viewer while the run is live

### Prompt to paste into your agent

```text
Change my rerun-io/rerun logging so every test run is saved to a timestamped .rrd file, and add a short script that opens the latest recording in the viewer. Explain how a teammate opens it on their machine.
```

### Caveat

Recordings of video and point clouds grow large quickly, so plan storage for long runs.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/rerun-io-rerun/record-runs-to-rrd-and-share-them/

## How to teach your coding agent to write Rerun code with Rerun

Repo: [rerun-io/rerun](https://github.com/rerun-io/rerun) | Difficulty: Beginner | Time: 15 minutes | Basis: From the README

Install the official Rerun agent skills so Claude Code, Codex or Cursor writes correct logging code.

**Who it is for:** A developer who wants to add visualization to a project quickly by asking an agent.

**The problem:** Rerun's API is evolving, so agents trained on older code often write calls that no longer work.

**The outcome:** A coding agent that uses the skills shipped in the repo to write current Rerun logging code.

### Steps

1. Run `npx skills add rerun-io/rerun` in your project
2. Read the skills in the skills folder if you want to see what the agent was told
3. Ask your agent to add logging for the data types you care about: images, point clouds, transforms or time series
4. Run the result with the viewer to confirm the data shows up as expected
5. Use the Loggable Types docs to check anything the agent was unsure about

### Prompt to paste into your agent

```text
Install the rerun-io/rerun agent skills with `npx skills add rerun-io/rerun`, then add Rerun logging to <file> that shows <data> on a <timeline>. Run it and confirm the entities appear in the viewer.
```

### Caveat

Agent-written code still needs a check in the viewer, since the API changes between releases.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/rerun-io-rerun/let-your-coding-agent-write-rerun-code/
