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.36.tar.gz (145.2 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.36-py3-none-any.whl (112.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hive_ide-1.0.36.tar.gz
  • Upload date:
  • Size: 145.2 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.36.tar.gz
Algorithm Hash digest
SHA256 370192661d8f7425164daf547e6ffd43bd53935f467e5e20e64591d4836786c2
MD5 61e76c46132cfe4e750ac9491c6ce40a
BLAKE2b-256 d013d0290917ba8d1513b8af4c2e41587670fc73ccd553ab765b4ef0e64d343e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hive_ide-1.0.36-py3-none-any.whl
  • Upload date:
  • Size: 112.5 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.36-py3-none-any.whl
Algorithm Hash digest
SHA256 260bc8b6e832744965382300d3379a9c6a6b483d4846990823091dc8048d1b0c
MD5 4a21596835e49eb665447b6d62a59505
BLAKE2b-256 dc483c90652e69dc1b81a8417a4a40becdc47f70c34076474f387e371b93c15f

See more details on using hashes here.

Provenance

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