logic-engine / examples /README.md
ghostdrive1's picture
Upload folder using huggingface_hub
116524e verified
|
Raw
History Blame Contribute Delete
4.42 kB

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

Pipeline Composition

pipeline_composition/ - Build custom ACE pipelines

πŸ“Š 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
Custom pipelines pipeline_composition/
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

Note: Documentation has been reorganized. Previous top-level docs (QUICK_START.md, INTEGRATION_GUIDE.md, etc.) have moved to docs/getting-started/, docs/guides/, and docs/api/. Old versions are archived in docs/old_docs/.

πŸ”§ 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?