AURORA: Adaptive Unified Reasoning and Orchestration Architecture with MCP Integration
Project description
█████╗ ██╗ ██╗██████╗ ██████╗ ██████╗ █████╗ ██╔══██╗██║ ██║██╔══██╗██╔═══██╗██╔══██╗██╔══██╗ ███████║██║ ██║██████╔╝██║ ██║██████╔╝███████║ ██╔══██║██║ ██║██╔══██╗██║ ██║██╔══██╗██╔══██║ ██║ ██║╚██████╔╝██║ ██║╚██████╔╝██║ ██║██║ ██║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ┳┳┓┏┓┳┳┓┏┓┳┓┓┏ ┏┓┓ ┏┏┓┳┓┏┓ ┏┓┳┓┏┓┳┳┓┏┓┓ ┏┏┓┳┓┓┏ ┃┃┃┣ ┃┃┃┃┃┣┫┗┫━━┣┫┃┃┃┣┫┣┫┣ ━━┣ ┣┫┣┫┃┃┃┣ ┃┃┃┃┃┣┫┃┫ ┛ ┗┗┛┛ ┗┗┛┛┗┗┛ ┛┗┗┻┛┛┗┛┗┗┛ ┻ ┛┗┛┗┛ ┗┗┛┗┻┛┗┛┛┗┛┗ Lightweight, private memory and code intelligence for AI coding assistants. Multi-agent orchestration that runs locally.
Summary
Aurora - Lightweight Private Memory & Multi-Agent Orchestration
- Private & local - No API keys, no data leaves your machine. Works with Claude Code, Cursor, Aider, 20+ tools
- Smart Memory - Indexes code and docs locally. Ranks by recency, relevance, and access patterns
- Code Intelligence - LSP-powered: find unused code, check impact before refactoring, semantic search
- Multi-Agent Orchestration - Decompose goals, spawn agents, coordinate with recovery and state
- Execution - Run task lists with guardrails against dangerous commands and scope creep
- Friction Analysis - Extract learned rules from stuck patterns in past sessions
# New installation
pip install aurora-actr
# Upgrading?
pip install --upgrade aurora-actr
aur --version # Should show 0.13.2
# Uninstall
pip uninstall aurora-actr
# From source (development)
git clone https://github.com/amrhas82/aurora.git
cd aurora && ./install.sh
Core Features
Smart Memory
aur mem search - Memory with activation decay. 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
Searching memory from /project/.aurora/memory.db...
Found 5 results for 'soar reasoning'
┏━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ Type ┃ File ┃ Name ┃ Lines ┃ Risk ┃ Git ┃ Score ┃
┡━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ code │ core.py │ generate_goals_json │ 1091-1175 │ MED │ 8d ago │ 0.619 │
│ code │ core.py │ <chunk> │ 1473-1855 │ - │ 1d ago │ 0.589 │
│ code │ orchestrator.py │ SOAROrchestrator._c… │ 2141-2257 │ HIGH │ 1d ago │ 0.532 │
│ code │ test_goals_startup_pe… │ TestGoalsCommandSta… │ 190-273 │ LOW │ 1d ago │ 0.517 │
│ code │ goals.py │ <chunk> │ 437-544 │ - │ 7d ago │ 0.486 │
└────────┴────────────────────────┴──────────────────────┴────────────┴────────┴──────────┴─────────┘
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:
┌─ core.py | code | generate_goals_json (Lines 1091-1175) ───────────────────────────────────────────┐
│ Final Score: 0.619 │
│ ├─ BM25: 0.895 * (exact keyword match on 'goals') │
│ ├─ Semantic: 0.865 (high conceptual relevance) │
│ ├─ Activation: 0.014 (accessed 7x, 7 commits, last used 1 week ago) │
│ ├─ Git: 7 commits, modified 8d ago, 1769419365 │
│ ├─ Files: core.py, test_goals_json.py │
│ └─ Used by: 2 files, 2 refs, complexity 44%, risk MED │
└────────────────────────────────────────────────────────────────────────────────────────────────────┘
MCP Tools
Aurora exposes these tools to AI assistants via Model Context Protocol:
| Tool | Purpose |
|---|---|
lsp deadcode |
Find unused functions, classes, variables. Generates CODE_QUALITY_REPORT.md |
lsp impact |
See all callers before changing a symbol. Shows risk level (low/medium/high) |
lsp check |
Quick "is this used?" lookup before editing |
mem_search |
Semantic search across indexed code. Returns snippets with LSP context (used_by, called_by) and git info |
Supported: Python, TypeScript, Java, Go, Rust, C/C++, and more (10+ languages via multilspy)
When to use:
- Before editing:
lsp checkto see what depends on it - Before refactoring:
lsp impactto assess risk - Finding code:
mem_searchinstead of grep for semantic results - After changes:
lsp deadcodeto clean up orphaned code
See MCP Tools Documentation for details.
Memory-Aware Planning (Terminal)
aur goals - Decomposes any goal into subgoals:
- Looks up existing memory for matches
- Breaks down into subgoals
- Assigns your existing subagents to each subgoal
- 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:
- Looks up existing memory for matches
- Decomposes question into sub-questions
- Utilizes existing subagents
- Spawns agents on the fly
- 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 goalsand run/aur:plandirectly - 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
Terminal
| Command | Description |
|---|---|
aur init |
Initialize Aurora in project |
aur doctor |
Check installation and dependencies |
aur mem index . |
Index code and docs |
aur mem search "query" |
Search memory from terminal |
aur goals "goal" |
Decompose goal, match agents, find gaps |
aur soar "question" |
Multi-agent research with memory |
aur spawn tasks.md |
Execute task list with guardrails |
aur friction <dir> |
Analyze session friction patterns |
Slash Commands (in AI tools)
| Command | Description |
|---|---|
/aur:plan [id] |
Generate PRD, design, tasks from goal |
/aur:tasks [id] |
Regenerate tasks after PRD edits |
/aur:implement [id] |
Execute plan tasks sequentially |
/aur:archive [id] |
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
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 aurora_actr-0.13.3.tar.gz.
File metadata
- Download URL: aurora_actr-0.13.3.tar.gz
- Upload date:
- Size: 634.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e65b65c9749471c6e42ba2018e26408c623f35f3a2edf0037ec7165f221f29af
|
|
| MD5 |
ccba543ce2d7daedcc97f35270c94e75
|
|
| BLAKE2b-256 |
8ba0f0a1d5c9932a2bec5f2eafb2eab9deb9ec8e2ff3120da003b57fbe76e05c
|
File details
Details for the file aurora_actr-0.13.3-py3-none-any.whl.
File metadata
- Download URL: aurora_actr-0.13.3-py3-none-any.whl
- Upload date:
- Size: 776.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aefb56576b75e59355e1c344f1fdd999bb42edf5b2a1f34e3ffc8fdb2f0b71d
|
|
| MD5 |
8b73c6798b2b84ca57533d2023d9ddfc
|
|
| BLAKE2b-256 |
1139a4ba6dce5067bfb961d1c5b635bd122286d29e290e51db6714f832c0f1f6
|