CoWork, Collaboration Node, Web App and Deployment
The HeyS desktop app already runs a service inside it, which by default only serves itself. This page covers how to use HeyS with other people: connecting to a HeyS service your team deployed with CoWork, sharing this computer as a collaboration node, deploying the web app for your team, and the accounts and enterprise market that administrators manage.
CoWork: connecting to your team's service in its own window
CoWork on the icon rail lists the server connections you have saved. Click a connection and that service opens in a new window; the main window always stays on this computer and is never replaced.

New connection

- Click New connection.
- Name is optional; if you fill it in, the list shows that name, for example "Team server".
- For Server URL, enter the address your administrator gave you, such as
https://heys.example.com, or a colleague's collaboration node, such ashttp://192.168.1.20:3777. - Choose the sign-in method: Account takes a username and password; Token takes the token you were given.
- Click Connect. Once connected, the service appears in the list on the left and its window opens.
If it can't connect, the dialog explains why: "Cannot reach this address. Check the URL and network", "The token is wrong or has no access", or the error code the server returned.
Connection list and details
The list on the left is ordered by most recent use, with the time of last use at the end of each row (just now, 3 minutes ago). Click a connection to see its details on the right:
Buttons on the details page:
- Test connection: shows the latency, the server version, and whether it matches this client's version;
- Connect: opens the window for this service. Each connection opens only one window, and you can have several different connections open at once;
- Rename, Remove connection: removing deletes only the connection and password saved on this computer; data on that service is not affected.
Once created, a connection that uses an account stays usable: the password is saved on this computer in the system keychain, and the sign-in is renewed automatically before it expires, so you don't need to enter the password again. If the system keychain isn't available, the password is kept only until the app exits, and you have to sign in again after a restart. When the sign-in has expired, click Sign in again and enter the password once more.
In a CoWork window
A window opened by CoWork looks just like the main window, with a Remote mark always shown above the avatar at the bottom of the icon rail; click it to see which service and account it is connected to and whether the connection is healthy. Differences from the local window:
- Data, spaces and models are all on that service; the sessions on this computer aren't here;
- The Settings sections are narrowed down according to your account's role on that service (Settings → Accounts);
- There is no built-in browser, Computer Use, Sprite, Import sessions, or opening local files with HeyS; these belong to the local desktop only;
- Clicking Log out in this window closes it; actions on the local account, such as switching organizations or unbinding this computer, don't appear in this window's menus.
Settings → Connection
Settings → Connection handles two things: the top half is the main window's run mode (Local / Remote mode), and the bottom half is Share this computer (collaboration node). The page works as usual after you sign in to an organization.

Remote mode
CoWork is enough in most cases. Switch to remote mode only when you want the main window as a whole to connect to a service elsewhere:
- Switch to Remote mode.
- Fill in the service address as Server URL; for Auth method, choose Token or Username & password, and fill in the token, or the username and password.
- Click Test connection; when it shows the connection succeeded, click Save. With username and password, saving is signing in.
- The password here is only used to sign in and obtain a token, and is never stored; tokens are valid for 30 days by default. Servers you have connected to are kept in Saved connections, which is the same list CoWork shows.
- If the token expires while you work, Session expired pops up with the address and username already filled in, so you only enter the password; you can also click Switch to local mode to go back to this computer.
- Test connection also checks the server version: if the server is too old, it says so here, and entry points for features the server doesn't support are hidden automatically. The API version row in Settings → About reads "server N, this client M".
To go back to this computer: switch back to Local and save.
Share this computer (collaboration node)
If one computer has HeyS installed with models and knowledge bases set up, and colleagues want to use it too, they don't each have to set everything up again. Turn that computer into a collaboration node, and colleagues connect to it with CoWork, each with their own account and data.
On the computer you want to share, open the bottom half of Settings → Connection (Share this computer on the CoWork page leads here too):
- Turn on Enable sharing to expand the full settings.
- Choose the auth method (Token / Username & password), and confirm the port (default 3777).
- Fill in My display name (host): the name others see on your turns in shared sessions; if left blank, the system username is used.
- Click Apply & restart server. The LAN addresses are listed below; usually you just send the first one to your colleagues.
Choosing between the two auth methods:
When this computer is signed in with an organization account, tasks run by colleagues who connect are executed on this computer, use this computer's model setup, and spend the credits of the account currently signed in here (for organizations billed by time, they count toward that account's time).
Once on, other computers on your local network can all reach this computer's service, so use it only on trusted networks; if it needs to be reachable from the internet, have your network administrator set up secure HTTPS access.
The local window is not affected. While the node is on, the host computer's own window is still the administrator and can still switch spaces, manage accounts, import sessions and use the Sprite. But the built-in browser and Computer Use exist only while the computer is in local-only use: while the collaboration node is on, even the host computer's own window has no browser panel and no Computer Use; they come back when you turn sharing off.
When the node doesn't start
In the cases below the node can't start. HeyS falls back to local-only mode automatically so the app keeps working, and shows a red notice at the top of the sharing section, "Collaboration node did not start (fell back to local-only mode)", with the reason:
- The port is in use, or reserved by the system (on Windows, Hyper-V, WSL2 and Docker reserve ranges of ports). Change to another port and click Apply & restart server again. On Windows you can check the port ranges reserved by the system like this:
- The token is shorter than 32 characters (usually one typed by hand before an upgrade). Click Generate to get a new one and apply it. If you can't change it right away, you can temporarily set the environment variable
HEYS_ALLOW_WEAK_KEYS=1, and remove it after you change the token.
Settings → Accounts
With the username and password method, sign-in accounts are managed in Settings → Accounts. Both the collaboration node and server deployments use it.

