Integrations Overview

ACE provides both runners and step-based integrations for popular agentic frameworks. Some integrations are full runners, while others are composable pipeline steps you can drop into a custom Pipeline.

Available Integrations

RunnerFrameworkInputInsight Level
ACELiteLLMLiteLLM (100+ providers)QuestionsMicro
LangChainLangChain RunnablesChain inputsMeso
BrowserUsebrowser-useTask stringsMeso
ClaudeCodeClaude Code CLITask stringsMeso
Claude SDKAnthropic Python SDKTask strings or ACESampleMeso
OpenClawOpenClaw transcriptsJSONL trace filesMeso
MCP ServerMCP (stdio)Tool callsMicro
MCP Client SetupClaude Code, Cursor, WindsurfSetup Guide
OpikOpik observabilityMonitoring
TracingKayba tracing SDK@trace / start_spanCloud
Hosted APIKayba hosted APITrace filesCloud

The Pattern

All integration runners follow the same three-step pattern:

1. INJECT   — Add skillbook strategies to the agent's context
2. EXECUTE  — Run the external agent normally
3. LEARN    — Reflector + SkillManager update the skillbook

Quick Construction

Every runner offers a from_model() factory that builds ACE roles automatically:

from ace import BrowserUse, LangChain, ClaudeCode

# Browser automation
browser = BrowserUse.from_model(browser_llm=my_llm, ace_model="gpt-4o-mini")

# LangChain chain/agent
chain = LangChain.from_model(my_runnable, ace_model="gpt-4o-mini")

# Claude Code CLI
coder = ClaudeCode.from_model(working_dir="./project", ace_model="gpt-4o-mini")

For direct Anthropic API usage without a runner, compose the SDK steps directly:

from ace import Pipeline, Reflector, SkillManager, Skillbook, learning_tail
from ace.integrations import ClaudeSDKExecuteStep, ClaudeSDKToTrace

skillbook = Skillbook()
pipe = Pipeline([
    ClaudeSDKExecuteStep(model="claude-sonnet-4-20250514"),
    ClaudeSDKToTrace(),
    *learning_tail(Reflector("gpt-4o-mini"), SkillManager("gpt-4o-mini"), skillbook),
])

Shared Features

All runners share these capabilities:

  • Skillbook persistencesave() / load via skillbook_path
  • Checkpointing — automatic saves during long runs
  • Deduplication — prevent duplicate skills
  • Background learningwait=False for async learning
  • Progress trackinglearning_stats property

Which Integration Should I Use?

  • Building a Q&A or reasoning agent? Use ACELiteLLM
  • Have an existing LangChain chain or agent? Use LangChain
  • Automating browser tasks? Use BrowserUse
  • Running coding tasks with Claude Code? Use ClaudeCode
  • Calling Anthropic directly from your own pipeline? Use Claude SDK
  • Want to monitor costs and traces? Add Opik
  • Learning from OpenClaw session transcripts? Use OpenClaw
  • Exposing ACE as an MCP tool provider? Use the MCP Server and the MCP Client Setup guide
  • Want to send traces to Kayba from your code? Use Tracing
  • Want to use the hosted API instead of running locally? Use the Hosted API CLI
  • Using a different framework? See the Integration Guide to build a custom runner