Skip to main content

AURORA: Adaptive Unified Reasoning and Orchestration Architecture with MCP Integration

Project description

   █████╗ ██╗   ██╗██████╗  ██████╗ ██████╗  █████╗
  ██╔══██╗██║   ██║██╔══██╗██╔═══██╗██╔══██╗██╔══██╗
  ███████║██║   ██║██████╔╝██║   ██║██████╔╝███████║
  ██╔══██║██║   ██║██╔══██╗██║   ██║██╔══██╗██╔══██║
  ██║  ██║╚██████╔╝██║  ██║╚██████╔╝██║  ██║██║  ██║
  ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝
 ┳┳┓┏┓┳┳┓┏┓┳┓┓┏  ┏┓┓ ┏┏┓┳┓┏┓  ┏┓┳┓┏┓┳┳┓┏┓┓ ┏┏┓┳┓┓┏
 ┃┃┃┣ ┃┃┃┃┃┣┫┗┫━━┣┫┃┃┃┣┫┣┫┣ ━━┣ ┣┫┣┫┃┃┃┣ ┃┃┃┃┃┣┫┃┫
 ┛ ┗┗┛┛ ┗┗┛┛┗┗┛  ┛┗┗┻┛┛┗┛┗┗┛  ┻ ┛┗┛┗┛ ┗┗┛┗┻┛┗┛┛┗┛┗
Planning & Multi-Agent Orchestration

Python 3.10+ License: MIT PyPI version


Summary

Aurora - Memory-aware Planning & Multi-Agent Orchestration Framework

  • LLM-agnostic - No API keys, works with 20+ CLI tools (Claude Code, Cursor, Aider, etc.)
  • Smart Memory - ACT-R activation decay, BM25, tree-sitter/cAST, git signals
  • Memory-Aware Planning - Decompose goals, assign agents, detect capability gaps
  • Memory-Aware Research - Multi-agent orchestration with recovery and state
  • Task Execution - Stop gates for feature creep and dangerous commands
  • Headless Mode - Isolated branch execution with max retries
# New installation
pip install aurora-actr

# Upgrading from older version (0.9.x → 0.10.0)?
# Use --upgrade flag to pull latest release
pip install --upgrade aurora-actr
aur --version  # Should show 0.10.0

# Uninstall
pip uninstall aurora-actr

# From source (development)
git clone https://github.com/amrhas82/aurora.git
cd aurora && ./install.sh

Core Features

Smart Memory (Slash Commands)

aur:search - Memory with activation decay from ACT-R. Indexes your code using:

  • BM25 - Keyword search
  • Git signals - Recent changes rank higher
  • Tree-sitter/cAST - Code stored as class/method (Python, TypeScript, Java)
  • Markdown indexing - Search docs, save tokens
# Terminal
aur mem index .
aur mem search "soar reasoning" --show-scores
Found 5 results for 'soar reasoning'

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━┳━━━━━━━━━┳━━━━━━━━┓
┃ File                        Type    Name              Lines    Comm…  Modifi…   Score ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━╇━━━━━━━━━╇━━━━━━━━┩
│ orchestrator.py             code    SOAROrchestrator  69-1884     30  recent    0.922 │
│ TOKEN-PREDICTION-VS-AGENT…  kb      Connection to     1-40         2  recent    0.892 │
│                                     You...                                            │
│ decompose.py                code    PlanDecomposer    55-658      12  recent    0.755 │
│ decompose.py                code    PlanDecomposer.…  460-566      5  recent    0.731 │
│ test_agent_matching_quali…  code    TestDecompositi…  663-707      2  recent    0.703 │
└────────────────────────────┴────────┴──────────────────┴─────────┴───────┴─────────┴────────┘

Average scores:
  Activation: 0.916
  Semantic:   0.867
  Hybrid:     0.801

Refine your search:
  --show-scores    Detailed score breakdown (BM25, semantic, activation)
  --show-content   Preview code snippets
  --limit N        More results (e.g., --limit 20)
  --type TYPE      Filter: function, class, method, kb, code
  --min-score 0.5  Higher relevance threshold

Detailed Score Breakdown:

┌─ orchestrator.py | code | SOAROrchestrator (Lines 69-1884) ────────────────────────────────┐
│ Final Score: 0.922                                                                         │
│  ├─ BM25:       1.000 * (exact keyword match on 'reasoning', 'soar')                       │
│  ├─ Semantic:   0.869 (high conceptual relevance)                                          │
│  └─ Activation: 0.916 (accessed 31x, 30 commits, last used 19 minutes ago)                 │
│ Git: 30 commits, last modified 1768838464                                                  │
└────────────────────────────────────────────────────────────────────────────────────────────┘

