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
Metadata
Release files for autobot-swarm 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autobot_swarm-2.0.0.tar.gz | 218.4 kB | Without provenance | Details for autobot_swarm-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autobot_swarm-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for autobot_swarm-2.0.0-py3-none-any.whl |
Total release size: 403.0 kB
Release files / autobot_swarm-2.0.0.tar.gz
| Download URL | autobot_swarm-2.0.0.tar.gz |
|---|---|
| Size | 218.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6e74bd704f83818cf75074b83c819b5f08b099fb43387904ed3c72445461014
|
|
BLAKE2b-256 checksum How to use checksums |
0678f2889301fe758437901b8931215ba102cf48b1d263780448916e8d6ffcf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Release files / autobot_swarm-2.0.0-py3-none-any.whl
| Download URL | autobot_swarm-2.0.0-py3-none-any.whl |
|---|---|
| Size | 184.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21454b125a5f8060b30098be46dbfbeff1076182885b08778f7bf83cfe3b97de
|
|
BLAKE2b-256 checksum How to use checksums |
fc0e00e28a175743a69207fb07bd0a58d048e4661d9977c2a499002b6c883e2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Security for autobot-swarm 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.