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

At a glance

How it runs
Library / SDKCLI
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Python >=3.10pipgitShell / CLINetwork accessLocal filesystem
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)

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.

  1. Robotics researchers: Rapidly prototype and test navigation or collision avoidance algorithms in custom YAML scenarios.
  2. Reinforcement learning practitioners: Train and evaluate navigation agents using multi-agent support, as in the RL-RVO project.
  3. Educators: Demonstrate robot kinematics and sensor principles in classrooms; students can modify scenarios without deep coding.
  4. Autonomous driving developers: Simulate Ackermann kinematics with 2D LiDAR to test vehicle control algorithms.
  5. 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • 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?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Major gaps
57/ 100 5-point scale 2.9 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 10/29
Reliability 5/14
Adaptability 14/18
Convention 12/18
Effectiveness 12/13
Verifiability 4/8
Why each dimension lost points
Trust10 / 29 · 1.7/5

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.

Reliability5 / 14 · 1.8/5

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.

Adaptability14 / 18 · 3.9/5

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.

Convention12 / 18 · 3.3/5

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.

Effectiveness12 / 13 · 4.6/5

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.

Verifiability4 / 8 · 2.5/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 23b8a839d259 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/ir-sim.svg)](https://followagents.com/en/agents/ir-sim)
<a href="https://followagents.com/en/agents/ir-sim"><img src="https://followagents.com/badge/ir-sim.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 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 ↗
  2. 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 ↗
  3. 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)?
Yes, IR-SIM supports multi-agent reinforcement learning; for example, the RL-RVO project uses it to train navigation policies. It offers a simple API and customizable behavior policies, facilitating integration with learning algorithms.
How can I customize the robot or sensors?
You can modify the robot section of the YAML configuration to set kinematics, shape, initial state, goal, etc. Sensors (like 2D LiDAR) can also be enabled in the configuration. Refer to examples in the usage directory.
What if I encounter issues?
Refer to the official documentation (English and Chinese), or submit an issue on the GitHub repository. Community projects also provide example code for reference.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts