How the parts connect
Where Swarmix Studio, Hive, Swarmix Core, Hub, the add-ins and Pods run, and the connections between them.
Swarmix runs in three places: on each person's computer, on a server, and in the cloud between them. The diagram shows a desktop installation with the add-ins and Web Studio.
On each computer: Studio, the agents and Hive
Swarmix Studio is the desktop application. Studio starts a project's agents, shows their chats and asks the person for decisions on agent actions.
The agents are AI assistants from model providers. Studio runs them on the computer, each with its own working folder.
Hive is a service next to Studio. Studio starts Hive, and Hive stays up when Studio restarts. Studio talks to Hive over a local connection and sends its server requests through Hive. Hive handles the work that needs the person's sign-in or the company's policy:
- Hive holds the sign-in tokens and adds them to requests for Swarmix Core. Studio has no access to the tokens.
- Hive checks each tool call of an agent against the company's policy and asks the person when the policy requires a decision.
- Hive runs a local proxy for each model provider. Data Shield masks personal and sensitive data in each agent request before Hive sends the request to the provider.
- Hive holds the keys for transcript encryption. Studio asks Hive to encrypt each transcript before each sync of the transcript.
- Hive records each tool call and each decision in the audit trail and uploads the records to Swarmix Core.
On the server: Swarmix Core
Swarmix Core holds the organization: its members and groups, projects and their workstreams, policies, knowledge and the audit records. Each Hive connects to Core over WebSocket, or over HTTPS where a firewall blocks WebSocket. Core sends each Hive the policy for its person, and Hive enforces the policy on the computer.
Core runs in Swarmix's cloud, or on the company's own server or private cloud.
Add-ins: Hub
The add-ins bring Swarmix into Office, Microsoft Teams, a web browser and VS Code. An add-in has no direct connection to Studio or Hive. It connects to Hub, a relay in the cloud, and Hub passes the add-in's messages to the person's Hive. Swarmix Core checks the add-in's sign-in and the organization's Hub access.
After the first pairing, the add-in reconnects with a token from Hive and needs no new code.
Web Studio: Pods
Web Studio is Swarmix Studio in a browser, available to selected users. Each person who uses Web Studio has a pod: a cloud machine with that person's own disk, running Web Studio and Hive. The person opens Web Studio at studio.swarmix.ai and signs in through Swarmix Core. The front door then connects the person to their own pod. The pod manager starts a pod when its person opens Web Studio, and stops each idle pod. See How Web Studio works.
Managed installs
On computers that IT manages, a Swarmix installer sets up Studio. The installer installs Studio, asks the person to sign in, reads the company's policy and installs the plugins and models in that policy. It then starts Studio and keeps Studio up to date.