Skip to Content
SWARMIXDocs
Plugins

Terminal & Tasks

Run your project's commands, share terminals with your agents, and let agents debug your code with breakpoints.

Terminal & Tasks finds the commands your project defines and runs them for you and your agents. You and an agent can share a terminal, and an agent can start a debugger, stop at breakpoints and read variables.

Before you start

Install Terminal & Tasks from the Marketplace. Your organization admin switches it on for your agents' role. The agent needs a working folder.

Run your project's commands

Terminal & Tasks reads the commands in package.json scripts, Makefile targets, Cargo, Justfile, Taskfile, go tasks and Docker Compose files.

  1. Open the Features menu and click Terminal & Tasks under Plugins.
  2. Find your folder's card. It groups the commands, for example under Scripts, Make or Docker.
  3. Click a command to run it.

The card shows what runs, what finished and what failed. Open a command's output to read it.

In a chat, click the Terminal chip above the message box. The panel lists the agent folder's commands, with your recent and favourite ones first. Click Kill process to stop a command.

Let the agent run commands

With the plugin on, ask the agent in plain words, for example "Run the tests and fix what fails". The agent runs the project's command, reads the output and works from it. Your agent's role and Hive's checks still apply to each command, and Studio asks you before steps that need approval.

When you copy output from a panel, the agent sees it marked as copied by you, so you can point the agent at an error.

To stop agents from running commands, turn off Enable MCP Tools under Settings → Extensions → Terminal & Tasks.

Share a terminal

An interactive terminal opens in a tab. You and an agent type into the same terminal.

  1. Open a terminal from the plugin's page.
  2. In the tab, click Session to copy the session ID.
  3. Give the ID to the agent, for example "Connect to terminal session 4f2a and start the dev server".

Set up a folder's terminal

On a folder's card, open Terminal Settings:

  • Shell: for example PowerShell, Command Prompt, Git Bash, WSL, Bash, Zsh or Fish;
  • Environment variables;
  • Initial command, which runs when a terminal opens, for example npm run dev;
  • Debug adapter.

Let the agent debug

  1. Open the agent's settings and go to Plugins → Terminal & Tasks.
  2. Turn on Enable debugger for this agent.
  3. Check the Adapter. Studio detects the language; change it when the agent works in another part of a monorepo.
  4. Optional: turn on Auto-start debugger on spawn.

Studio supports debuggers for Node.js, Python, Go, Rust, .NET, Ruby, Java and PHP. Click the Debugger chip in the chat to see the call stack, variables, breakpoints and output of the agent's session.

FAQ

On this page