Each account consists of a username, the space it maps to, and a role.
- Click + New account at the top right.
- Fill in the username (starting with a lowercase letter or digit) and the password (at least 8 characters), and choose the Space it maps to; check Make admin if needed.
- Click Create. In the table you can change the mapped space or role at any time, or use Password and Delete.
- Accounts mapped to the same space see the same sessions, and share the same global memory too. To have two people work on the same sessions, map them to the same space; to keep them separate, map them to different spaces.
- The first account created is always an administrator; the last administrator can't be deleted or demoted.
- Changing the password or the mapped space, or deleting the account, immediately invalidates the sign-in tokens already issued to that account, and every device has to sign in again. Deleting an account doesn't affect the space it maps to or its session data.
- After several failed sign-ins in a row for the same account, each sign-in has to wait a while first (up to 30 seconds); the account is not locked.
Settings sections visible when you connect with username and password:
Connection, Browser & site resources, Computer Use, Sites, Sprite, Import sessions and Sync belong to the local desktop only, and nobody sees them when signed in remotely. Experts, skills, connectors and scheduled tasks are on the icon rail; everyone can open them, and write operations are for administrators only.
The separation is enforced by the server, not just hidden in the interface: the space an account maps to is written into its sign-in token, and a request that names another space is forced back; sessions in other spaces always come back as "not found".
On a server you can also manage accounts from the command line (Command Line and API):
Settings → Enterprise market
The enterprise market lets an administrator give the team the company's own extension market: employees see and install the skills, experts and connectors the company allows under Extensions, and signatures are verified as usual on install.

The desktop app signed in with an organization account doesn't have this page: in organization mode, extensions come only from the organization's own market, configured centrally by the organization (Extension Market). The enterprise market appears in the web app of a server deployment and in services connected through CoWork (administrators can change it, regular users see it read-only), and in internal test builds that don't connect to an organization. If the server version is too old, the page doesn't appear.
- Turn on Enable the enterprise market. When off, the public market is used, and installed extensions keep working.
- Fill in the company name as Display name (default "Enterprise market"), and the enterprise market's service address as Market URL, such as
https://market.example.com. - Choose one Market source: Enterprise + public market (both side by side, enterprise first) or Enterprise only.
- Under Credentials, choose Bearer token, Custom header or Basic (username and password) as the enterprise market requires, and fill in the credential.
- Click Test connection; when it passes, click Save.
- Credentials are write-only: once saved they are never shown again, and leaving the field blank keeps the stored value. You can also write
${variable name}to reference an environment variable (looked up in the system environment variables first, then in the environment variables in Settings). - Wrong credentials produce a clear message: "Private market authentication failed".
- This configuration can also be pushed centrally by the config delivery of the organization or extension market.
The web app
Once the server is deployed, team members open the service address in a browser and sign in with the account the administrator assigned: that is the web app. After signing in, the interface is the same as the desktop: the same icon rail and sidebar, and the same new task page, sessions, projects, Cases, Apps and Extensions; docx, xlsx and pptx can also be previewed and edited in the built-in Office, and the design canvas works too.
Differences between the web app and the desktop:
- No built-in browser, Computer Use, Sprite or Sprite companion, remote workspaces or embedded terminal, and no opening local files with HeyS, Import sessions or cloud sync;
- Settings sections depend on your role (Settings → Accounts);
- When an administrator creates a project in the web app, they only enter a name; the server assigns the working directory automatically under a restricted root, and an arbitrary path on the server can't be specified;
- Downloading files goes through the browser's downloads; the output card menu only has add to the input box, copy path and download;
- Apps run in floating windows as usual, and "open in its own window" opens a new browser tab; links in conversations also open in new tabs;
- Voice input requires the page to be on HTTPS or a local address;
- The About page has an extra Server row; server internals such as the data directory are shown only to administrators.
Server deployment
The server is deployed by an administrator, in one of two equivalent forms; pick the one you need:
Both forms run the same service entry point, heys-server, which includes the web app, the Apps server, Office editing and the design canvas; the package also includes the heys command line for managing accounts and troubleshooting (Command Line and API).
Docker
- Copy the
docker/directory provided by HeyS to the server, copy.env.exampleto.env, and change the image address, the port and the first administrator account. - Run
docker compose up -d, and watch the startup log withdocker compose logs -f. - Open
http://<server IP>:8000in a browser, sign in with the administrator account from.env, and change the password right after signing in. - Go to Settings → Model providers and Settings → Environment to set up models and keys.
Variables you can set in .env (all are passed into the container already; there is no need to edit the compose file):
All data lives in the mounted volume docker/volumes/heys-home (sessions, projects, skills, accounts, configuration), so deleting and recreating the container loses no data. Processes in the container run as a non-root user.
Rollback: change the image tag HEYS_IMAGE_TAG in .env back to the old version, then run docker compose up -d.
Server package + nginx
Once unpacked, the server package includes its dependencies; Node.js 23.13 or later is required. A typical way to start it:
--no-web means the web pages are hosted by nginx and the backend only serves the API; without it the backend hosts the web pages itself. nginx reverse-proxies the API paths to 127.0.0.1:8888 and hands all other paths to the web pages; for the API part, turn off buffering and lengthen timeouts, or live output will stall. In this setup, remember to set HEYS_TRUSTED_PROXIES=127.0.0.1. In production, using systemd to supervise the process is recommended.
Common heys-server arguments:
With the username and password method, tokens travel in clear text, so a service that serves others must sit behind HTTPS. Run only one service on the same data directory at any one time.
Private deployment checklist
When the service serves others (authentication on, or listening on an address other than the local machine), HeyS automatically tightens some behavior: only administrators can install skills, Learn skills automatically and Generate memory from chats are off by default, the built-in browser and Computer Use are never available, managed runtimes and third-party MCP connectors can't be installed, and the agent can't install things from the extension market by itself.
