Skip to main content

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

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)

Source distribution for autobot-swarm 2.0.0
File Size Uploaded
autobot_swarm-2.0.0.tar.gz 218.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autobot-swarm 2.0.0
File Interpreter ABI Platform
autobot_swarm-2.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page