Rerun — Visualize Multimodal AI Data in Real-Time
SDK for logging, storing, and visualizing 3D, images, time series, and text in real-time. Built for robotics and AI. 10K+ stars.
Instalación lista para agent
Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.
npx -y tokrepo@latest install db28c112-ed20-4512-bf62-68475ece5592 --target codexEjecutar después de confirmar el plan con dry-run.
What it is
Rerun is an open-source SDK and viewer for logging, storing, and visualizing multimodal data in real-time. It handles 3D point clouds, camera images, time series, tensors, text, and more -- all in a single interactive viewer. The SDK supports Python, Rust, and C++, and the viewer runs natively or in the browser via WebAssembly.
It targets robotics engineers, computer vision researchers, and AI developers who need to inspect and debug complex spatiotemporal data streams during development.
How it saves time or tokens
Rerun replaces the patchwork of matplotlib plots, custom OpenGL viewers, and print statements that developers typically use to debug multimodal data. Instead of writing visualization code for each data type, you call rr.log() and the viewer handles rendering, time synchronization, and interaction. Data is automatically time-aligned, so you can scrub through recordings and see exactly what happened at any point.
How to use
- Install and initialize:
pip install rerun-sdk
- Log data to the viewer:
import rerun as rr
import numpy as np
rr.init('my_app', spawn=True) # Opens the Rerun viewer
# Log different data types
rr.log('camera/image', rr.Image(np.random.rand(480, 640, 3)))
rr.log('lidar/points', rr.Points3D(np.random.rand(1000, 3)))
rr.log('metrics/loss', rr.Scalar(0.42))
- Record and replay sessions:
# Save to file for later analysis
rr.save('recording.rrd')
# Load and view a saved recording
# rerun recording.rrd
Example
import rerun as rr
import numpy as np
rr.init('robot_debug', spawn=True)
# Simulate a robotics debugging session
for t in range(100):
rr.set_time_sequence('frame', t)
# Log camera feed
image = np.random.randint(0, 255, (480, 640, 3), dtype=np.uint8)
rr.log('sensors/camera', rr.Image(image))
# Log 3D point cloud from LiDAR
points = np.random.rand(500, 3) * 10
rr.log('sensors/lidar', rr.Points3D(points))
# Log robot pose
rr.log('robot/position', rr.Scalar(np.sin(t * 0.1)))
rr.log('robot/heading', rr.Scalar(np.cos(t * 0.1)))
Related on TokRepo
- AI tools for monitoring -- Monitoring and observability tools
- AI tools for research -- Research and experiment tracking tools
Common pitfalls
- High-frequency logging (thousands of points per frame at 60fps) can overwhelm the viewer. Downsample data or reduce logging frequency for smooth performance.
- The Rerun viewer requires a GPU for 3D rendering. Remote development over SSH needs X11 forwarding or the web viewer.
- Large recordings (.rrd files) can grow to gigabytes. Set time limits or use selective logging to keep file sizes manageable.
Preguntas frecuentes
Rerun supports 3D point clouds, meshes, images, depth maps, segmentation masks, 2D and 3D bounding boxes, time series scalars, text logs, tensors, and more. Each data type has dedicated rendering in the viewer with appropriate controls (zoom, rotate, scrub timeline).
Yes. Rerun works with any Python library. Log PyTorch tensors, NumPy arrays, or TensorFlow data by converting to NumPy and passing to rr.log(). Rerun is framework-agnostic and integrates into existing ML training loops, inference pipelines, and data processing scripts.
Yes. Rerun provides a Jupyter widget that embeds the viewer directly in a notebook cell. Call rr.init with the notebook=True option, and the viewer renders inline. This is useful for interactive data exploration during research.
Rerun is primarily designed for development and debugging, not production monitoring. It excels at detailed inspection of multimodal data during development. For production metrics, use dedicated monitoring tools. Rerun works well for post-hoc analysis of production recordings.
Rerun provides SDKs for Python, Rust, and C++. The Python SDK is the most feature-complete and commonly used. The Rust SDK offers native performance for high-throughput logging. C++ support enables integration with robotics frameworks like ROS.
Referencias (3)
- Rerun GitHub Repository— Rerun is an SDK for logging and visualizing multimodal data
- Rerun Documentation— Rerun supports Python, Rust, and C++ SDKs
- Rerun Blog— Multimodal data visualization is critical for robotics and computer vision debug…
Relacionados en TokRepo
Fuente y agradecimientos
Discusión
Activos relacionados
GoAccess — Real-Time Web Log Analyzer for Terminal and Browser
Parse and visualize web server logs in real time from the terminal or as a self-hosted HTML dashboard, with support for Nginx, Apache, and custom log formats.
Redash — Open Source Data Visualization & Dashboard Tool
Redash connects to any data source, lets you query with SQL, visualize results, and build shareable dashboards. The SQL-first open-source BI tool for data teams.
Httpstat — Visualize curl Response Timing Statistics
Httpstat is a command-line tool that visualizes curl HTTP response timing, showing DNS lookup, TCP connection, TLS handshake, server processing, and transfer time in a clear breakdown.
TeslaMate — Self-Hosted Tesla Data Logger and Visualizer
TeslaMate is a self-hosted data logger for Tesla vehicles that records driving, charging, and battery data and visualizes it through Grafana dashboards.