Computer in Hrida AI Studio
Every Studio user can have their own isolated Computer.
- How users reach it: they pick the Computer model in a chat and describe the task.
- What it does: their Computer's agent carries the task out end to end. It plans, searches the web, reads sources, runs code, analyses data and writes a report.
- What comes back: the answer streams into the chat. The files the task wrote to
reports/<name>/are attached as Studio files, under Reports from your Computer. - Files you attach to the message (your own, up to 25 MB each) are copied into
uploads/in your Computer, and the agent is told where they are. - The first task starts your Computer. The chat shows Starting your Computer… until it is ready; later tasks reuse it.
- Chat titles and tags are made by the agent's model directly, without starting your Computer.
- If an admin removes your access or turns Computer off, your running Computer is stopped at once. Its files are kept.
- To see all its files, open your Computer itself: see Open Your Computer.
The same model works in automations and agents: an automation whose model is Computer runs in its owner's Computer.
Do not add Computer under Integrations › Manage Terminal. That list is for Hrida Terminal servers.
- Computer at that URL answers every unknown path with its web page.
- Studio used to report "Connected (Orchestrator)", and then the Files panel said Failed to load directory.
- Studio now refuses such a connection and says why.
How It Fits Together
Studio chat ── model "Computer" ──► computer-controller ──► the user's own Computer (container)
▲ │ agent loop: web, code, files
└──── the agent's LLM calls, as that user (cpk_ token) ◄────┘ through the egress proxy
- computer-controller
- It runs one Computer container per user, starting it on the first task and stopping it when idle.
- It is the only component with the Docker socket.
- Studio talks to it with a controller key.
- People reach only their own Computer through it, with a one-time link from Studio (Open Your Computer). No Computer can connect to it.
- The user's Computer:
- It is the standard Computer image, provisioned without any setup in its UI.
- Its agent's model is a Studio model, called through Studio's API as that user. So their model access, usage limits, costs and guardrails all apply.
- computer-egress: the Computers' only way to the web, which refuses internal addresses.
Isolation
| Files and history | One container per user, with nothing shared. Its workspace and its home folder are kept between tasks and restarts. |
| Network | One internal network per user, with no route out. Users can't reach each other, the host, Studio's databases or cloud metadata. The web works only through the egress proxy, and every request is logged. |
| Process | Non-root, a read-only system, no Linux capabilities, no-new-privileges. |
| Resources | CPU, memory, process and disk limits per Computer, and a cap on how many run at once. |
| Credentials | None of the user's. The only secret given to a Computer is a token that can call Studio's model API as that user, and nothing else: - it cannot read chats, files or settings; - it cannot use the Computer model itself; - it stops working as soon as the user loses access or is deleted. |
| Data lifecycle | Idle Computers stop and keep their files. An admin can stop a Computer, or delete it with its files. Deleting a user in Studio deletes their Computer and files. |
Open Your Computer
You can open your own Computer in a browser tab to see everything your Computer chats left there, not only the reports attached to answers.
- In Studio, open the user menu, point to Work Hub and choose Open my Computer. Under a Computer answer with reports, you can also choose Open your Computer.
- Your Computer starts if it was asleep, and opens in a new tab, signed in as you.
- Use its file browser and, unless your admin turned it off, its terminal:
- workspace holds what your tasks wrote, including
reports/, and the files you attached inuploads/; - your home folder holds what you or your Computer keep there, such as projects and installed tools.
- workspace holds what your tasks wrote, including
What to know:
- Only yours. The link works once, for a minute, and opens only your own Computer. Nobody else's Computer can be reached from your tab.
- Kept until deleted. Your workspace and home folder are kept when your Computer stops, restarts or is updated. They are removed only when an admin deletes your Computer with its files, or deletes your account.
- Sign-in lasts 12 hours. It also ends when you sign out of your Computer, when an admin stops or deletes your Computer, when you lose access to Computer, and when the Computer service is restarted. Then choose Open my Computer again.
- Asleep after a while without use. Only real use keeps it awake: tasks, browsing its pages, working with files and typing in the terminal. A tab left open does not. If the tab says Your Computer is asleep, open it again from Studio. Your files are still there.
- Over the disk quota? You can still open your Computer and delete files. New tasks wait until it is back under the quota.
- Only when set up. Open my Computer appears only if you may use Computer and your admin has set an address for it.
- Admins open it only if allowed. An admin can open your Computer only when your organisation has turned that on, for support.
- Every opening is recorded in the audit log, whether by you or by an admin.
Set It Up
For a step-by-step walkthrough with checks after each step, see the Setup Guide › One Computer per Studio User. In short:
- Deploy the controller and the egress proxy (full reference: Computer controller). Use
docker-compose-computer-controller-prod.yaml(inhrida-helm-charts/docker/computer/). It documents:- the Docker address pools needed for one network per user;
- the controller key secret;
- the network Studio uses to reach the controller:
- Studio as a Docker Swarm stack: the controller joins Studio's overlay,
hrida-studio-overlay, which must be attachable. Run the file on the node where the Computers should run. - Studio as plain Compose: create a shared
computer-mgmtnetwork.
- Studio as a Docker Swarm stack: the controller joins Studio's overlay,
- Configure Studio under Admin › Settings › Integrations › Computer:
- Controller URL and Controller key. The key is stored encrypted and never shown again; leave it blank to keep it.
- Studio URL for Computers: how a Computer reaches this Studio, for example
https://hrida.ai. If Studio's address is private, allowlist its host name in the egress proxy (EGRESS_ALLOW_INTERNAL_HOSTS). - Model for the Computer's agent: a Studio model with function calling. The users must have access to it.
- CPUs and Memory per Computer.
- Who may use Computer: users and groups. Admins always can.
- Address for users: where people open their own Computer, for example
https://desk.computer.example.com. It is the controller's address for people (see Computer controller › Open my Computer) and must be a different host name from Studio's. Leave it blank to hide Open my Computer. When you save a new address, Studio checks that it answers as Open my Computer, and refuses it otherwise (see the problems below). - Terminal in Open my Computer: on by default. Turned off, people still see and manage their files, but get no terminal.
- Admins may open users' Computers: off by default. Turned on, admins get an Open button for each user in Show users' Computers, for support. The user must still have access to Computer.
- Test connection, then Save Computer settings, and turn it on.
- Users then see the Computer model. The first task starts their Computer, which takes a few seconds. Later tasks reuse it.
Show users' Computers lists every Computer with its owner, status and disk use. From there you can Stop one, or Delete it with its files, and, with Admins may open users' Computers on, Open it. Stopping or deleting a Computer also signs out anyone who has it open.
Settings changes, deletions and every opening are written to the audit log. To see who opened which Computer, go to Admin › Trust › Audit and filter by the action OPEN. An admin's opening names both the admin and the user.
Troubleshooting
| What you see | Why, and what to do |
|---|---|
| This is a Hrida Computer server, not a terminal (Integrations › Manage Terminal) | The URL was added as a terminal. Remove it there and set Computer up as above. |
| Failed to load directory. The terminal URL answers with a web page… | A Terminal Connection points at something that isn't a Hrida Terminal: often Computer, or a URL with /v1. Use the terminal's root URL. |
| All Computer workspaces are busy | COMPUTER_MAX_RUNNING are running. Raise it, or wait for idle ones to stop. |
| This Computer is over its disk quota | The user's files exceed COMPUTER_DISK_QUOTA_MB. The user can choose Open my Computer and delete files; new tasks then run again. An admin can also delete the Computer, which removes its files, or the quota can be raised. |
| The Computer did not become ready in time | Check the controller's logs and the Computer image (docker logs cptr-u-…). |
| The answer says the model is unavailable | The Computer's agent model isn't one this user may use. Grant it, or choose another model. |
| Open my Computer is missing | It is under the user menu's Work Hub. If it isn't there, the user may not use Computer (admins always may), or Address for users is blank. |
| Saving says the address is not the Open my Computer service | The address reaches another site: often a Computer you open directly, such as a shared Computer's address. Give Open my Computer a host name of its own, whose nginx site forwards to the Computer controller's port 8090. |
| Saving says the address could not be reached | Its DNS name, nginx site or certificate isn't set up yet. Set them up, then save again. |
| Saving says it is Studio's own host name | Open my Computer needs a different host name, so the Computer's pages can never read Studio's cookies. |
| Open my Computer shows another site's 404 Not Found | The address was saved before Studio checked it, and it is another site's. Clear Address for users, then set the right one. |
| Open your Computer from Hrida AI Studio | The link expired (each works once, for a minute), or the sign-in ended: after 12 hours, on signing out, when the Computer was stopped or deleted from Studio, or when the Computer service restarted. Choose Open my Computer again. |
| The terminal is turned off for Open my Computer | Terminal in Open my Computer is off. Files still work. |
| Opening users' Computers is turned off | Admins may open users' Computers is off. Turn it on to open a user's Computer for support. |
| This Computer can't be opened yet | The Computer runs an image from before Open my Computer. It is updated at its next start; an admin can also stop it so it starts on the new image. |