Skip to content

docs(integrations): add Pydantic AI traceAI integration page#739

Open
suhani-725 wants to merge 1 commit into
devfrom
docs/pydantic-ai-integration-v2
Open

docs(integrations): add Pydantic AI traceAI integration page#739
suhani-725 wants to merge 1 commit into
devfrom
docs/pydantic-ai-integration-v2

Conversation

@suhani-725

Copy link
Copy Markdown

Summary

Adds a Pydantic AI integration guide under Integrations → Frameworks & Agents, documenting the traceAI-pydantic-ai instrumentor.

The page follows the standard traceAI integration structure:

  1. Install traceAI-pydantic-ai
  2. Set environment variables (FI + model provider keys)
  3. Initialize the trace provider via register()
  4. Instrument with PydanticAIInstrumentor().instrument(...)
  5. Interact with a Pydantic AI agent
  6. Trace tool calls and structured (Pydantic model) outputs

Changes

  • src/pages/docs/integrations/traceai/pydantic-ai.mdx — new integration page
  • src/lib/navigation.ts — add "Pydantic AI" to the Frameworks & Agents sidebar
  • src/pages/docs/integrations/index.mdx — add a "Pydantic AI" card

Verification

  • Ran the documented register() + instrument + run_sync() flow end-to-end against the FutureAGI platform; traces land in the target project (model, token usage, and cost populate on the spans).

Add integration guide for traceAI-pydantic-ai covering install, register(), instrumentation, agent runs, and tool/structured-output tracing. Register the page in the sidebar navigation and the integrations index.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant