Skip to content
hiveDOCS
GITHUB ↗v1.3.0-rc.3
Ask Beeanswers from these docs

Ask anything about Hive. Bee reads the most relevant pages of these docs and answers from them, with links to where it found the answer.

OR
Hand the docs to your own agent

Help me understand and set up Hive. Read https://hive.admir-saheta.com/agent-guide.md first, then walk me through it step by step.

Troubleshooting

Diagnose Hive installation, daemon, agent detection, restore, SSH, and keybinding problems.

Start by recording your Hive version and checking whether the daemon is reachable:

sh
hive version
hive status
hive config path

When reporting a problem, include your operating system, terminal emulator and version, whether Hive is local or remote, the command you ran, and the exact error text. Review logs before sharing them; process output can contain secrets printed by agents.

The hive command is not found

Open a new terminal so it reloads your shell environment, then confirm the install directory is on PATH. The release installer uses ~/.local/bin by default. If you installed with a package manager, update the binary through that same manager.

sh
command -v hive
echo "$PATH"

The daemon does not start or respond

Check daemon status and recent logs:

sh
hive daemon status
hive daemon logs

The daemon log is under ~/.hive/logs/daemon.log; startup errors may be in daemon.stderr. Validate the config, especially after editing TOML:

sh
hive config validate

If daemon.autostart = false, start the daemon explicitly with hive daemon start. Otherwise, a command that needs the daemon starts it on demand. hive stop stops the daemon and every agent it manages; use hive daemon restart to restart the daemon while preserving agents.

An agent is missing or has the wrong state

List loaded agent definitions and ask Hive to explain a detected agent:

sh
hive agent manifests
hive agent list
hive agent explain <agent>

Hive detects most agents from process and screen output. If the tool is not recognized, or its interface changed, add or update a manifest under ~/.config/hive/agent-detection/. Claude Code and Codex hooks provide more exact status updates; install them with hive integration install claude or hive integration install codex.

A prompt is rejected or an agent appears stuck

Hive will not send another prompt while an agent is blocked. Read its screen and answer its approval or question directly:

sh
hive agent read <agent>
hive terminal attach <agent>

Press Ctrl+] to detach from the individual terminal. Use hive agent explain <agent> to see whether Hive matched a blocked-state rule or whether the screen has stopped changing.

An agent does not resume its conversation

After a host reboot, Hive restores the workspace and restarts lost panes. Exact conversation restoration requires agent hooks that report the session ID:

sh
hive integration install claude
hive integration install codex

Without hooks Hive uses the agent’s resume-latest command in the working directory. If several agents of the same kind share that directory, separate their work with worktrees. Check that [session].restore and [session].resume_agents_on_restore are enabled in your config.

Remote command fails

First verify ordinary SSH from the same terminal:

sh
ssh <host>
hive --remote <host> status

Hive uses your OpenSSH configuration, keys, and agent. For a saved machine, check reachability and recreate a stuck connection with:

sh
hive machine status <name>
hive machine reconnect <name>

The first connection to a host without Hive may ask to install or update it. Paths passed to remote commands must exist on that host.

A keybinding does nothing

Check the active binding list inside Hive with Ctrl+B, then ?. The operating system or outer terminal may consume a key combination before Hive sees it. Choose a different shortcut or free the combination in the terminal’s settings.

To return to built-in shortcuts, run:

sh
hive config reset-keys

See Keystrokes and Configuration.

A plugin is failed or degraded

hive plugin list shows each plugin’s state. Run the doctor for a specific diagnosis, then read its output:

sh
hive plugin doctor <id>
hive plugin info <id>
hive plugin logs <id>

For plugins installed from the registry, the doctor also checks the release against the registry: a revoked release fails the check (run hive plugin update <id> to move to a safe release), and delisted, deprecated or archived plugins are flagged. A failed plugin usually has a manifest, permission, settings, or sandbox problem, or its startup command crashed past [plugins] restart_limit. Fix the cause, then run hive plugin reload <id>. A permission_denied error names the capability the plugin needs: grant optional ones with hive plugin grant, and check that [plugins] deny does not withhold it. With [plugins] isolation = "strict", plugins do not run where no sandbox tool is available (Windows, or Linux without bwrap). See Plugin API.

A pasted image is refused or an image looks wrong

  • unsupported when pasting: the focused program does not declare image input. Shells and unrecognised programs never receive pasted images; Claude Code and Codex do.
  • Nothing is pasted: the clipboard holds no PNG, or the clipboard tool is missing: pngpaste or osascript on macOS, wl-paste on Wayland, xclip on X11. Windows clipboard support is not wired up yet.
  • Images misplace or flicker: set [images] render = "cells", or "text" on terminals without 24-bit colour. tmux or screen between Hive and the terminal usually hides graphics support.

See Images and Terminal Graphics.

An observer or the web observer cannot connect

Run hive observer validate to check whether a token is invalid, expired, or revoked. Observers never start the daemon, and none can connect when [observers] enabled = false. For the web observer, hive web status shows each runtime’s connection and last error; a page stuck on Reconnecting behind a proxy usually means the proxy is buffering event streams. See Observers and Web Observer.

An update failed or a state file is damaged

hive update installs nothing when a release cannot be verified, and if the new daemon does not start it puts the previous binary back and restarts the daemons on it; agents keep running either way. Go back by hand with:

sh
hive update --rollback

A command that names a file and says it is unreadable, or was “written by a newer hive”, points at damaged state, or at a file a newer release wrote before you rolled back. Hive leaves such files untouched. Upgrading and Recovery says what to do for each file, and Operating Hive what to back up.

Problems on Windows

See Platforms and Windows for ConPTY, socket, Task Scheduler, update, and plugin platform errors.

Find diagnostic logs

Hive stores runtime data under ~/.hive unless HIVE_HOME changes it. Useful files include:

File Contents
~/.hive/logs/daemon.log Rotating daemon log.
~/.hive/logs/daemon.stderr Standard error from the latest daemon start.
~/.hive/environments/<env>/processes/<id>/stdout.log Output printed by an agent or process.
~/.hive/environments/<env>/processes/<id>/stderr.log Standard error for a non-terminal process.

Use hive ps logs <id> -n 100 to inspect recent output and hive debug stats for daemon runtime information. For deeper profiling, see hive debug pprof --help. Operating Hive has a step-by-step guide to diagnosing a failed session, and the retention settings for every log.

Treat logs as private: a program may have printed credentials, tokens, or other sensitive content.