Future AGI × Claude Agent SDK
Claude Agent SDK logo

Claude Agent SDK on Future AGI

Agent Frameworks

Anthropic's Agent SDK for Claude with code execution and computer use.

What you get

Everything traced, scored, and improvable

One install instruments Claude Agent SDK on OpenTelemetry. Future AGI then layers evaluators, optimisers, and simulations on top of the same trace tree — no second SDK, no double instrumentation.

Trace

Auto-instrumented spans

Every Claude Agent SDK call becomes a span — inputs, outputs, latency, tokens, cost, model name, tool args, retrieval results, and chain steps captured automatically.

Evaluate

70+ evaluators on every span

Attach Groundedness, Context Relevance, Prompt Injection, Toxicity, and 70+ more — purpose-built scorers powered by the Turing eval models, not generic LLM-as-judge.

Optimize

Closed-loop improvement

Pipe failed traces into agent-opt: GEPA, PromptWizard, ProTeGi, and Bayesian search rewrite your prompts with proof of measured gains.

Simulate

Adversarial scenarios at scale

Generate hundreds of personas and run them through your Claude Agent SDK agent before launch — text and voice, scripted or persona-driven.

Quickstart · <3 min

Instrument Claude Agent SDK in three steps

  1. Step 1

    Install the traceAI package

    One package per language, ships from PyPI, npm, and Maven Central.

  2. Step 2

    Register the trace provider

    Set FI_API_KEY and FI_SECRET_KEY, then call ClaudeAgentSDKInstrumentor().instrument().

  3. Step 3

    Run your existing Claude Agent SDK app

    No code changes. Traces appear in the Future AGI dashboard within seconds.

Install

pip install traceAI-claude-agent-sdk

Instrument

from fi_instrumentation import register
from fi_instrumentation.fi_types import ProjectType
from traceai_claude_agent_sdk import ClaudeAgentSDKInstrumentor

trace_provider = register(
    project_type=ProjectType.OBSERVE,
    project_name="CLAUDE_AGENT_SDK_APP",
)

ClaudeAgentSDKInstrumentor().instrument(tracer_provider=trace_provider)

# Your existing Claude Agent SDK code runs unchanged from here.
# Every call is now an OpenTelemetry span in Future AGI.

Pick a recipe

What do you want to do with Claude Agent SDK?

Each recipe is a copy-paste page with the exact code, the gotchas, and a working example you can clone.