Skip to Content
SWARMIXDocs
Chats

Chat with an agent

Start a chat with a solo agent, give it work and files, change how it works, and resume a past chat.

A chat is where you work with one solo agent: you describe the work, the agent answers, reads and writes files, and asks you before steps that need your approval. Each chat opens in its own tab.

Start a chat

  1. Click Agents in the side menu.
  2. On the agent, click New Chat. You can also drag the agent into the workspace.

The chat opens in a tab.

If the agent is not part of the open workstream, Studio says so before the start of the chat. Click Invite & Spawn to add the agent to the workstream and start the chat.

You can also start from the task itself. In Start a task, the project assistant asks about the task and proposes an agent. When you click Start, Studio opens a chat with that agent and sends the assistant's instructions as the first message, with your files. If the agent's chat is already open, Studio asks you to finish or close it first.

A handoff from a colleague can also start a chat. See Chat & handoffs.

Give the agent work

  1. Write what you need in the message box.
  2. Attach files with Attach from your computer, or type @ to add a reference to a document, a task or a file. See References (@).
  3. Send the message.

The agent answers in the chat. Its tool calls show in the transcript. Click Stop to end the agent's current turn.

Until the first message, the chat shows chips under the message box. A catch-up chip adds a "Catch me up on" reference to your message, for example about what waits on you. Catch up shows the project's whole catch-up. Studio sends nothing until you send the message.

Answer the agent's requests

The agent asks before some steps, for example before it runs a command or deletes a file. Its requests appear in Needs your input above the message box. See Approving agent actions. Which calls ask you depends on your company's rules, the agent's role and your own rules. See How Hive checks agent actions.

Choose how the agent works

Next to the message box:

  • Permission mode: Ask Everything prompts before each tool call. Accept Edits approves file edits and asks for commands. Your organization can rule out the less strict mode.
  • Execute or Plan first: with Plan first, the agent only reads and proposes a plan for your approval, then acts within its permission mode. Studio offers Plan first for vendors with a plan mode.

Use the + menu

The + menu holds the chat's settings and panels:

  • Workspace: the Folder and Git.
  • Agent: the Model, the Effort (Low, Medium, High or Max), the Permissions and the Allowed Tools you saved.
  • View: show or hide Tool Calls and Thinking, and open the Logs.
  • Project: Write a handoff for a colleague. See Chat & handoffs.
  • Session: the chat's Stats.
  • Plugins: buttons from the agent's plugins.

You can change the model between turns. While the agent works, the model waits for the current turn to finish.

Run a workflow in the chat

A workflow is a saved sequence of steps, with agents, decisions and steps for you. To run one in this chat:

  • In the Workflows tab, open the workflow, click Run in chat and choose this chat; or
  • type @, choose the workflow and send the message with nothing else. With more text, the agent gets the workflow and your text as the request, and runs it itself.

The run shows in the chat as a list of steps, each with its state and duration. The running step is open and shows the agent's messages and tool calls. A step that needs you waits in Needs your input: pick a branch, fill in a value, choose a file, or click Done after work you do by hand.

A chat runs one workflow at a time. Workflows need the Programs & Workflows plugin in Studio. To find, build and publish workflows, see Workflows.

The working folder

The chip on the message box shows the agent's working folder. Once the agent starts, Studio keeps that folder for the chat. To change it, close the chat and change the folder in the agent's settings. See Set up an agent.

Rename a chat and see its figures

  • Click the chat's name in its header to rename the chat.
  • Click Session stats for the exchanges, the duration, the tokens and the cost.
  • The risk pill in the header shows Hive's risk level for the chat's tool calls, from Low to Critical. Click it for a summary, then Show details for the calls by risk and the alerts.

End and resume a chat

Close the chat's tab to stop the agent. Hive keeps the chat in the agent's history and syncs it to your other devices.

To resume a chat:

  1. In the Agents menu, click the history button on the agent.
  2. Click Resume this conversation on the chat.

Studio opens the past chat in its own tab. Chats that run stay untouched.

Best practices

  • Start with Plan first for larger work. You approve the plan before the agent changes anything.
  • Give files and references instead of long descriptions. The agent reads the file or document itself.
  • Use one chat per piece of work. Each chat keeps its own history and summary.

FAQ

On this page