RecursiveManager

Hierarchical AI agent system for autonomous task management

Mimics organizational structures with recursive delegation, multi-perspective analysis, and file-based persistence

[Get Started](/RecursiveManager/installation.html){ .md-button .md-button--primary } [View on GitHub](https://github.com/aaron777collins/RecursiveManager){ .md-button }

Features

- :rocket:{ .lg .middle } **Quick Start** --- Get up and running in minutes with our one-liner installer and CLI. [:octicons-arrow-right-24: Installation](/RecursiveManager/installation.html) - :books:{ .lg .middle } **Core Concepts** --- Learn about agent hierarchies, delegation, and multi-perspective analysis. [:octicons-arrow-right-24: Agent Hierarchy](/RecursiveManager/concepts/agent-hierarchy.html) - :gear:{ .lg .middle } **Architecture** --- Deep dive into the system design, file structure, and database schema. [:octicons-arrow-right-24: Overview](/RecursiveManager/architecture/overview.html) - :material-console:{ .lg .middle } **CLI Reference** --- Complete command reference for managing agents and tasks. [:octicons-arrow-right-24: Commands](/RecursiveManager/cli-reference.html)

Installation

Get started with a single command:

curl -fsSL https://raw.githubusercontent.com/aaron777collins/RecursiveManager/main/scripts/install.sh | bash

For CI/CD environments, use headless mode:

curl -fsSL https://raw.githubusercontent.com/aaron777collins/RecursiveManager/main/scripts/install.sh | bash -s -- --headless --install-dir /opt/recursivemanager

Or install manually:

git clone https://github.com/aaron777collins/RecursiveManager.git
cd RecursiveManager
npm install
npm run build
npm link

Organizational Hierarchy

RecursiveManager creates AI agents that operate like people in a company:

                    ┌─────────────┐
                    │     CEO     │
                    │  (Agent-1)  │
                    └──────┬──────┘
                           │
              ┌────────────┼────────────┐
              │            │            │
         ┌────▼────┐  ┌───▼────┐  ┌───▼────┐
         │  VP Eng │  │ VP Ops │  │VP Sales│
         │(Agent-2)│  │(Agent-3)│  │(Agent-4)│
         └────┬────┘  └───┬────┘  └────────┘
              │           │
       ┌──────┴──────┐    │
       │             │    │
  ┌────▼────┐   ┌───▼────▼───┐
  │ Backend │   │  Frontend  │
  │(Agent-5)│   │  (Agent-6) │
  └─────────┘   └────────────┘

Each agent can:


How It Works

:material-account-tree:{ .lg } **Recursive Hierarchies** - Agents delegate to subordinates who can create their own sub-agents, mimicking real organizational structures { .card } :material-eye-multiple:{ .lg } **Multi-Perspective Analysis** - Critical decisions analyzed from 8 perspectives (Security, Architecture, Simplicity, Financial, Marketing, UX, Growth, Emotional) { .card } :material-file-document:{ .lg } **File-Based Persistence** - All state stored in files for transparency, debugging, and fresh context on each execution { .card } :material-calendar-clock:{ .lg } **Smart Scheduling** - Dual execution modes (continuous/reactive) with intelligent scheduling via ExecutionPool and worker pools { .card }

Use Cases

1. Large-Scale Code Refactoring

Break down a monolithic refactoring into hierarchical tasks, with specialized agents handling different modules.

recursivemanager init "Refactor monolith to microservices"
recursivemanager status
# CEO creates VPs for: Auth, Payments, Inventory, Shipping
# Each VP creates subordinates for: Database, API, Tests, Docs

2. Multi-Perspective Decision Making

Use the 8-perspective analysis framework for critical architectural decisions.

recursivemanager init "Choose database: SQL vs NoSQL"
# System analyzes from Security, Architecture, Simplicity,
# Financial, Marketing, UX, Growth, Emotional perspectives
# Generates comprehensive decision report

3. Autonomous Task Management

Let the system manage long-running tasks without manual intervention.

recursivemanager init "Implement OAuth2 login system"
# Continuous mode: agents work autonomously, reporting progress
# Reactive mode: agents respond to external events (PRs, issues)

4. CI/CD Integration

Integrate with CI/CD pipelines for automated code quality checks and deployments.

# In your GitHub Actions workflow
recursivemanager init "Review PR #123 for security issues" --headless
recursivemanager status --format json > report.json

Key Features

:shield: Built-in Safety

:zap: Performance

:dart: Quality Over Cost

:electric_plug: Multi-Framework Support


Core Philosophy

RecursiveManager prioritizes correctness and reliability over speed and cost:

  1. Quality First - Multi-perspective analysis prevents tunnel vision
  2. Stateless Execution - Fresh context from files prevents decay
  3. Defensive Programming - Validation, locking, and atomic operations
  4. Transparent State - All state visible in files for debugging
  5. Comprehensive Edge Cases - 28+ documented scenarios handled

Unlike traditional automation tools, RecursiveManager:


Project Status

🚀 Alpha Release (v0.1.0) - Core features implemented and tested

Current capabilities:

See the CHANGELOG for detailed release notes.


Getting Started

Ready to dive in? Follow these guides:

- :material-clock-fast:{ .lg } **5-Minute Quick Start** Get up and running with your first agent hierarchy [:octicons-arrow-right-24: Quick Start](/RecursiveManager/quick-start.html) - :material-cog:{ .lg } **Configuration** Customize RecursiveManager for your needs [:octicons-arrow-right-24: Configuration](/RecursiveManager/configuration.html) - :material-code-tags:{ .lg } **API Reference** Deep dive into the core classes and methods [:octicons-arrow-right-24: API Reference](/RecursiveManager/api-reference.html) - :material-heart:{ .lg } **Contributing** Join the development and help improve the project [:octicons-arrow-right-24: Contributing](/RecursiveManager/development/contributing.md)

Community & Support


## Ready to Get Started?
[Install Now](/RecursiveManager/installation.html){ .md-button .md-button--primary .md-button--large } [Read the Docs](/RecursiveManager/quick-start.html){ .md-button .md-button--large } [View on GitHub](https://github.com/aaron777collins/RecursiveManager){ .md-button .md-button--large }