Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsMay 13, 2026·2 min de lectura

ros2ai — ROS 2 CLI Extension with LLMs

ros2ai is a ROS 2 CLI extension that answers ros2 questions and runs common tasks using OpenAI-compatible APIs or Ollama (local).

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Stage only · 17/100Stage only
Superficie agent
Cualquier agent MCP/CLI
Tipo
CLI Tool
Instalación
Stage only
Confianza
Confianza: Established
Entrada
Asset
Comando CLI universal
npx tokrepo install 5faa5805-bd60-5326-9aea-41a5d5c75bf3
Introducción

ros2ai is a ROS 2 CLI extension that answers ros2 questions and runs common tasks using OpenAI-compatible APIs or Ollama (local).

Best for: ROS 2 learners who want a command-first assistant for ros2cli

Works with: ROS 2, Docker (optional), OpenAI API or Ollama (OpenAI-compatible endpoint)

Setup time: 8-20 minutes

Key facts (verified)

  • GitHub: 319 stars · 23 forks · pushed 2026-04-13.
  • License: Apache-2.0 · owner avatar + repo URL verified via GitHub API.
  • README-verified entrypoint: pip install openai ollama validators --break-system-packages --ignore-installed.

Main

  • Use it as a ros2cli copilot: ask questions, generate commands, and run common ROS 2 tasks without switching contexts.

  • Prefer Ollama for local-first experimentation: set OPENAI_ENDPOINT to the local OpenAI-compatible endpoint and unset the API key.

  • Validate configuration with ros2 ai status -v before relying on it in tutorials or live robot sessions.

Source-backed notes

  • README calls ros2ai a ROS 2 CLI extension that works with OpenAI and Ollama via the OpenAI Python API.
  • README lists supported ROS distributions (Rolling, Jazzy, Humble, etc.) and provides an apt-based install for some distros.
  • README includes a Docker quickstart and documents env vars like OPENAI_API_KEY, OPENAI_ENDPOINT, and model selection.

FAQ

  • Do I need OpenAI?: No — README notes Ollama works via an OpenAI-compatible endpoint; the API key can be unset.
  • Is it production-safe?: Treat it as an assistant; validate commands before running on real hardware.
  • How do I pick a model?: README documents OPENAI_MODEL_NAME; choose a smaller local model first for fast iteration.
🙏

Fuente y agradecimientos

Source: https://github.com/fujitatomoya/ros2ai > License: Apache-2.0 > GitHub stars: 319 · forks: 23

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados