Navigation guide for all ACE examples. Each directory has its own detailed README.
New to ACE? Start with these:
- simple_ace_example.py - Minimal ACE usage (5 minutes)
- seahorse_emoji_ace.py - Self-reflection demo
- Quick Start Guide - Step-by-step tutorial
Add ACE learning to existing systems:
browser-use/ - Self-improving browser agents
- simple_ace_agent.py - Basic ACEAgent usage
- domain-checker/ - Domain availability automation
- form-filler/ - Form filling automation
- online-shopping/ - E-commerce automation
📖 See browser-use/README.md for full guide
langchain/ - Wrap LangChain chains/agents with learning
- simple_chain_example.py - Basic chain + ACE
- agent_with_tools_example.py - Agent with tools
📖 See langchain/README.md for patterns
custom_integration_example.py - Pattern for any agent
Shows the three-step integration: Inject → Execute → Learn
helicone/ - Learn from Helicone observability logs
- Parse production LLM traces
- Replay-based learning (cost-effective)
- Tool selection analysis
📖 See helicone/README.md
prompts/ - Compare ACE prompt versions
- compare_v1_v2_prompts.py - v1.0 vs v2.0
- advanced_prompts_v2.py - Advanced techniques
- skillbook_persistence.py - Save and load learned strategies
| Use Case | Example |
|---|---|
| Q&A systems | simple_ace_example.py |
| Browser automation | browser-use/ |
| LangChain workflows | langchain/ |
| Custom agents | custom_integration_example.py |
| Production learning | helicone/ |
| Prompt optimization | prompts/ |
# 1. Install
pip install ace-framework
# 2. Set API key
export OPENAI_API_KEY="your-api-key"
# 3. Run example
python examples/simple_ace_example.py
# Browser examples (contributors: uv sync --group demos)
uv run python examples/browser-use/simple_ace_agent.py- Quick Start Guide - 5-minute tutorial
- Integration Guide - Add ACE to existing agents
- API Reference - Complete API
- Complete ACE Guide - Deep dive
Each example is documented for easy adaptation:
- Browser automation: Copy browser-use/TEMPLATE.py
- LangChain: See langchain/README.md patterns
- Custom agent: Follow custom_integration_example.py
- Other: Check subdirectory READMEs for guidance
- GitHub Issues
- Discord Community
- Check subdirectory READMEs for specific guidance