Skip to content

CLI for managing isolated git worktrees for AI coding agents. Parallel development with auto-configured Python environments.

License

Notifications You must be signed in to change notification settings

ckrough/agentspaces

Repository files navigation

agentspaces

Workspace orchestration for AI coding agents. Manage isolated workspaces for parallel development with git worktrees and tracked context.

Features

  • Parallel Development - Work on multiple features simultaneously without branch switching
  • Isolated Environments - Each workspace has its own Python venv and dependencies
  • Project Templates - Generate documentation optimized for AI agents (CLAUDE.md, TODO.md, ADRs)
  • Workspace Tracking - Purpose, metadata, and timestamps per workspace

Quick Start

Prerequisites

  • Python 3.13
  • Git
  • uv (Python package manager)

Installation

git clone https://github.com/ckrough/agentspaces.git
cd agentspaces
uv sync --all-extras
uv run agentspaces --version

Create a Workspace

cd ~/projects/my-app
agentspaces workspace create main --purpose "Add user authentication"
# Created: eager-turing at ~/.agentspaces/my-app/eager-turing

Usage

Workspace Commands

agentspaces workspace create [branch]    # Create from branch (default: HEAD)
agentspaces workspace list               # List all workspaces
agentspaces workspace status <name>      # Show detailed status
agentspaces workspace remove <name>      # Remove workspace

Documentation Templates

agentspaces docs list                    # List available templates
agentspaces docs info <template>         # Show template details
agentspaces docs create <template>       # Generate from template

Available templates: readme, claude-md, todo-md, architecture, development-standards, deployment, adr-template

Configuration

Workspaces are stored at ~/.agentspaces/<project>/<workspace>/:

~/.agentspaces/my-app/eager-turing/
├── .agentspace/           # Metadata
│   └── workspace.json
├── .venv/                 # Isolated Python environment
└── <project files>        # Git worktree

Architecture

[CLI] → [Service] → [Git Worktree] → [Python Env]
  • CLI Layer - Typer commands with Rich output
  • Service Layer - WorkspaceService orchestration
  • Infrastructure - Git and uv subprocess wrappers

See docs/design/architecture.md for detailed system design.

Development

uv run pytest                    # Run tests
uv run ruff check src/ tests/    # Lint
uv run ruff format src/ tests/   # Format
uv run mypy src/                 # Type check

Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

MIT

About

CLI for managing isolated git worktrees for AI coding agents. Parallel development with auto-configured Python environments.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Languages