IR-SIM: Lightweight Robot Simulator
A Python-based lightweight simulator for navigation, control, and learning, configured via simple YAML files.
- Source repo
- hanruihua/ir-sim
- Stars
- ★ 1.2k
- Last updated
- 2d ago v2.12.1
- FARS reviewed
- Nov 08, 2026 +1 new
- License
- MIT
- Primary language
- Python
- FA score
- 57/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Robotics researchers: Rapidly prototype and test navigation or collision avoidance algorithms in custom YAML scenarios.
- Not a fit if
- Teams needing complex 3D rendering or high-fidelity physics
- Non-technical users unwilling to write YAML config files
- Projects requiring a large mature community and ecosystem
- Website
- ir-sim.readthedocs.io ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-01latest release v2.12.1 (2026-11-11)
- Source review
- 57/100 · Major gaps 2 safety controls not found
What does this agent do, and when should you use it?
IR-SIM is an open-source, lightweight Python robot simulator designed for navigation, control, and learning. It offers a user-friendly framework with built-in collision detection for modeling robots, sensors, and environments. Users can quickly configure and customize scenarios using straightforward YAML files without complex coding. Simulation results are visualized via a simple matplotlib-based visualizer for immediate debugging. IR-SIM supports various kinematics models (e.g., differential, omnidirectional, Ackermann) and sensors (e.g., 2D LiDAR, FOV detector), and includes built-in behaviors like RVO and ORCA for collision avoidance. It has been adopted in academic publications (e.g., RAL & ICRA 2023 RL-RVO navigation) and community projects (e.g., DRL robot navigation). IR-SIM is ranked #1 among 2D robot simulators in the best-of-robot-simulators list.
IR-SIM reads YAML configuration files to initialize the simulation environment, simulates robot motion, processes sensor data, and executes collision detection and behavior policies (e.g., dash, RVO, ORCA). It provides a Python API (e.g., irsim.make('robot_world.yaml')) to create the environment, and users loop over env.step() and env.render() to advance and visualize the simulation. The simulation ends with env.end(). The simulator outputs simulation results for analysis.
- Robotics researchers: Rapidly prototype and test navigation or collision avoidance algorithms in custom YAML scenarios.
- Reinforcement learning practitioners: Train and evaluate navigation agents using multi-agent support, as in the RL-RVO project.
- Educators: Demonstrate robot kinematics and sensor principles in classrooms; students can modify scenarios without deep coding.
- Autonomous driving developers: Simulate Ackermann kinematics with 2D LiDAR to test vehicle control algorithms.
- Multi-agent system developers: Simulate hundreds of agents (e.g., 200 ORCA agents) for collaborative collision avoidance and benchmarking.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Config files
robot_world.yaml- Runtime
- Python 3.10+
How do you install or deploy this agent?
Requires Python >= 3.10. Install via pip: pip install ir-sim, or with all extras: pip install ir-sim[all]. From source: git clone https://github.com/hanruihua/ir-sim.git && cd ir-sim && pip install -e . Alternatively, use uv: uv sync.
How do you use this agent?
Create a YAML configuration file (e.g., robot_world.yaml) defining world dimensions, robot kinematics, shape, initial state, goal, and behavior. Write a Python script using irsim.make() to initialize the environment, loop over env.step() and env.render(), check env.done() to terminate, and finally env.end(). See the usage directory for examples.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- confirmation before acting — Turn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Lightweight and easy to use; scenarios configured via YAML without complex code.
- Supports multiple kinematics models (differential, omnidirectional, Ackermann) and sensors (2D LiDAR, FOV detector).
- Built-in collision avoidance behaviors like RVO and ORCA, suitable for multi-agent research.
- Directly linked to academic papers (e.g., RL-RVO, NeuPAN), providing research validation.
- Relatively new, with a smaller community and ecosystem compared to mature simulators like Gazebo.
- Documentation and examples primarily in English; Chinese docs may be less complete.
- Visualization relies on matplotlib, which may be insufficient for complex 3D renderings.
- Requires writing YAML configuration, presenting a learning curve for non-technical users.
How does this agent compare with similar options?
In contrast to heavyweight simulators like Gazebo, IR-SIM is lighter and easier to get started with, ideal for rapid prototyping. It is ranked #1 among 2D robot simulators in the best-of-robot-simulators list, highlighting its strengths in lightweight 2D simulation.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| IR-SIM: Lightweight Robot Simulator This agent | 57 · Major gaps | Library / SDKFree | ★ 1.2k | 2d ago | Python | — |
| VirtualHome | 44 · Major gaps | Library / SDKFree | ★ 648 | 2y ago | Python | — |
| Youtu-Agent | 53 · Major gaps | CLIFree + model costs | ★ 4.6k | 24d ago | Python | OpenAI API |
| skrl: Modular Reinforcement Learning Library | 54 · Major gaps | Library / SDKFree | ★ 1.1k | 19d ago | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
Configuration and simulation are primarily presented through local YAML and Python APIs, but the packet gives little direct information about package permissions, data flows, or sensitive-data handling, so those scores remain partial. It shows no execution-time confirmation or rollback mechanism, and external effects are only lightly described. The dependency list, optional extras, and high-severity dependency-review workflow provide some security evidence; the MIT license and author metadata support attribution, while publisher identity remains unknown.
The README, project metadata, and development notes are broadly consistent on the Python minimum, entry point, and dependencies. The README claims CI, and the supplied workflows show linting, security scanning, and type checking, but these do not establish runtime correctness. The AGENTS/CLAUDE excerpts are unusually long and truncated, and the README example omits error handling; no concrete failure-message or recovery behavior is shown, so those scores are low.
The project explicitly targets academic and educational use and lists navigation, control, learning, robots, sensors, behaviors, and multi-agent examples. Configuration and optional-dependency notes establish some capability boundaries, such as pyrvo being required for ORCA, but model limitations are not detailed. YAML and Python examples and the Python 3.10+ requirement help users assess environment fit, while platform details remain limited.
The README has navigation, installation, quick start, feature, documentation, and citation sections; pyproject supplies package metadata and dependencies, and the MIT license is clear. Installation instructions are thorough and examples cover common use, but a FAQ, known limitations, and change history are not evident in the supplied material. A version is present, while maintenance responsibility is supported mainly by author metadata and a contribution link, with limited maintenance or update-path detail.
The project combines robots, sensors, environment configuration, and visualization in a YAML-driven simulator, with examples that provide a practical starting point and clear value for navigation and learning research. The dependency list and multiple installation paths reduce onboarding effort, though complex configuration and optional components add learning and setup costs. Static evidence cannot establish the quality of actual simulation results.
Core claims can be traced across the README, package metadata, dependencies, and workflow files. However, the packet provides no concrete test results or implementation files for cross-checking; test commands and badges show only that such references exist. Some highly specific documentation statements lack corresponding source excerpts here, so they cannot be independently verified from this packet and should not be treated as demonstrated runtime facts.
- Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- This is a low-confidence static review; the code was not run and simulation results were not independently verified.
- The supplied AGENTS.md and CLAUDE.md excerpts contain extensive development and architecture notes and end mid-section, so the full implementation, limitations, and failure handling cannot be checked from them.
- Features, CI badges, and external-project references in the README are repository claims and do not alone prove result correctness or ongoing maintenance.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v2.12.1 ir-sim-v2.12.1
Release notes excerpt
2.12.1 (2026-11-12) This release casts all 2D lidars of a step in one batched pass, lets ORCA groups avoid the obstacles around them, and keeps lidar and collision checks in step with objects moved by hand. Measured headless on one CPU core of a Linux machine against 2.12.0 (median step time, mean of two runs): | Time cost | 2.12.0 | 2.12.1 | Speedup | | --- | ---: | ---: | ---: | | env.step(), 1000 robots with 64-beam lidar (usage/27thousand_robot_world) | 2211 ms | 143.9 ms | 15.4x | …View on GitHub ↗ -
v2.12.0 ir-sim-v2.12.0
Release notes excerpt
2.12.0 (2026-10-04) This release adds Contact mode for realistic collision handling, a default Okabe-Ito palette for academic figures, the social force model as a group behavior, and fixes to reactive behaviors, lidar readings, and the environment lifecycle. <p align="center"> <img src="https://raw.githubusercontent.com/IR-SIM/ir-sim-gifs/main/robots_obstacles/push_box_keyboard.gif" width="320" alt="Contact mode: a keyboard-driven robot pushes boxes of different mass."/> …View on GitHub ↗ -
v2.11.0 ir-sim-v2.11.0
Release notes excerpt
2.11.0 (2026-09-01) This release adds headless environments for batch training, compound geometry, internal/external step modes, ROS-style simulation messages, and per-environment object ids and random generators, plus much faster stepping for both lidar scans and multi-robot behaviors. Measured headless on an Apple-silicon Mac against 2.10.2 (median of repeated runs): | Time cost | 2.10.2 | 2.11.0 | Speedup | | --- | ---: | ---: | ---: | | env.step(), 200-beam lidar, one polygon | 2.88 ms | 0.26 ms | 11.1x | | env.step(), 200-beam lidar, 50 polygons | 6.20 ms | 1.51 ms | 4.1x | …View on GitHub ↗
FAQ
Does IR-SIM support learning algorithms (e.g., reinforcement learning)?
How can I customize the robot or sensors?
What if I encounter issues?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.