Skip to content

Commit 6d65e61

Browse files
authored
Update README.md
1 parent 74d445e commit 6d65e61

1 file changed

Lines changed: 46 additions & 1 deletion

File tree

README.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ for task in real_world_tasks:
125125

126126
## How does Agentic Context Engine (ACE) work?
127127

128-
ACE is an implementation **Agentic Context Engineering (ACE)** from the research paper: [Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models](https://arxiv.org/abs/2510.04618)
128+
ACE is an implementation of **Agentic Context Engineering (ACE)** from the research paper: [Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models](https://arxiv.org/abs/2510.04618)
129129

130130

131131
ACE uses three specialized roles that work together:
@@ -159,6 +159,51 @@ flowchart LR
159159

160160
---
161161

162+
## How does Agentic Context Engine (ACE) work?
163+
164+
ACE uses three specialized roles that work together:
165+
166+
1. **🎯 Generator** - Executes tasks using learned strategies from the playbook
167+
2. **🔍 Reflector** - Analyzes what worked and what didn't after each execution
168+
3. **📝 Curator** - Updates the playbook with new strategies based on reflection
169+
170+
The magic happens in the **Playbook**—a living document of strategies that evolves with experience.
171+
172+
### The Learning Loop
173+
174+
Task → Execute → Reflect → Curate → Playbook → Better Next Time ↑ │ └──────────────────────────────────────────────────────┘
175+
176+
Each execution teaches your agent:
177+
178+
- **✅ Successes** → Extract patterns that work
179+
- **❌ Failures** → Learn what to avoid
180+
- **🔧 Tool usage** → Discover which tools work best for which tasks
181+
- **🎯 Edge cases** → Remember rare scenarios and how to handle them
182+
183+
**Key innovation:** All learning happens **in context** through incremental updates—no fine-tuning, no training data, and complete transparency into what your agent learned.
184+
185+
```mermaid
186+
---
187+
config:
188+
look: neo
189+
theme: neutral
190+
---
191+
flowchart LR
192+
Playbook[("`**📚 Playbook**<br>(Evolving Context)<br><br>•Strategy Bullets<br> ✓ Helpful strategies <br>✗ Harmful patterns <br>○ Neutral observations`")]
193+
Start(["**📝Query** <br>User prompt or question"]) --> Generator["**⚙️ Generator** <br>Executes task using playbook"]
194+
Generator --> Reflector
195+
Playbook -. Provides Context .-> Generator
196+
Environment["**🌍 Task Environment**<br>Evaluates results<br>Provides feedback"] -- Feedback+ <br>Optional Ground Truth --> Reflector
197+
Reflector["**🔍 Reflector**<br>Analyzes what was helpful/harmful"]
198+
Reflector --> Curator["**📝 Curator**<br>Produces improvement deltas"]
199+
Curator --> DeltaOps["**🔀 Merger** <br>Updates playbook incrementally"]
200+
DeltaOps -- Incremental<br>Updates --> Playbook
201+
Generator <--> Environment
202+
ACE prevents "context collapse" through incremental updates rather than full rewrites, preserving valuable strategies over time.
203+
```
204+
205+
---
206+
162207
## Installation Options
163208

164209
```bash

0 commit comments

Comments
 (0)