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.
| Package | Framework |
|---|---|
traceai-openai | OpenAI |
traceai-anthropic | Anthropic |
traceai-google-genai | Google Generative AI |
traceai-vertexai | Google Vertex AI |
traceai-bedrock | AWS Bedrock |
traceai-mistralai | Mistral AI |
traceai-groq | Groq |
traceai-litellm | LiteLLM |
traceai-cohere | Cohere |
traceai-ollama | Ollama |
traceai-deepseek | DeepSeek |
traceai-together | Together AI |
traceai-fireworks | Fireworks AI |
traceai-cerebras | Cerebras |
traceai-xai | xAI / Grok |
traceai-vllm | vLLM |
traceai-portkey | Portkey |
traceai-huggingface | HuggingFace |
| Package | Framework |
|---|---|
traceai-langchain | LangChain / LangGraph |
traceai-llamaindex | LlamaIndex |
traceai-crewai | CrewAI |
traceai-openai-agents | OpenAI Agents SDK |
traceai-autogen | Microsoft AutoGen |
traceai-smolagents | HuggingFace SmolAgents |
traceai-google-adk | Google Agent Dev Kit |
traceai-claude-agent-sdk | Claude Agent SDK |
traceai-pydantic-ai | Pydantic AI |
traceai-strands | AWS Strands Agents |
traceai-agno | Agno |
traceai-beeai | IBM BeeAI |
traceai-haystack | Haystack |
traceai-dspy | DSPy |
traceai-guardrails | Guardrails AI |
traceai-instructor | Instructor |
traceai-mcp | Model Context Protocol |
| Package | Framework |
|---|---|
traceai-pipecat | Pipecat |
traceai-livekit | LiveKit |
| Package | Framework |
|---|---|
traceai-pinecone | Pinecone |
traceai-chromadb | ChromaDB |
traceai-qdrant | Qdrant |
traceai-weaviate | Weaviate |
traceai-milvus | Milvus |
traceai-lancedb | LanceDB |
traceai-mongodb | MongoDB |
traceai-pgvector | pgvector |
traceai-redis | Redis |
Full reference
Was this page helpful?
Questions & Discussion