Skip to main content

hive-ide

An agent-aware tmux workspace for running coding agents across multiple sessions.

Status: stable. Version 1.x follows semantic versioning for its public interfaces.

Requirements

Unix (Linux/macOS), tmux, and Python 3.10+.

Install

macOS:

brew install pipx
pipx ensurepath
pipx install hive-ide
hive-ide open

Linux:

python3 -m pip install --user --upgrade hive-ide
hive-ide open

If your Python reports an externally managed environment, use pipx install hive-ide instead. pipx is the recommended install method for CLI app users because it keeps hive-ide in its own environment while exposing the command on PATH.

Bundled drivers are claude, codex, antigravity, and term. State is user-local and directory-scoped. Agent drivers require their corresponding local command; term opens a regular shell. On first open, hive-ide creates a default session for the current directory. It uses term by default so the IDE opens without any agent installed. Set a configured default driver or pass --driver=codex|claude|antigravity when you want an agent session.

An existing Git worktree is just a session working directory. The IDE attaches to it but never creates, merges, or removes it:

hive-ide open --driver=codex --working-dir=../project-feature
hive-ide working-dir-set --session-id=<ID> --working-dir=../project-feature

The sidebar marks linked worktrees as clean, modified, missing, or unknown.

Reopen the current session's plan or resume its recorded agent conversation:

hive-ide plan
hive-ide chat

Both commands use HIVE_IDE_SESSION_ID inside the frame, or accept --session-id=<ID>. They target the session pane when its frame is running and otherwise open in the current terminal.

Inside the tmux frame, press the new-session shortcut, enter an IDE label, choose Claude or Codex, flip the bottom mode from new to adopt existing, then type to filter and select the conversation to adopt. The same adoption backend is available from the CLI for automation:

hive-ide adopt --driver=claude
hive-ide adopt --driver=codex
hive-ide open

To create one IDE session from a known or most recent conversation:

hive-ide create --name="FEATURE" --driver=claude --adopt --reference=<ID>
hive-ide create --name="FEATURE" --driver=codex --adopt --reference=<ID>

Local settings live in ~/.config/hive-ide/config.json (or HIVE_IDE_CONFIG). The plan editor accepts any command string or argv list. Resolution is configured editor, HIVE_IDE_EDITOR, micro when installed, then less:

{
  "editor": "nvim --clean",
  "keys": {
    "prefix": "C-a",
    "bindings": {"next": "n", "previous": "p", "error": null}
  },
  "diagnostics": {
    "relayout_trace": false
  },
  "sidebar": {
    "state": "activity",
    "slots": ["plan", "checkout", "ci"],
    "providers": {
      "ci": {
        "region": "slot",
        "source": "session",
        "path": ["host", "ci", "state"],
        "icons": {"passing": "✓", "failing": "❌"}
      }
    },
    "icons": {
      "drivers": {"codex": "C"},
      "providers": {"checkout": {"live": "W"}}
    }
  }
}

Sidebar symbols may occupy one or two terminal cells. state selects one mutually exclusive provider; slots is an ordered list and may contain any number of columns. Additional field providers can be declared in config. Python entry points in hive_ide.sidebar_providers may contribute the same normalized field definitions; pane processes read only the resulting JSON snapshot and never import plugin code.

Create managed stable and editable development environments, then switch one session without affecting the others:

hive-ide environment-setup --dev-checkout=.
hive-ide source-set --session-id=<ID> --source=dev
hive-ide source-set --session-id=<ID> --source=stable

Preview machine-global Claude and Codex status hooks before applying them:

hive-ide hook-setup
hive-ide hook-setup --apply

Development

See CONTRIBUTING.md.

License

MIT. See LICENSE.

About

hive-ide is part of Meli Hive. It is being built as a standalone MIT-licensed project with no dependency on the rest of the platform.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hive_ide-1.0.38.tar.gz (146.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hive_ide-1.0.38-py3-none-any.whl (114.0 kB view details)

Uploaded Python 3

File details

Details for the file hive_ide-1.0.38.tar.gz.

File metadata

  • Download URL: hive_ide-1.0.38.tar.gz
  • Upload date:
  • Size: 146.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hive_ide-1.0.38.tar.gz
Algorithm Hash digest
SHA256 129b029ea03858b332c86a2eb095de59057ab164d72510b76ba6c09869581ebd
MD5 a9482de1e6208189312d8eae26385e23
BLAKE2b-256 3de075762fa3b5a6753dd0fd284644e2f5234ec1398eca8565615987afd89bae

See more details on using hashes here.

Provenance

The following attestation bundles were made for hive_ide-1.0.38.tar.gz:

Publisher: publish.yml on melihive/hive-ide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hive_ide-1.0.38-py3-none-any.whl.

File metadata

  • Download URL: hive_ide-1.0.38-py3-none-any.whl
  • Upload date:
  • Size: 114.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hive_ide-1.0.38-py3-none-any.whl
Algorithm Hash digest
SHA256 e3e42bad9c5459ceb6a0ac483c65392c5d5e3234f8f4ec7a3cd08af10a1cd805
MD5 5c55ce5e91dd0572cc9a3a61017846b4
BLAKE2b-256 fbd01942a422a180ce2bbcd4f14aa933ea146d30a615f110f9cb2a0846e60e30

See more details on using hashes here.

Provenance

The following attestation bundles were made for hive_ide-1.0.38-py3-none-any.whl:

Publisher: publish.yml on melihive/hive-ide

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page