Hierarchical multi-cluster coding swarm CLI
Project description
Autobots
Hierarchical multi-cluster coding swarm CLI powered by NVIDIA NIM models.
Autobots orchestrates multiple AI models as a hierarchical swarm to plan, implement, validate, and repair code against your target repositories. It features a complete tool system (Read, Write, Edit, Glob, Grep), interactive REPL mode, granular permissions, context management, hooks, MCP integration, and code review.
Installation
pip install autobot-swarm
Quick Start
# Set your API key
export NVIDIA_API_KEY="your_key_here"
# Navigate to your project
cd /path/to/your/project
# Initialize, plan, and run
autobots init
autobots plan --goal "Add user authentication"
autobots run --supervised
Features
Core Swarm
- 9 Specialized Clusters — Optimus (planning), UltraMagnus (backend), Jazz (frontend), RedAlert (security), Ratchet (repair), Perceptor (retrieval), Bumblebee (media), Ironhide (simulation), Wheeljack (science)
- Phase-Based Execution — Inspect, Implement, Validate, Repair pipeline
- Context Injection — Reads project documentation and injects into model prompts
- Automatic Repair — Self-healing with validation-driven repair loops
- Rollback Support — Snapshots before writes, undo reverts changes
File Operations
- Read — Read files with offset/limit, line numbers, binary/image support
- Write — Atomic writes with directory creation and path sandboxing
- Edit — Targeted string replacement with exact match, replaceAll mode
- Glob — Pattern-based file search (
**/*.py) - Grep — Regex content search across files
Interactive Mode
- REPL — Conversational session with history and streaming
- One-Shot —
autobots ask "question"for quick queries - Piped Input —
cat file.py | autobots ask "explain" - Slash Commands —
/help,/clear,/cost,/compact,/model,/exit
Permissions
- Tool-Level Control — Allow/deny/ask per tool call
- Interactive Approval — y/n/a/Esc prompt
- Config Merge — Global + project + environment settings
- Audit Logging — JSON-lines log of all decisions
Context Management
- Token Tracking — Real-time token usage and budget display
- Auto-Compaction — Summarizes conversation at 80% threshold
- CLAUDE.md Hierarchy — Global, project, and subdirectory instructions
Extensions
- Hooks — Pre/post tool execution callbacks
- MCP — Model Context Protocol server integration
- Plugins — Custom extensions via hook system
Code Review
- Git Diff Review — Analyze changes for issues
- Doctor Command — Health checks for API, connectivity, Python, package
CLI Commands
| Command | Description |
|---|---|
autobots init |
Initialize context files |
autobots plan |
Generate implementation roadmap |
autobots run |
Execute with autonomy mode |
autobots resume |
Resume from checkpoint |
autobots ask |
One-shot question |
autobots steer |
Add steering instructions |
autobots status |
Rich status display |
autobots explain |
Show audit trail |
autobots stats |
Usage statistics |
autobots undo |
Rollback changes |
autobots doctor |
Health checks |
autobots catalog |
Browse model registry |
Configuration
Create .autobots.toml in your project root:
[autobots]
model_selection_profile = "balanced"
default_mode = "supervised"
milestone_threshold = 3
temperature = 0.2
max_tokens = 4096
Execution Modes
- Supervised — Manual approval per phase (default)
- Milestone — Approval every N phases
- Autonomous — No approval gates
Requirements
- Python 3.11+
- NVIDIA API Key
Links
- GitHub: https://github.com/DanielDeshmukh/autobots
- Issues: https://github.com/DanielDeshmukh/autobots/issues
- PyPI: https://pypi.org/project/autobot-swarm/
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autobot_swarm-2.0.0.tar.gz.
File metadata
- Download URL: autobot_swarm-2.0.0.tar.gz
- Upload date:
- Size: 218.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6e74bd704f83818cf75074b83c819b5f08b099fb43387904ed3c72445461014
|
|
| MD5 |
dded25d916ee5b39d05b4a93b546a3f6
|
|
| BLAKE2b-256 |
0678f2889301fe758437901b8931215ba102cf48b1d263780448916e8d6ffcf6
|
File details
Details for the file autobot_swarm-2.0.0-py3-none-any.whl.
File metadata
- Download URL: autobot_swarm-2.0.0-py3-none-any.whl
- Upload date:
- Size: 184.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21454b125a5f8060b30098be46dbfbeff1076182885b08778f7bf83cfe3b97de
|
|
| MD5 |
c8b064574f7690fe2d8667be30b62188
|
|
| BLAKE2b-256 |
fc0e00e28a175743a69207fb07bd0a58d048e4661d9977c2a499002b6c883e2a
|