Skip to content

[#24225] New VulcanAI terminal documentation#279

Open
Danipiza wants to merge 5 commits intomainfrom
new-vulcanai_terminal
Open

[#24225] New VulcanAI terminal documentation#279
Danipiza wants to merge 5 commits intomainfrom
new-vulcanai_terminal

Conversation

@Danipiza
Copy link
Copy Markdown
Contributor

@Danipiza Danipiza commented Mar 9, 2026

No description provided.

Signed-off-by: danipiza <dpizarrogallego@gmail.com>
@Danipiza Danipiza force-pushed the new-vulcanai_terminal branch from 014797e to 726504c Compare March 9, 2026 10:20
Comment thread docs/resources/tutorials/vulcanai/turtlesim/ros2_node.py Outdated
Comment thread docs/rst/vulcanai/vulcanai_terminal/vulcanai_terminal.rst Outdated
Comment thread docs/rst/vulcanai/vulcanai_terminal/vulcanai_terminal.rst Outdated
Comment thread docs/rst/vulcanai/vulcanai_terminal/vulcanai_terminal.rst Outdated
Comment thread docs/rst/figures/tutorials/vulcanai/usage/vulcanai_console.png
Comment thread docs/rst/vulcanai/vulcanai_tools/vulcanai_tools.rst Outdated
Comment thread docs/rst/vulcanai/vulcanai_tools/vulcanai_tools.rst
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
@Danipiza Danipiza requested a review from cferreiragonz April 28, 2026 10:01
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
Comment on lines +79 to +84
console = VulcanConsole(
tools_from_entrypoints="turtle_tools",
user_context=user_context,
main_node=node,
model="gpt-5-nano" # model="ollama-llama3.1:8b" for Ollama models
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to update every block of code that refers to lines higher than 80 of this file (docs/resources/tutorials/vulcanai/turtlesim/ros2_node.py).

Example:
File docs/rst/tutorials/vulcanai/turtlesim/turtlesim_main.rst on lines 55, 69.

Render the documentation locally and check that code is properly shown.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in c10de33

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually realized that this image does not fit here. We are using the turtlesim tools, not the default tools. We should see the tools created specifically for this tutorial, with the default tools deactivated. Same as the original image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in c10de33

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, available tools should be the turtlesim tools, not the default ones.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in c10de33

Comment on lines +44 to +59
Image Placeholders
------------------

Use the following placeholders to add screenshots later.

.. container::

**image_1** Terminal main view

.. container::

**image_2** Text selection and copy with ``F4``

.. container::

**image_3** Reverse search with ``Ctrl+R``
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete or add the images

Comment on lines +10 to +29
Even though VulcanAI can be integrated directly in Python applications, the **VulcanAI Console** is the main interactive interface for most users.
Using the console is not mandatory, but it improves readability and day-to-day usage by presenting prompts, plans, tool calls, and responses in a clearer way during execution.
For development, debugging and demos, it is usually the most convenient way to run a VulcanAI agent.

The simplest way to run VulcanAI with the console from your own script is to create a ``VulcanConsole`` object and call ``run_console()``:

.. code-block:: python

from vulcanai import VulcanConsole

console = VulcanConsole(
tools_from_entrypoints="my_tools",
user_context="You are assisting with a ROS 2 system.",
model="gpt-5-nano"
)

console.run_console()

For ROS 2 use cases, the console can also receive a shared node through the ``main_node`` argument, as shown in :ref:`tutorials_vulcanai_turtlesim_main`.
See :ref:`vulcanai_terminal` for a detailed overview of the console features and shortcuts.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unrelated with VulcanAI tools. It seems missplaced

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally right, it was my first approach for this comment and it was in a different file and did not remove it

#279 (comment)

Removed in c10de33


In case of using a *"setup.py"* file of a ROS 2 package, remember to add a new complete module, not another entry to the *"console_scripts"* entry point.


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in c10de33


You can check the console logs to see the plan created by the agent to accomplish each task, as well as the tool calls made during the execution.

.. _vulcanai_tools_sharing_data:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go above section: Sharing data between tools

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in c10de33

Comment on lines +187 to +190
These tools allow VulcanAI agents to inspect and interact with a running ROS 2 system without any additional setup.
They are automatically available once VulcanAI is installed and are organized by resource type, but each CLI command is exposed as an independent tool inside its category.
For example, ``ros2 node info`` and ``ros2 node list`` are now two different tools instead of a single ``ros2 node`` tool.
During terminal execution, tools can be enabled or disabled individually, and complete tool groups can also be enabled or disabled at once.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
These tools allow VulcanAI agents to inspect and interact with a running ROS 2 system without any additional setup.
They are automatically available once VulcanAI is installed and are organized by resource type, but each CLI command is exposed as an independent tool inside its category.
For example, ``ros2 node info`` and ``ros2 node list`` are now two different tools instead of a single ``ros2 node`` tool.
During terminal execution, tools can be enabled or disabled individually, and complete tool groups can also be enabled or disabled at once.
These tools give VulcanAI agents built-in access to inspect and interact with a running ROS 2 system, with no additional setup required.
Once VulcanAI is installed, each supported ROS 2 command is available as its own independent tool.
For example, ``ros2 node list`` and ``ros2 node info`` are exposed as separate tools rather than as a single generic ros2 topic tool.
To make tool management easier, related tools are grouped by the first part of the ROS 2 command.
For example, all tools based on ``ros2 node <command>``, such as ``ros2 node list`` and ``ros2 node info``, are included in the ``ros2 node`` tool group.
During terminal execution, users can enable or disable tools one by one, or enable and disable an entire group at once.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in c10de33

Signed-off-by: danipiza <dpizarrogallego@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants