How the add-ins work
See how an add-in connects Word, Excel, PowerPoint, Teams, your browser or your code editor to your running Studio, and what your agent brings and gets there.
The add-ins bring your Studio agents into Word, Excel, PowerPoint, Teams, your browser and your code editor. An add-in has no agent of its own. It connects to your Studio while Studio runs, on your computer or in Web Studio. Your agent works in your Studio, with your project, its tools and your organization's rules, and the add-in lets it work in the program in front of you.
To set up an add-in, see Connect an add-in and chat.
From the add-in to your Studio
- You write in the add-in's panel. The add-in sends your message to your Studio through the Hub, with what you're looking at in the program.
- Your Studio runs the chat. The agent answers as it does in Studio, with its project, tools and plugins.
- When the agent needs the program, for example the open document or a shared tab, it calls one of the add-in's tools. Hive checks each call against your organization's rules first.
- The agent's replies, its requests for approval and its results reach the add-in as they happen.
The chat is the same one Studio shows in a tab. You can continue it in either place. If Studio closes, the add-in waits, and reconnects to the same chat once Studio is back online.
What your agent brings
The agent runs in your Studio, so in the add-in it has what it has in Studio:
- The project's files and artifacts. You don't attach files in an add-in.
- The project's Knowledge Center, tasks and plan. The agent reads and updates them with its Swarmix tools, as its role allows.
- Its plugins, for example Microsoft 365 Files for OneDrive and SharePoint.
- Its role, model and permission mode. You change the model, the permission mode and Plan first in the add-in, as in Studio.
You answer the agent's requests and write handoffs in the add-in, as in Approving agent actions.
Point the agent at your project's content
Type @ in the message box, choose Knowledge Center, Plan, Task, Memo or Artifact, then choose the item. The list shows up to 50 items of the chat's project.
The agent receives the text of a plan item or a memo with your message. For a Knowledge Center document, a task or an artifact, it receives the reference and reads the item itself.
What the add-in adds
Each add-in adds two things to the chat.
- Where you are. With each message, the browser extension and the VS Code extension tell the agent what you're looking at, such as your shared tabs or your file and selection. The agent learns only what changed since your last message. In Studio, your message shows which add-in sent it and what the add-in told the agent.
- Tools for the program. Each add-in lends the agent tools that work in its program. The agent gets them in the chat you opened in the add-in.
| Add-in | Tools the agent gets | Sent with each message |
|---|---|---|
| Office add-in | Office's JavaScript API in the open Word, Excel or PowerPoint document | No context. The agent knows the document's name |
| Microsoft Teams | Your current Teams place, the Teams window, and through Studio's Microsoft Teams plugin your teams, channels and chats | No context. The agent asks the tab for your place |
| Browser extension | Read and use the tabs you share, screenshots, file uploads | Your shared tabs |
| VS Code | Read your code, problems, changes and output; run editor commands | Your folders, file, selection, problems and branch |
Rules and protection
- Hive checks each tool call. Your organization's plugin policy and the agent's role decide each call to an add-in's tool. Each tool has a risk level, which, with your permission mode, decides whether Studio asks for your approval. With Plan first on, Studio asks you before each call.
- Data Shield masks what the add-in sends before the agent reads it, as in Studio. The add-in shows you the real values.
- End-to-end encryption. The add-in and Hive encrypt what they send each other. The Hub passes the messages on and can't read them. If the encryption fails, the add-in ends the session instead of sending plain text.
- Pictures stay in the chat. A picture from an add-in, such as a browser screenshot you send, stays in the chat as an artifact.
FAQ
No. The agent already has your project's files and artifacts. Type @ and choose Artifact to point at one. For a file in OneDrive or SharePoint, ask the agent: it uses Microsoft 365 Files when its role has the plugin.
If your organization offers Web Studio, click Start my Studio in the cloud in the add-in. See Open Web Studio.