# Slash command
/aur:search "authentication"
/aur:get 1  # Read chunk

Memory-Aware Planning (Terminal)

aur goals - Decomposes any goal into subgoals:

  1. Looks up existing memory for matches
  2. Breaks down into subgoals
  3. Assigns your existing subagents to each subgoal
  4. Detects capability gaps - tells you what agents to create

Works across any domain (code, writing, research).

$ aur goals "how can i improve the speed of aur mem search that takes 30 seconds loading when
it starts" -t claude
╭──────────────────────────────────────── Aurora Goals ───────────────────────────────────────╮
│ how can i improve the speed of aur mem search that takes 30 seconds loading when it starts  │
╰─────────────────────────────────────── Tool: claude ────────────────────────────────────────╯
╭──────────────────────────────── Plan Decomposition Summary ─────────────────────────────────╮
│ Subgoals: 5                                                                                 │
│                                                                                             │
│   [++] Locate and identify the 'aur mem search' code in the codebase: @code-developer       │
│   [+] Analyze the startup/initialization logic to identify performance bottlenecks:         │
│ @code-developer (ideal: @performance-engineer)                                              │
│   [++] Review system architecture for potential design improvements (lazy loading, caching, │
│ indexing): @system-architect                                                                │
│   [++] Implement optimization strategies (lazy loading, caching, indexing, parallel         │
│ processing): @code-developer                                                                │
│   [++] Measure and validate performance improvements with benchmarks: @quality-assurance    │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯

╭────────────────────────────────────────── Summary ──────────────────────────────────────────╮
│ Agent Matching: 4 excellent, 1 acceptable                                                   │
│ Gaps Detected: 1 subgoals need attention                                                    │
│ Context: 1 files (avg relevance: 0.60)                                                      │
│ Complexity: COMPLEX                                                                         │
│ Source: soar                                                                                │
│                                                                                             │
│ Warnings:                                                                                   │
│   ! Agent gaps detected: 1 subgoals need attention                                          │
│                                                                                             │
│ Legend: [++] excellent | [+] acceptable | [-] insufficient                                  │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯

Memory-Aware Research (Terminal)

aur soar - Research questions using your codebase:

  1. Looks up existing memory for matches
  2. Decomposes question into sub-questions
  3. Utilizes existing subagents
  4. Spawns agents on the fly
  5. Simple multi-orchestration with agent recovery (stateful)
aur soar "write a 3 paragraph sci-fi story about a bug the gained llm conscsiousness" -t claude
╭──────────────────────────────────────── Aurora SOAR ────────────────────────────────────────╮
│ write a 3 paragraph sci-fi story about a bug the gained llm conscsiousness                  │
╰─────────────────────────────────────── Tool: claude ────────────────────────────────────────╯
Initializing...


[ORCHESTRATOR] Phase 1: Assess
  Analyzing query complexity...
  Complexity: MEDIUM

[ORCHESTRATOR] Phase 2: Retrieve
  Looking up memory index...
  Matched: 10 chunks from memory

[LLM  claude] Phase 3: Decompose
  Breaking query into subgoals...
   1 subgoals identified

[LLM  claude] Phase 4: Verify
  Validating decomposition and assigning agents...
   PASS (1 subgoals routed)

                                      Plan Decomposition
┏━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ #    ┃ Subgoal                                       ┃ Agent                ┃ Match        ┃
┡━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ 1     Write a 3-paragraph sci-fi short story about   @creative-writer*      Spawned    │
└──────┴───────────────────────────────────────────────┴──────────────────────┴──────────────┘
╭────────────────────────────────────────── Summary ──────────────────────────────────────────╮
│ 1 subgoal  0 assigned  1 spawned                                                          │
│                                                                                             │
│ Spawned (no matching agent): @creative-writer                                               │
╰─────────────────────────────────────────────────────────────────────────────────────────────

Task Execution (Terminal)

aur spawn - Takes predefined task list and executes with:

  • Stop gates for feature creep
  • Dangerous command detection (rm -rf, etc.)
  • Budget limits
aur spawn tasks.md --verbose

Planning Workflow

3 simple steps from goal to implementation.

Code-aware planning: aur goals searches your indexed codebase and maps each subgoal to relevant source files (source_file). This context flows through /aur:plan/aur:implement, making implementation more accurate.

Quick prototype? Skip aur goals and run /aur:plan directly - the agent will search on the fly (less structured).

Setup (once)             Step 1: Decompose        Step 2: Plan             Step 3: Implement
Terminal                 Terminal                 Slash Command            Slash Command
┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐      ┌─────────────────┐
│   aur init      │     │   aur goals     │ ->  │   /aur:plan     │  ->  │  /aur:implement │
│   Complete      │     │   "Add feature" │     │   [plan-id]     │      │   [plan-id]     │
│   project.md*   │     │                 │     │                 │      │                 │
│   aur mem index │     │                 │     │                 │      │                 │
└─────────────────┘     └─────────────────┘     └─────────────────┘      └─────────────────┘
        │                       │                       │                        │
        v                       v                       v                        v
   .aurora/                goals.json              5 artifacts:            Code changes
   - project.md*           - subgoals              - plan.md               - validated
   - memory.db             - agents                - prd.md                - tested
                           - source files          - design.md
                                                   - agents.json
                                                   - tasks.md
                                                        │
                                                 ┌──────┴──────┐
                                                 │ /aur:tasks  │  <- Optional: regenerate
                                                 │ [plan-id]   │     tasks after PRD edits
                                                 └─────────────┘

* Ask your agent to complete project.md: "Please fill out .aurora/project.md with our
  architecture, conventions, and key patterns." This improves planning accuracy.

See 3 Simple Steps Guide for detailed walkthrough.


Quick Start

# Install (or upgrade with --upgrade flag)
pip install aurora-actr

# Initialize project (once per project)
cd your-project/
aur init                        # Creates .aurora/project.md

# IMPORTANT: Complete .aurora/project.md manually
# Ask your agent: "Please complete the project.md with our architecture and conventions"
# This context improves planning accuracy

# Index codebase for memory
aur mem index .

# Plan with memory context
aur goals "Add user authentication"

# In your CLI tool (Claude Code, Cursor, etc.):
/aur:plan add-user-authentication
/aur:implement add-user-authentication

Commands Reference

Command Type Description
aur init Terminal Initialize Aurora in project
aur doctor Terminal Check installation and dependencies
aur mem index . Terminal Index code/docs (supports PDF, DOCX, MD)
aur mem search "query" Terminal Search memory
aur goals "goal" Terminal Memory-aware planning
aur soar "question" Terminal Memory-aware research
aur spawn tasks.md Terminal Execute with safeguards
aur friction <sessions-dir> Terminal Analyze session friction, extract failure patterns
aur friction config Terminal Show friction signal weights
/aur:search "query" Slash Search indexed memory
/aur:get N Slash Read chunk from search
/aur:plan [plan-id] Slash Generate plan artifacts
/aur:tasks [plan-id] Slash Regenerate tasks from PRD
/aur:implement [plan-id] Slash Execute plan
/aur:archive [plan-id] Slash Archive completed plan

Supported Tools

Works with 20+ CLI tools: Claude Code, Cursor, Aider, Cline, Windsurf, Gemini CLI, and more.

aur init --tools=claude,cursor

Documentation


License

MIT License - See LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aurora_actr-0.12.0.tar.gz (601.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aurora_actr-0.12.0-py3-none-any.whl (739.1 kB view details)

Uploaded Python 3

File details

Details for the file aurora_actr-0.12.0.tar.gz.

File metadata

  • Download URL: aurora_actr-0.12.0.tar.gz
  • Upload date:
  • Size: 601.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for aurora_actr-0.12.0.tar.gz
Algorithm Hash digest
SHA256 45c26b52f7f0a31da2437da4e5af16327e3438d04e7c1e3604e094847e92bbfd
MD5 3e09c53fbc295d21a02028534aee2797
BLAKE2b-256 24ba35ff5c2dfdf6825d3363c4186f89befa3cb90853c60684be994368438d6b

See more details on using hashes here.

File details

Details for the file aurora_actr-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: aurora_actr-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 739.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for aurora_actr-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e456edf16bd27bfd87284a6f3747e6ff5731d1410a2eb322d9f6e4187dcbd8fb
MD5 8ed6a913443e1b9b4bb81cd593d67d38
BLAKE2b-256 6c93ea4499d3a935861f99afa316841ffbb4400d849495b8b408bc7437549d94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page