traceAI

OpenTelemetry tracing for AI apps. Auto-instrument 45+ frameworks or add custom spans with fi-instrumentation-otel.

Trace LLM calls, retrieval steps, and agent actions with fi-instrumentation-otel plus one traceai-* package per framework. Call register() once, then auto-instrument your stack. Available in Python, TypeScript, Java, and C#.

pip install fi-instrumentation-otel traceai-openai
from fi_instrumentation import register
from fi_instrumentation.fi_types import ProjectType

trace_provider = register(
    project_name="my-project",
    project_type=ProjectType.OBSERVE,
)

from traceai_openai import OpenAIInstrumentor
OpenAIInstrumentor().instrument(tracer_provider=trace_provider)

# All OpenAI calls are now traced
# Traces appear in your Future AGI dashboard under "my-project"

Supported instrumentors

Each instrumentor is lightweight and independent. Install only the ones for frameworks you actually use. For per-framework setup, see Integrations.

PackageFramework
traceai-openaiOpenAI
traceai-anthropicAnthropic
traceai-google-genaiGoogle Generative AI
traceai-vertexaiGoogle Vertex AI
traceai-bedrockAWS Bedrock
traceai-mistralaiMistral AI
traceai-groqGroq
traceai-litellmLiteLLM
traceai-cohereCohere
traceai-ollamaOllama
traceai-deepseekDeepSeek
traceai-togetherTogether AI
traceai-fireworksFireworks AI
traceai-cerebrasCerebras
traceai-xaixAI / Grok
traceai-vllmvLLM
traceai-portkeyPortkey
traceai-huggingfaceHuggingFace
PackageFramework
traceai-langchainLangChain / LangGraph
traceai-llamaindexLlamaIndex
traceai-crewaiCrewAI
traceai-openai-agentsOpenAI Agents SDK
traceai-autogenMicrosoft AutoGen
traceai-smolagentsHuggingFace SmolAgents
traceai-google-adkGoogle Agent Dev Kit
traceai-claude-agent-sdkClaude Agent SDK
traceai-pydantic-aiPydantic AI
traceai-strandsAWS Strands Agents
traceai-agnoAgno
traceai-beeaiIBM BeeAI
traceai-haystackHaystack
traceai-dspyDSPy
traceai-guardrailsGuardrails AI
traceai-instructorInstructor
traceai-mcpModel Context Protocol
PackageFramework
traceai-pipecatPipecat
traceai-livekitLiveKit
PackageFramework
traceai-pineconePinecone
traceai-chromadbChromaDB
traceai-qdrantQdrant
traceai-weaviateWeaviate
traceai-milvusMilvus
traceai-lancedbLanceDB
traceai-mongodbMongoDB
traceai-pgvectorpgvector
traceai-redisRedis

Full reference

Was this page helpful?

Questions & Discussion