Skip to main content

Use Reasoning from the VS Code Terminal

Add terminal output to Chat or prepare a request to explain, fix, or generate a command.

Add terminal output to Chat​

Open the terminal context menu and run AI Cockpit: Add Terminal Content to Context. The available content is attached to the next prompt.

You can also type @terminal in Chat. State which command produced the output and what you expected to happen.

Explain or fix a command​

Use AI Cockpit: Explain This Command to prepare an explanation of the selected command. Use AI Cockpit: Fix This Command when a command failed and the available terminal context is sufficient to diagnose it.

Use AI Cockpit: Generate Terminal Command when you want Reasoning to prepare a command from a description.

Review every generated or corrected command before running it. A shell command can modify files, use credentials, or affect services outside the current project.

Agent Manager terminals​

Agent Manager terminals run in their associated worktree. See Sessions, Terminals, and Setup Scripts when the command belongs to isolated work.

To use the full terminal product instead of a VS Code terminal action, open AI Cockpit Reasoning CLI.