Refactor existing Claude Code orchestrator system into proper Python module: - Create pyproject.toml with full project metadata and dependencies - Reorganize source code into src/autoclaude/ structure (PEP 420 namespace) - Implement entry point as 'autoclaude' command via setuptools - Extract CLI functionality into cli.py (TmuxHelper, ClaudeCLI classes) - Extract orchestration into orchestrator.py (SessionController, SessionAnalyzer, etc.) - Extract multi-agent system into multi_agent_system.py - Add utils.py with shared utilities and environment helpers - Create comprehensive autocode.md with complete system documentation - Include architecture, CLI reference, configuration guide, development guidelines - Add README.md with quick start instructions - Add LICENSE (MIT) and .gitignore following Python standards - Add MANIFEST.in for package distribution - Zero dependency on original project code Architectural principles strictly followed: - YAGNI: No speculative features or abstractions - DRY: Single source of truth for patterns and logic - CONSISTENT: Uniform code style and patterns throughout - KISS: Simple, direct implementations - OO: Classes used appropriately for stateful operations Documentation standards applied throughout: - Professional, precise writing (K&R style) - No promotional language or emoji - No contributor solicitation - Clear specifications and requirements This is a complete one-shot implementation with no partial work. Installation via: pip install -e . CLI usage: autoclaude [command] [args] Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
69 lines
1000 B
Markdown
69 lines
1000 B
Markdown
# Autoclaude
|
|
|
|
Autonomous multi-agent control system for Claude Code sessions.
|
|
|
|
## Quick Start
|
|
|
|
### Installation
|
|
|
|
```bash
|
|
cd autoclaude
|
|
pip install -e .
|
|
```
|
|
|
|
### Basic Usage
|
|
|
|
List Claude Code sessions:
|
|
```bash
|
|
autoclaude list
|
|
```
|
|
|
|
Start autonomous monitoring:
|
|
```bash
|
|
autoclaude start main 8
|
|
```
|
|
|
|
Check status:
|
|
```bash
|
|
autoclaude status
|
|
```
|
|
|
|
View logs:
|
|
```bash
|
|
autoclaude logs
|
|
```
|
|
|
|
## Features
|
|
|
|
- Automatic Claude Code session detection
|
|
- Autonomous prompt handling and approval
|
|
- Multi-agent orchestration architecture
|
|
- Real-time session monitoring
|
|
- Command-line interface for complete control
|
|
- Configuration-driven behavior
|
|
|
|
## System Requirements
|
|
|
|
- Python 3.7 or higher
|
|
- tmux (any recent version)
|
|
- POSIX-compatible operating system
|
|
|
|
## Documentation
|
|
|
|
Complete documentation available in autocode.md
|
|
|
|
See autocode.md for:
|
|
- Detailed architecture
|
|
- Complete CLI reference
|
|
- Configuration guide
|
|
- Development guidelines
|
|
- Troubleshooting
|
|
|
|
## Author
|
|
|
|
Retoor (retoor@molodetz.nl)
|
|
|
|
## License
|
|
|
|
MIT
|