stefanhoelzl/codehydra

Multi-Workspace IDE for Parallel AI Agent Development

20

stars

1,311

commits

TypeScript

primary language

Sep 12, 2026

updated

codehydra.stho.net
agent
ai
claude-code
ide
opencode
vscode
worktrees

README

CodeHydra Logo

CodeHydra

Multi-workspace IDE for parallel AI agent development

CI npm PyPI License: MIT Platform


Run multiple AI coding assistants simultaneously in isolated git worktrees with real-time status monitoring.

Requirements

  • Git
  • A Claude Code or OpenCode account

Installation

# Using Node.js
npx codehydra@latest

# Using Python
uvx --refresh codehydra

Or download directly from GitHub Releases.

Features

  • Parallel Workspaces - Run Claude Code or OpenCode in several workspaces at once
  • Git Worktrees - Each workspace is a worktree with its own branch, not a separate clone
  • Built-in Agents - Claude Code and OpenCode ship with CodeHydra; choose one globally or per workspace
  • Real-time Status - Monitor agent status across all workspaces, mirrored on the app badge
  • Keyboard Driven - Alt+X shortcut mode for fast workspace navigation
  • VS Code Powered - A full VSCodium editor per workspace, with your extensions, themes and settings
  • Agent-Driven Editor - Agents can run any VS Code command, including ones your installed extensions register: open files, run tasks, drive the UI
  • Cross-platform - Linux, macOS, and Windows

Also included: hibernation, repository hooks, workspace tags, and auto-workspaces (experimental) for GitHub pull requests and YouTrack issues.

How It Works

CodeHydra uses git worktrees to create isolated workspaces from a single repository:

ConceptDescription
ProjectA git repository - a local path, or cloned from a git URL
WorkspaceA git worktree with its own branch, running its own AI agent
HibernationPark a workspace to free resources; its worktree stays on disk
Agent statusnone, idle or busy - shown per workspace and on the app badge

Every workspace opens in a full VSCodium editor with your extensions, themes and settings, and runs its own AI agent independently. Switch between workspaces instantly while each agent continues working.

Keyboard Shortcuts

Hold Alt and tap X to enter shortcut mode. While still holding Alt:

KeyAction
/ Navigate workspaces
/ Jump to the next idle workspace (busy if none idle)
1 - 0Jump to a workspace by position
EnterNew workspace
DeleteRemove the active workspace
hHibernate or wake the active workspace
sOpen settings
bReport a bug
EscapeExit shortcut mode

Releasing Alt also exits shortcut mode.

MCP Integration

Every workspace's agent is automatically connected to CodeHydra's codehydra MCP server - there is nothing to configure. Through it, an agent can:

GroupTools
Workspace lifecycleworkspace_create (optionally with a prompt), workspace_delete, workspace_hibernate, workspace_wake, workspace_restart_agent_server
Status and metadataworkspace_get_status, workspace_get_metadata, workspace_set_metadata, workspace_get_agent_session, project_list
Editor and UIworkspace_execute_command, ui_show_message, log
Diagnosticsreport_bug

workspace_execute_command accepts any VS Code command identifier, so an agent can drive the editor the same way you do - including commands contributed by your own extensions.

Development

Prerequisites

  • Node.js 24+
  • pnpm 10
  • Git

Commands

CommandDescription
pnpm bootstrapInstall dependencies and build
pnpm devStart in development mode
pnpm buildBuild for production
pnpm testRun all tests
pnpm test:integrationRun integration tests
pnpm validate:fixFix lint/format issues and run tests
pnpm distCreate distributable for current OS

Releases

CodeHydra uses calendar versioning (YYYY.MM.DD). See docs/RELEASE.md.

License

MIT - 2025-2026 CodeHydra

Contributors

stefanhoelzl

1,267 commits

stefan-hoelzl

35 commits

mrh1997

9 commits

stefanhoelzl/codehydra

