By epiphytic
Claude Code plugin for spawning sandboxed LLM instances with intelligent resource provisioning and lifecycle management
A Claude Code plugin for spawning sandboxed coding LLMs with intelligent resource provisioning and lifecycle management.
The infinite-improbability-drive enables you to delegate complex coding tasks to isolated LLM instances. When you spawn a sub-LLM:
# Basic spawn
infinite-improbability-drive spawn "fix the auth bug"
# Use AISP mode for clearer LLM communication
infinite-improbability-drive spawn --aisp "implement user authentication"
# Spawn a team (primary + reviewer)
infinite-improbability-drive spawn-team "implement feature X"
| Document | Description |
|---|---|
| Architecture | System design and component overview |
| Configuration | All configuration options explained |
| Watcher Agent | How the orchestration agent works |
| Document | Description |
|---|---|
| CLAUDE.aisp | Development instructions |
| architecture.aisp | Type system and data flow |
| configuration.aisp | Config schema specification |
| watcher.aisp | Agent behavior specification |
┌─────────────────────────────────────────────────────────────┐
│ Host LLM Session │
│ (receives spawn request, gets summary results) │
└─────────────────────┬───────────────────────────────────────┘
│ spawn command
▼
┌─────────────────────────────────────────────────────────────┐
│ LLM Watcher Agent │
│ - Evaluates task requirements (LLM-assisted) │
│ - Provisions sandbox (git worktree) │
│ - Monitors progress (files, commits, output) │
│ - Detects errors & manages recovery │
│ - Creates PR & summary on completion │
└─────────────────────┬───────────────────────────────────────┘
│ provisions & monitors
▼
┌─────────────────────────────────────────────────────────────┐
│ Sandboxed LLM Instance │
│ - Runs in isolated git worktree │
│ - Headless, streaming mode, no session history │
│ - Limited permissions (no --dangerously-skip-permissions) │
│ - Output piped to debug files │
└─────────────────────────────────────────────────────────────┘
Create .infinite-probability/improbability-drive.toml in your project:
[spawn]
mode = "aisp" # or "passthrough"
recovery_strategy = "moderate" # "moderate", "aggressive", "interactive"
idle_timeout = 120 # 2 minutes no activity
total_timeout = 1800 # 30 minutes max
default_llm = "claude-code" # or "gemini-cli"
[spawn.permissions]
allowed_tools = ["Read", "Write", "Edit", "Glob", "Grep", "Bash"]
denied_tools = ["Task"]
max_permission_escalations = 1
[spawn-team]
coordination = "sequential" # or "ping-pong"
max_iterations = 3
reviewer_llm = "gemini-cli"
See Configuration Guide for all options.
The sandbox enforces strict isolation:
$HOME is inaccessible--dangerously-skip-permissions blocked| Strategy | Behavior |
|---|---|
| Moderate | Attempt 1 recovery before failing |
| Aggressive | Keep trying until unfixable error |
| Interactive | Ask user for each recovery decision |
| Mode | Description |
|---|---|
| Sequential | Primary LLM completes, reviewer evaluates once |
| Ping-pong | Primary and reviewer alternate until approval |
See CLAUDE.md for development instructions, or CLAUDE.aisp for LLM-optimized instructions.
# Build
cargo build --release
# Test
cargo test
# Run
./target/release/infinite-improbability-drive spawn "your task"
MIT
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Brainstorm-to-implementation multi-LLM development workflow plugin — three-phase pipeline with teammate Claude Code instances, beads-based task tracking, and per-plan-phase nurture and secure review
Pre-configured skill management for Claude Code — discover, activate, and invoke skills from skills.sh and GitHub with security gating.
npx claudepluginhub epiphytic/infinite-improbability-drive-v0Autonomous session orchestrator for Claude Code - manages multi-phase development workflows
Multi-agent orchestration for code that matters.
Harness engineering for Claude Code — hook-enforced dual review, state-machine gates, and fail-closed safety where it counts.
Multi-agent orchestration via li o flow and li o fanout
Human-AI partnership for Claude Code. Share a terminal, orchestrate workers, evolve together. Brainstorm ideas, turn them into wishes, execute with /work, validate with /review, and ship as one team.
AI-to-AI collaboration — review code, brainstorm ideas, and debate plans across Gemini, Codex, and Ollama