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.42.tar.gz (149.3 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.42-py3-none-any.whl (115.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hive_ide-1.0.42.tar.gz
  • Upload date:
  • Size: 149.3 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.42.tar.gz
Algorithm Hash digest
SHA256 cbf1558501b8ce4a65624df0aa960cc9477b3623d8a331724a2fcb041464e526
MD5 10f51cb790a13135959a005fa1b6ed26
BLAKE2b-256 2ad4cbb23e8f87cf98543d21a7cbca05db78ba8d9fe1fafc640397df5263d59b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hive_ide-1.0.42.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.42-py3-none-any.whl.

File metadata

  • Download URL: hive_ide-1.0.42-py3-none-any.whl
  • Upload date:
  • Size: 115.2 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.42-py3-none-any.whl
Algorithm Hash digest
SHA256 e13f6766ef5df30aba11063cc8b32131d98e4c16bec91310ae29e62ceeca6b62
MD5 a362e51ac6231dd9ba2c9032a1e4e038
BLAKE2b-256 c9ab7ba772e87a081b6c62de22bd4ef924348ee3e3026dd3fe26f3c9c69e3fcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for hive_ide-1.0.42-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