让您的代理人从经验中学习。现已作为托管解决方案在 kayba.ai 上提供
| 指标 | 结果 | 上下文 |
|---|---|---|
| 2x 一致性 | 在 Tau2 航空公司基准测试中,通过率提高 4 倍 | 学习了 15 种策略,没有奖励信号 |
| 代币减少 49% | 浏览器自动化成本降低近一半 | 10 个运行次数的学习曲线 |
| 学习成本 1.50 美元 | Claude 将 14 千行代码翻译成 TypeScript | 没有构建错误,所有测试均通过 |
uv add ace-framework选项 A — 交互式设置 (推荐):
ace setup # Walks you through model selection, API keys, and connection validation选项 B — 手动配置:
export OPENAI_API_KEY="your-key" # or ANTHROPIC_API_KEY, or any of 100+ supported providers然后使用它:
from ace import ACELiteLLM
agent = ACELiteLLM(model="gpt-4o-mini")
# First attempt — the agent may hallucinate
answer = agent.ask("Is there a seahorse emoji?")
# Feed a correction — ACE extracts a strategy and updates the Skillbook
agent.learn_from_feedback("There is no seahorse emoji in Unicode.")
# Subsequent calls benefit from the learned strategy
answer = agent.ask("Is there a seahorse emoji?")
# Inspect what the agent has learned
print(agent.get_strategies())无微调,无训练数据,无向量数据库。 -> 快速入门指南 | [-> 设置
暂无开放 Issues,或尚未同步最近议题。