Multi-Workspace IDE for Parallel AI Agent Development

20

stars

1,311

commits

TypeScript

primary language

Sep 12, 2026

updated

codehydra.stho.net
agent
ai
claude-code
ide
opencode
vscode
worktrees

README

CodeHydra Logo

CodeHydra

Multi-workspace IDE for parallel AI agent development

CI npm PyPI License: MIT Platform


Run multiple AI coding assistants simultaneously in isolated git worktrees with real-time status monitoring.

Requirements

  • Git
  • A Claude Code or OpenCode account

Installation

# Using Node.js
npx codehydra@latest

# Using Python
uvx --refresh codehydra

Or download directly from GitHub Releases.

Features

  • Parallel Workspaces - Run Claude Code or OpenCode in several workspaces at once
  • Git Worktrees - Each workspace is a worktree with its own branch, not a separate clone
  • Built-in Agents - Claude Code and OpenCode ship with CodeHydra; choose one globally or per workspace
  • Real-time Status - Monitor agent status across all workspaces, mirrored on the app badge
  • Keyboard Driven - Alt+X shortcut mode for fast workspace navigation
  • VS Code Powered - A full VSCodium editor per workspace, with your extensions, themes and settings
  • Agent-Driven Editor - Agents can run any VS Code command, including ones your installed extensions register: open files, run tasks, drive the UI
  • Cross-platform - Linux, macOS, and Windows

Also included: hibernation, repository hooks, workspace tags, and auto-workspaces (experimental) for GitHub pull requests and YouTrack issues.

How It Works

CodeHydra uses git worktrees to create isolated workspaces from a single repository:

ConceptDescription
ProjectA git repository - a local path, or cloned from a git URL
WorkspaceA git worktree with its own branch, running its own AI agent
HibernationPark a workspace to free resources; its worktree stays on disk
Agent statusnone, idle or busy - shown per workspace and on the app badge

Every workspace opens in a full VSCodium editor with your extensions, themes and settings, and runs its own AI agent independently. Switch between workspaces instantly while each agent continues working.

Keyboard Shortcuts

Hold Alt and tap X to enter shortcut mode. While still holding Alt:

KeyAction
/ Navigate workspaces
/ Jump to the next idle workspace (busy if none idle)
1 - 0Jump to a workspace by position
EnterNew workspace
DeleteRemove the active workspace
hHibernate or wake the active workspace
sOpen settings
bReport a bug
EscapeExit shortcut mode

Releasing Alt also exits shortcut mode.

MCP Integration

Every workspace's agent is automatically connected to CodeHydra's codehydra MCP server - there is nothing to configure. Through it, an agent can:

GroupTools
Workspace lifecycleworkspace_create (optionally with a prompt), workspace_delete, workspace_hibernate, workspace_wake, workspace_restart_agent_server
Status and metadataworkspace_get_status, workspace_get_metadata, workspace_set_metadata, workspace_get_agent_session, project_list
Editor and UIworkspace_execute_command, ui_show_message, log
Diagnosticsreport_bug

workspace_execute_command accepts any VS Code command identifier, so an agent can drive the editor the same way you do - including commands contributed by your own extensions.

Development

Prerequisites

  • Node.js 24+
  • pnpm 10
  • Git

Commands

CommandDescription
pnpm bootstrapInstall dependencies and build
pnpm devStart in development mode
pnpm buildBuild for production
pnpm testRun all tests
pnpm test:integrationRun integration tests
pnpm validate:fixFix lint/format issues and run tests
pnpm distCreate distributable for current OS

Releases

CodeHydra uses calendar versioning (YYYY.MM.DD). See docs/RELEASE.md.

License

MIT - 2025-2026 CodeHydra

Contributors

stefanhoelzl

1,267 commits

stefan-hoelzl

35 commits

mrh1997

9 commits

Languages

TypeScript

93.8%

Svelte

5.0%