The modern, typed, "God-Mode" CLI for macOS power users with autonomous agent orchestration.
For detailed workflows and God-Mode configurations, see the Handbook.
- Parallel Swarm Execution: Run multiple AI agents in parallel using git worktrees for isolation
- AST-Aware Context Slicing: Smart code slicing that preserves semantic meaning
- Constitutional Governance: Automated enforcement of coding standards via AST analysis
- Merge Conflict Resolution: Intelligent 3-tier conflict resolution (TRIVIAL → SEMANTIC → COMPLEX)
- CircuitBreaker Guardrails: Enforces cost velocity and file churn limits, emitting Black Box crash reports before damage spreads
- Cognitive Separation: Captures raw
<thinking>streams separately from action JSON so reasoning cannot be rewritten by summarization
The system uses a layered architecture with swarm planning, isolated execution, and governance-enforced safety rails.
For detailed diagrams and module descriptions, see docs/ARCHITECTURE.md.
- Python 3.11+ (uses
asyncio.TaskGroupand modern type syntax) brew install fzf ripgrep gitbrew install gh(for PR helpers)brew install zoxide(for navigation)- Optional:
brew install switchaudio-osx(for audio control)
pipx install git+https://github.com/jpsweeney97/jp-scripts.gitgit clone https://github.com/jpsweeney97/jp-scripts.git
cd jp-scripts
pip install -e ".[dev]"
# Install with AI memory support
pip install -e ".[ai]"See CONTRIBUTING.md for the complete development guide.
# Verify installation
jp doctor
# Generate config file
jp init
# View your config
jp configjp evolve proactively identifies and refactors high technical debt code. See the Handbook for the full protocol.
jp evolve run --dry-run # Analyze without changes
jp evolve report # Show complexity report
jp evolve debt # Show debt scoresExecute DAG-based tasks in parallel with full git worktree isolation. See the Handbook for usage patterns.
Smart code extraction that preserves semantic relationships using the DependencyWalker. See the Handbook for examples.
jpscripts loads configuration in this order: CLI flags → environment variables → config file (~/.jpconfig or JPSCRIPTS_CONFIG) → defaults. Run jp init to generate a starter file.
Example TOML:
editor = "code -w" # default editor
notes_dir = "~/Notes/quick-notes" # daily notes location
workspace_root = "~/Projects" # base for jp recent / proj
ignore_dirs = [".git", "node_modules", ".venv", "__pycache__", "dist", "build", ".idea", ".vscode"]
snapshots_dir = "~/snapshots"
log_level = "INFO"
default_model = "claude-sonnet-4-5"
memory_store = "~/.jp_memory.jsonl"
memory_model = "all-MiniLM-L6-v2"
use_semantic_search = true
max_file_context_chars = 50000
max_command_output_chars = 20000| Command | Description |
|---|---|
jp doctor |
Verify external dependencies |
jp init |
Generate config file |
jp config |
Show active configuration |
jp agent / jp fix |
Delegate task to LLM agent |
jp recent |
Jump to recently modified files |
jp map |
Generate project structure map |
jp status-all |
Git status across all repos |
jp memory search |
Query the memory store |
jp evolve run |
Autonomous code optimization |
jp watch |
God-Mode file watcher |
For the complete CLI and MCP tools reference, see docs/CLI_REFERENCE.md.
jp doctorshows LanceDB/embedding failures: install AI extras (pip install "jpscripts[ai]") or setuse_semantic_search = falsein~/.jpconfigif you want JSONL-only mode. Capability errors surface asCapabilityMissingErrorrather than silent degradation.jp doctorreports MCP config missing: ensure~/.codex/config.tomlexists or pass--tool mcpafter runningjp initto regenerate the file; server discovery requires that config path.