Skip to content

Latest commit

 

History

328 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACE: Automated Coding Environment Orchestrator

ACE is a modular, event-driven orchestration layer for specialized coding agents. It implements the ROLF Cycle (Reasoning, Action, Learning, Progress, Halt) to manage complex development tasks autonomously.

🚀 Vision

ACE transforms the standard coding experience into a Multi-Agent System (MAS) where specialized agents own specific parts of your codebase, learn from every interaction, and collaborate through formal protocols.

🛠 Installation

Prerequisites

  • Python 3.10+
  • Cursor (recommended)
  • Anthropic and/or Google AI API Keys

Quick Install

# Clone the repository
git clone https://github.com/your-repo/ACE.git
cd ACE

# Install in editable mode
make install

🏁 Quick Start

  1. Initialize ACE:

    ace init

    This sets up the .ace/ directory and prompts for necessary API keys.

  2. Run a ROLF Loop:

    ace loop "Implement a new feature X" --test "pytest tests/test_x.py"

    ACE will iteratively build, test, and reflect on the task until completion.

  3. Check Token Usage:

    ace token-stats

🧠 Core Concepts

1. The ROLF Cycle

Every task follows a structured loop:

  • Reasoning: Analyze the prompt and build context.
  • Action: Execute coding tasks via agents.
  • Learning: Reflect on the output and extract new strategies or pitfalls.
  • Progress: Update long-term memory (Playbooks).
  • Halt: Stop when the task is verified or limits are reached.

2. Specialized Agents

Agents are defined in .ace/agents.yaml and own specific directories. They maintain their own "Playbooks" in .cursor/rules/*.mdc files, which act as their long-term memory.

3. Memory & Reflection

ACE automatically extracts learnings from successful and failed sessions, updating agent playbooks to ensure they get smarter over time.

🏗 Architecture Summary

graph TD
    User[User/CLI] --> Orchestrator[ACE Orchestrator]
    Orchestrator --> ContextBuilder[Context Builder]
    Orchestrator --> Executor[Agent Executor]
    Executor --> Filesystem[Codebase]
    Executor --> Tests[Test Runner]
    Tests --> Reflection[Reflection Engine]
    Reflection --> Playbooks[.cursor/rules/*.mdc]
    Playbooks --> ContextBuilder
Loading

For more details, see ARCHITECTURE.md.

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages