Skip to content

ros2ai

  • Software
  • Middleware
  • Tool

A ROS 2 command line extension that lets users ask questions and run ROS 2 commands in plain language, using OpenAI or a local Ollama model.

Source on GitHub: github.com/fujitatomoya/ros2ai (opens in a new tab). Facts read at commit c7e3950 (opens in a new tab).

Licenses

Code
Apache-2.0 (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit c7e3950 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

What it does

  • Adds an 'ros2 ai' command with status, query and exec subcommands to the ROS 2 command line.
  • The query subcommand answers ROS 2 questions, including in languages other than English.
  • The exec subcommand runs the appropriate ROS 2 command based on a natural-language request.
  • Uses the OpenAI Python API, and Ollama can replace OpenAI as the backend through a compatible endpoint.
  • Model, endpoint and temperature are set through environment variables, with defaults such as gpt-4o for OpenAI.
  • Ships as a binary package, a Docker image, or can be built from source in a colcon workspace.

Written by Robotheca from the project's README (opens in a new tab) at commit c7e3950.

Getting started

Difficulty
Beginner
Hardware it needs, as the project states it
A computer that runs a supported ROS 2 distribution (Rolling, Kilted, Jazzy or Humble), plus either an OpenAI API key or a running Ollama service.

Maintenance

Status
Active: a commit in the last 90 days
Newest commit
4 Aug 2026 on rolling
Latest release
None published on GitHub

Checked on GitHub on 16 Oct 2026.

Robots that can run it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.