nasa-jpl/rosa

ROSA 🤖 is an AI Agent designed to interact with ROS1- and ROS2-based robotics systems using natural language queries. ROSA helps robot developers inspect, diagnose, understand, and operate robots.

ROSA (Robot Operating System Agent)

What it is: ROSA is an AI-powered assistant that lets you talk to ROS-based robots in plain English instead of writing code. It works with both ROS1 (Noetic) and ROS2 (Humble, Iron, Jazzy) robotics systems. It's built on the Langchain framework, which is a popular toolkit for building AI applications.

What it does: You ask a natural-language question or give a command, and ROSA figures out what ROS operations are needed and executes them. For example, you could ask: "Show me a list of topics that have publishers but no subscribers" — ROSA would query the ROS system and return the answer.

Key features:

  • Natural language interface — no need to remember ROS command syntax
  • Works with ROS1 and ROS2 — supports Noetic (ROS1) and Humble, Iron, Jazzy (ROS2)
  • Adaptable — you can create custom agents for your specific robot by inheriting from the ROSA class or passing custom parameters
  • Demo included — a TurtleSim simulation demo (requires Docker) shows ROSA reasoning about how to draw a 5-point star and executing the commands
  • IsaacSim extension (coming soon) — direct integration with Nvidia IsaacSim, so you can control both robots and IsaacSim itself

How to use it:

  1. Install with pip3 install jpl-rosa (requires Python 3.9+ and ROS Noetic or higher)
  2. Create a ROSA instance with your LLM (large language model) of choice:
    from rosa import ROSA
    llm = get_your_llm_here()
    agent = ROSA(ros_version=1, llm=llm)
    agent.invoke("Show me a list of topics that have publishers but no subscribers")
    

Documentation & community:

  • A Wiki with guides, FAQs, and model configuration instructions
  • A published paper (arXiv 2410.06472)
  • A feature roadmap and release history
  • Contribution guidelines, code of conduct, and governance model

Origin: Developed at NASA's Jet Propulsion Laboratory (JPL), copyright 2024. The project follows SLIM best practices from NASA's AMMOS project.

Related

  • Project
  • Project
  • Project
  • Project