Skip to content

Latest commit

 

History

History
 
 

README.md

ACE Framework Examples

Navigation guide for all ACE examples. Each directory has its own detailed README.

🎯 Getting Started

New to ACE? Start with these:

🧩 Integrations

Add ACE learning to existing systems:

Browser Automation (browser-use)

browser-use/ - Self-improving browser agents

📖 See browser-use/README.md for full guide

LangChain Integration

langchain/ - Wrap LangChain chains/agents with learning

📖 See langchain/README.md for patterns

Custom Integration

custom_integration_example.py - Pattern for any agent

Shows the three-step integration: Inject → Execute → Learn

📊 Advanced Topics

Production Learning

helicone/ - Learn from Helicone observability logs

  • Parse production LLM traces
  • Replay-based learning (cost-effective)
  • Tool selection analysis

📖 See helicone/README.md

Prompt Engineering

prompts/ - Compare ACE prompt versions

Skillbook Management

🗂️ Examples by Use Case

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/

🚀 Quick Start

# 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

📚 Documentation

🔧 Adapting Examples

Each example is documented for easy adaptation:

  1. Browser automation: Copy browser-use/TEMPLATE.py
  2. LangChain: See langchain/README.md patterns
  3. Custom agent: Follow custom_integration_example.py
  4. Other: Check subdirectory READMEs for guidance

❓ Need Help?