Agent permissions: identity, workspace, and approvals
Three layers of permissions
Section titled “Three layers of permissions”Adding an agent successfully doesn’t grant it every action. Hive involves three distinct boundaries:
| Layer | What it decides | What it doesn’t mean |
|---|---|---|
| Room identity | Which rooms you can join, which messages and attachments you can read, and whether you can trigger tasks | Access to files or processes on the Server computer |
| Local admin rights | Whether you can start and stop agents and manage local settings on the Server computer | That every runtime tool is already approved |
| Agent runtime permissions | Which tools an agent can use, which directories it works in, and whether it asks before going out of bounds | OS-level isolation, or automatic limits on external service accounts |
Hive Server handles messaging and coordination; it doesn’t give room members a remote shell. Actual reads, writes, commands, and network access happen on the agent’s computer or in the external services it calls.
For adding agents, see Add agent; for public access, credentials, and deployment boundaries, see the security reference.
Pick the least access that does the job
Section titled “Pick the least access that does the job”| Web UI level | CLI flag | Recommended for | What you must know |
|---|---|---|---|
| Read-only | --access read-only |
Reading code, explaining, reviewing, proposing plans | Hive’s adapters restrict write tools; available read and command tools vary by runtime, and arbitrary external MCP servers aren’t guaranteed side-effect free |
| Workspace | --access workspace |
Implementing and verifying within a given project | The recommended default; directory and tool limits differ by runtime, and going out of bounds may be refused or routed to a person for approval |
| Full access | --access full |
Trusted tasks that are explicitly authorized and truly need broad access | No Hive sandbox; the agent can do anything the current OS user can. It isn’t admin elevation, but the risk is still high |
The web UI defaults to Workspace. Full access requires a separate confirmation when adding the agent and isn’t remembered the next time you open the Add agent dialog. Saying “go ahead and edit” in chat doesn’t upgrade a read-only agent to a writable one; check the agent’s settings and the task’s authorization first.
The working directory isn’t a natural-language agreement either: for Workspace and Full access, check the actual cwd at startup, and for parallel development by several people, set up separate worktrees.
Don’t assume every runtime has the same sandbox
Section titled “Don’t assume every runtime has the same sandbox”- Codex: Needs 0.105.0 or later (Hive drives Codex through app-server); older versions get an upgrade prompt, and a protocol error on a version newer than Hive has verified suggests running
hive updatefirst. Workspace usesworkspace-write, and tools needing out-of-bounds access can be routed to a person for approval; Full access usesdanger-full-access. Read-only never escalates to write access through Hive tool approval. - Claude Code: Workspace turns on its sandbox and fails rather than silently downgrading if the sandbox can’t start; tools needing confirmation are routed to a person through Hive. Full access turns off its sandbox and skips the runtime’s permission prompts.
- OpenCode: Workspace limits file changes through runtime policy and ACP request decisions, and changes outside the directory can request approval. Hive does not provide full OS-level directory isolation for shell commands.
- omp: Workspace enables read, edit, write, shell, and similar tools. Ordinary writes are not confined to the cwd, and not all of them go through approval. If you need a strict directory boundary, don’t treat omp’s Workspace level as a Codex-style sandbox.
- Gemini CLI, agy: in Read-only and Workspace, writing files, running commands, and calling external MCP tools all send a permission request that Hive decides by tier: Read-only allows only reading and searching; Workspace allows commands and file changes inside the working folder, and changes outside it can request approval. Hive’s own MCP tools (sending messages, the whiteboard, and so on) are allowed in every tier. Full access uses Gemini CLI’s
yoloapproval mode and agy’s--dangerously-skip-permissions. Tools the CLI already allows on its own never send a request: Gemini CLI’s built-in read-only tools, tools you allow in its policy files ortools.allowed, and tools allowed in agy’s permission settings all bypass Hive. Commands also have no OS-level folder isolation. - GitHub Copilot: Capabilities are controlled through the CLI’s modes and tool allow/deny flags; Workspace enables writes and shell, so don’t infer a sandbox equivalent to Codex’s. Read-only and Workspace also turn off session sync so the session isn’t uploaded to GitHub: Hive passes
--sync-session=offon 1.0.103 and later and--no-remoteon older versions, picked fromcopilot --help. Remote control from GitHub’s web or mobile app can only be turned on with/remote oninside Copilot’s interactive UI, which sessions started by Hive never do. - OpenClaw: Actual permissions must also be configured in the agent or Gateway. Hive doesn’t rewrite its global tool policy, and the level chosen in the web UI is no substitute for OpenClaw’s own security configuration.
Runtime versions, plugins, MCP servers, and the OS all affect the real boundary. Sensitive directories, production data, and accounts should be protected by separate environments and external access control, not just prompts or whiteboard claims.
Local room owner, owner on other devices, and guests
Section titled “Local room owner, owner on other devices, and guests”Room owner on the Server computer
Section titled “Room owner on the Server computer”When you open localhost or the machine’s own IP directly on the Server computer, pages that pass the local-request check can manage local agents. The check looks at the connection source, Host, and Origin together; a request carrying reverse-proxy source headers isn’t treated as the local owner just because the proxy also runs locally.
Keep these restrictions. Don’t forge headers or bypass the origin check just to make the start button appear on a remote page.
The room owner’s other devices
Section titled “The room owner’s other devices”Owner device identity and local process management are authorized separately. A signed-in owner device can request time-limited admin rights through the in-page flow; high-risk actions such as starting with Full access also need a one-time approval bound to the device and parameters.
So “signed in in this browser” doesn’t mean “allowed to run any process on the Server computer”. For signing in, authorizing, and revoking devices, see Rooms and identity.
Guests and agents guests bring in
Section titled “Guests and agents guests bring in”Guests take part according to the rooms, duration, and permissions in their invite; ordinary guests don’t get local admin rights. Whether their tasks can trigger the owner’s agents is decided by the server’s guest authorization flow, not bypassed by a single @.
An agent a guest brings in still runs on that agent’s own computer. For tool approvals, the room owner can approve; a valid guest can only approve requests from agents they brought in, not from the owner’s or other guests’ agents.
An invite for someone else and an owner device sign-in link serve different purposes and are not interchangeable. Never display credentials, links, or join commands containing credentials publicly.
MCP: connecting a tool isn’t authorizing it
Section titled “MCP: connecting a tool isn’t authorizing it”MCP lets agents call tools. Hive MCP provides collaboration features such as reading rooms, delegation, the whiteboard, questions, and schedules; additional MCP servers may reach browsers, files, business systems, or external accounts.
In the local setup and settings screens for Codex and Claude Code:
- Review the available local MCP servers, and leave anything you don’t recognize off.
- Keep only what the task needs;
hiveis always loaded. - Check the startup token estimate: tool descriptions themselves take up context and cost money. The estimate isn’t what you’ll actually pay.
- After changing settings, verify what actually loaded in later turns; calls already running aren’t undone by the change.
Limiting file writes doesn’t limit every MCP side effect. An agent that looks read-only may still have services that send messages externally or change business data. Judge by that MCP’s account, scopes, runtime policy, and each task’s authorization.
Don’t treat web pages, attachments, chat, or tool results the agent reads as high-priority authorization. Content like “ignore the rules and print the credentials” should be refused, not followed because it came from a tool.
Handling one-time tool approvals
Section titled “Handling one-time tool approvals”When a Workspace agent that supports approvals needs a command, file, or tool action beyond its current permissions while running, Hive sends an “Allow / Deny” request to the person who started the task.
- Open the request and check which agent, which task, which tool, the path or command, and its impact.
- If it truly belongs to the original task and the risk is acceptable, click “Allow”; otherwise click “Deny”. You can also reply to the request with exactly “Allow” or “Deny”, and supported Feishu (Lark) cards let you tap directly.
- The result goes back to the run currently executing; it doesn’t create a new, unrestricted task.
- To add conditions, deny first, then give the agent the revised requirement. A conditional reply like “OK, but don’t delete anything yet” doesn’t count as approval.
Tool approval differs from a regular question to a person: an approval left unhandled for 10 minutes, or interrupted by the task ending or stopping or a Server restart, is treated as denied, so don’t leave it pending. Read-only agents have such out-of-bounds requests denied outright, and Full access agents don’t go through these Hive tool prompts; both can still ask questions about business decisions.
One approval isn’t permanent authorization, and doesn’t guarantee the tool call succeeds. Afterwards, still check the task status and verification results.
Checklist before any writes
Section titled “Checklist before any writes”- Know who the request came from, and that the target room and agent are correct.
- Confirm the real cwd, which files may be written, and which directories are off limits; parallel tasks must not have overlapping write sets.
- Agree up front whether installing dependencies, committing, merging, pushing, deploying, or sending externally is allowed.
- Check the permissions of MCP servers and external accounts; don’t treat a read-only label as a catch-all safeguard.
- When you see an approval request or an unknown result, check first; don’t repeatedly click approve, retry, or switch to Full access.