@proletariat/cli
v0.2.0
Published
Multi-agent development CLI - Orchestrate parallel coding agents via git worktrees with memorable themes for distributed development workflows
Downloads
20
Maintainers
Readme
⚒️ PROLETARIAT CLI
Workspace Manager for Parallel AI Development
Run multiple Cursor sessions, Claude Code instances, or CLI agents simultaneously on one machine - each working on different features without conflicts
Scale your solo development: Multiple AI sessions, parallel workspaces, all on your local machine!
What Is This?
PROLETARIAT CLI implements the design pattern for running multiple AI coding sessions in parallel on a single machine. Each "agent" gets a persistent workspace (a git worktree - but I call them workspaces because it's clearer) where you or your AI tools can work continuously, switching between features as needed:
- 🤖 Persistent AI workspaces - Let one Claude Code instance live in "bezos" while another Claude Code instance works in "musk" - each for weeks at a time
- 🔀 Branch without context switching - Each workspace can switch branches to work on new features while keeping its workspace directory intact
- 🎯 Parallel AI work streams - Multiple AI agents can work simultaneously on different features for the same repo, each in their own branch and workspace
Using memorable themes, you manage your agent workforce:
- 💰 Billionaires become your coding workforce (Bezos, Musk, Gates)
- 🚗 Toyotas drive your development forward (Prius, Tacoma, Tundra)
- 🏢 Companies form your development portfolio (Apple, Google, Microsoft)
Each workspace is a dedicated git worktree on your local machine. Run as many AI coding sessions as there are agents in your theme (40 billionaires!) - Cursor, Claude Code, Aider, etc. - editing different features, or quickly switch between workspaces without losing context!
💡 The Design Pattern
Problem: AI coding tools work in a single directory. Want to work on multiple features? You're stuck with stashing, branching, and context switching.
Solution: PROLETARIAT creates isolated agent workspaces on your machine where you can run multiple AI sessions:
your-company-hq/ (recommended layout)
├── your-repo/ # Your original repo
├── your-repo-staff/
│ ├── bezos/ → Claude Code 1: Building authentication
│ ├── musk/ → Claude Code 2: Implementing AI features
│ ├── gates/ → Cursor: Refactoring database
│ ├── jobs/ → Codex CLI 1: Writing test suite
│ └── cook/ → Codex CLI 2: Fixing security issuesResult: One developer, 5 agent directories, 0 conflicts. Work on multiple features simultaneously or let AI agents handle different tasks!
Three workspaces in parallel, each with manual pane + AI agent: andreesen (left) on Feature A, zuck (center) fixing a reported bug, and jobs (right) on Feature B. No musk, he was fired!
🎯 Core Features
⚡ Zero Configuration
Just prlt init and you're ready to go. Zero configuration required.
🎨 Three Fun Themes (Custom theme support coming soon!)
- 💰 Billionaires: Hire/fire billionaire workers in
../your-repo-staff/ - 🚗 Cars: Drive/park cars in
../your-repo-garage/ - 🏢 Companies: Buy/sell companies in
../your-repo-portfolio/
🔀 Multiple Agent Workspaces in Your HQ
Each agent gets their own clean workspace (git worktree) on your local filesystem. Run multiple Cursor windows, Claude Code instances, or just keep different features open - each agent in their own workspace, no context switching needed.
🚀 Quick Start
# Install
npm install -g @proletariat/cli
# Initialize with interactive theme selection
cd your-repo
prlt init # Prompts you to choose: billionaires, toyotas, or companies
# Create worktrees with themed commands
prlt hire bezos musk # Billionaires theme
prlt drive 4runner prius # Cars theme
prlt buy apple microsoft # Companies theme
# Check status
prlt staff # Billionaires theme
prlt garage # Cars theme
prlt portfolio # Companies theme
# Remove worktrees
prlt fire gates # Billionaires theme
prlt park honda # Cars theme
prlt sell nvidia # Companies theme🏗️ Flexible Agent Directory Layouts
HQ Layout (Recommended) - Group original repositories and agent workspaces under one headquarters directory:
# IMPORTANT: Run prlt init inside EACH repository you want to manage
cd frontend-repo && prlt init --hq your-company
cd ../backend-repo && prlt init --hq your-company
# Each repo needs its own initialization since worktrees are per-repositoryCreates this organized structure to hold multi-repo projects:
your-company-hq/ # HQ containing all repos and agent workspaces
├── frontend-repo/ (main frontend repository)
├── frontend-repo-staff/ (frontend billionaire agents)
│ ├── bezos/ (e.g., Claude Code instance 1)
│ ├── musk/ (e.g., Claude Code instance 2)
│ └── gates/ (e.g., Cursor)
├── backend-repo/ (main backend repository)
└── backend-repo-staff/ (backend billionaire agents)
├── cook/ (e.g., Codex CLI 1)
├── jobs/ (e.g., Codex CLI 2)
└── buffett/ (e.g., Claude Code instance 2)Each repository maintains its own .proletariat/config.json since worktrees are per-repository.
Default Layout - Agents as siblings to your repository:
some-directory-on-your-machine/
├── your-repo/ (main repository)
└── your-repo-staff/ (billionaire agents)
├── bezos/ (e.g., Claude Code instance 1)
├── musk/ (e.g., Claude Code instance 2)
└── gates/ (e.g., Cursor)
OR
└── your-repo-garage/ (toyota agents)
├── camry/ (e.g., Codex CLI 1)
├── prius/ (e.g., Codex CLI 2)
└── tacoma/ (e.g., Cursor)
OR
└── your-repo-portfolio/ (company agents)
├── apple/ (e.g., Claude Code)
├── google/ (e.g., Cursor instance 1)
└── microsoft/ (e.g., Cursor instance 2)Custom Location - Point agents anywhere you want:
prlt init --workspace-root ~/code/agents
# Creates agents in your specified directory💼 The Billionaire Experience
$ prlt init
⚒️ PROLETARIAT ⚒️
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💰 Billionaire Staff 💰
⚒️ Creating workspaces for your billionaire staff!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
$ prlt hire bezos musk
💰 Hiring billionaire workers
💰 BEZOS: Ready to work at ../your-repo-staff/bezos
💰 MUSK: Ready to work at ../your-repo-staff/musk
$ prlt staff
💰 Current billionaire staff
💰 BEZOS: ✅ ACTIVE - ../your-repo-staff/bezos
📝 Branch: agent/bezos/work
💰 MUSK: ✅ ACTIVE - ../your-repo-staff/musk
📝 Branch: agent/musk/work
Workers of the codebase, unite! ✊🎨 Choose Your Theme
💰 Billionaires (Default)
Make the ultra-wealthy work for YOU!
prlt init --theme=billionaires
prlt hire bezos musk gates buffett
prlt fire zuck # You're fired!
prlt staff # Check your workersAgents: altman, daramodei, danamodei, andreesen, arnault, benioff, bezos, blakely, bloomberg, branson, brin, buffett, carmack, chesky, cook, dean, dorsey, ellison, gates, horowitz, huang, jobs, kalanick, karpathy, lecun, ma, murati, munger, musk, nadella, ng, oprah, page, perkins, sandberg, sutskever, swift, whitney, wojcicki, zuck
Directory: ../[your-repo]-staff/
🚗 Toyotas
Put manufacturing's finest to work as your development fleet.
prlt init --theme=toyotas
prlt drive prius tacoma
prlt park 4runner # Back to the bay
prlt garage # Check your fleetAgents: 1stgen4runner, 2ndgen4runner, 3rdgen4runner, alltrac, camry, fj40, fj60, fj80, fzj80, hdj80, hdj81, highlander, hilux, ironpig, landcruiser, prius, rav4, sierra, tacoma, tercel, troopy, tundra
Directory: ../[your-repo]-garage/
🏢 Companies
Now they're the consumer.
prlt init --theme=companies
prlt buy adobe amazon apple
prlt sell netflix # Trim the overperformer
prlt portfolio # Check your holdingsAgents: adobe, amazon, apple, atlassian, cisco, google, ibm, meta, microsoft, netflix, nvidia, oracle, shopify, snowflake, tesla, zoom
Directory: ../[your-repo]-portfolio/
📚 Command Reference
| Theme | Create | Remove | Status | Directory |
|-------|--------|--------|--------|-----------|
| 💰 Billionaires | hire | fire | staff | ../your-repo-staff/ |
| 🚗 Cars | drive | park | garage | ../your-repo-garage/ |
| 🏢 Companies | buy | sell | portfolio | ../your-repo-portfolio/ |
Universal Commands
prlt init [--theme=cars]- Initialize with themeprlt init --hq <name>- Create/join an HQ directoryprlt init --hq-root <path>- Use a custom agent directoryprlt list [--theme=cars]- List available agentsprlt themes- Show all themesprlt repair- Fix broken worktree references after repo movesprlt migrate <hq-name>- Move your repo into an HQ folderprlt upgrade- Upgrade config to latest format (backwards compatible)prlt health- Check worktree health status
🛠️ How It Works
- Initialize:
prlt init- Choose your theme and HQ layout - Create agents:
prlt hire bezos/prlt drive camry/prlt buy apple- Creates isolated workspaces (git worktrees) - Work: Each workspace (git worktree) is a persistent directory where agents can work independently - you can switch AI tools or branches but the workspace persists
- Check status:
prlt staff/prlt garage/prlt portfolio- See your active agents - Clean up:
prlt fire bezos/prlt park camry/prlt sell apple- Removes worktrees cleanly
That's it! Simple themed commands wrapping git worktrees.
Configuration is stored in .proletariat/repo.json (or .proletariat/config.json for backwards compatibility).
🎯 Parallel AI Development in Action
# Set up persistent workspaces
prlt hire bezos musk gatesNow open separate terminal panes/tabs or AI IDE windows (Cursor, Windsurf, etc.):
Terminal Pane/Tab or AI IDE Window 1: Agent workspace (e.g., bezos)
cd ../your-repo-staff/bezos
claude-code . # Claude Code owns this workspace for weeks
# Monday: Implement login
# Tuesday: Add OAuth
# Wednesday: Fix auth bugs
# Thursday: Add 2FA
# All in the same workspace, different branches as neededTerminal Pane/Tab or AI IDE Window 2: Agent workspace (e.g., musk)
cd ../your-repo-staff/musk
cursor . # Cursor lives here, building feature after feature
# Week 1: User endpoints
# Week 2: Payment endpoints
# Week 3: Analytics endpointsTerminal Pane/Tab or AI IDE Window 3: Agent workspace (e.g., gates)
cd ../your-repo-staff/gates
# Your manual testing, experiments, debugging
# No AI needed - just your playgroundMerge completed work from any workspace:
# Option 1: GitHub PR (recommended)
cd ../your-repo-staff/bezos
gh pr create --title "Add login feature" --body "Authentication implementation"
# Option 2: Local merge
cd ../your-repo # (on main or development branch, feature-branch etc)
git merge bezos/feature-login
git merge musk/api-v2
# Each workspace keeps working independently!🌟 Why This Design Pattern?
❌ Traditional Single Workspace
# One directory, constant context switching
git checkout -b feature-1
# Work on feature 1...
git stash # Have to stash to switch
git checkout -b feature-2
# Lost context, files changed, AI confused...✅ Multiple Workspaces, One Machine
# Set up workspaces on your local machine
prlt hire bezos musk gates
# Each workspace ready for AI or manual work
prlt staff
# 💰 BEZOS: ✅ Cursor session 1 → ../your-repo-staff/bezos
# 💰 MUSK: ✅ Claude Code session → ../your-repo-staff/musk
# 💰 GATES: ✅ Your manual edits → ../your-repo-staff/gates
# Three workspaces, three features, all on your machine!Scale your solo development: Multiple workspaces, parallel progress, zero stashing! 🎉
🏆 Perfect For
- Running Multiple Cursor Sessions - Open 3+ Cursor windows, each editing a different workspace/feature
- Parallel Claude Code Instances - Launch multiple Claude Code sessions working on separate tasks
- Concurrent CLI Agents - Run Codex, Aider, or other CLI agents simultaneously in different workspaces
- Mixed AI Tools - Cursor in one workspace, Claude Code in another, Copilot in a third
- Scaling Solo Development - One developer running multiple AI sessions on their machine
- Rapid Prototyping - Each workspace explores different approaches without affecting others
📜 License
MIT License - Because the revolutionso is open source.
✊ WORKERS OF THE CODEBASE, UNITE! ✊
The simplest, most fun git worktree manager in existence!
