Add comprehensive agent framework integration guides#2021
Draft
strawgate wants to merge 3 commits into
Draft
Conversation
… Logfire Document how to send telemetry to Logfire and use managed prompts from 22 agent frameworks across five languages, each with a runnable sample agent. Python (docs/integrations/llms/): CrewAI, AutoGen, Google ADK, smolagents, Strands Agents, Agno, Haystack, LangGraph, Instructor, Semantic Kernel, Letta. JS/TS, Go, Rust, .NET (new docs/integrations/agent-frameworks/): Vercel AI SDK, Mastra, LangChain.js, OpenAI Agents SDK (TS), VoltAgent, LlamaIndex.TS, Genkit (Go), Eino (Go), Rig (Rust), Semantic Kernel (.NET), and Microsoft Agent Framework (.NET), plus an Agent Frameworks overview hub. Also update the integrations index/table, nav.json, and the Languages page.
Two python blocks inside admonitions in google-adk.md lacked a skip tag, so pytest-examples executed them: one imported an uninstalled package and the other mutated global OTEL_* env vars for the whole test session, which crashed the logfire pytest plugin during teardown. Tag both with skip="true".
Align Vercel AI SDK and LlamaIndex.TS managed-prompts snippets with the documented `import * as logfire from '@pydantic/logfire-node'` form.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds 20 new integration documentation pages covering popular AI agent frameworks and LLM platforms across multiple languages (Python, TypeScript, Go, Rust, .NET).
Summary
Adds extensive documentation for integrating Pydantic Logfire with agent frameworks and LLM platforms. Each guide includes:
New Integration Guides
Python LLM/Agent Frameworks:
TypeScript/JavaScript Agent Frameworks:
Go Agent Frameworks:
Rust Agent Frameworks:
.NET Agent Frameworks:
Index Page:
docs/integrations/agent-frameworks/index.md— overview of three integration patterns (native OTel, instrumentors, OTLP over wire)Documentation Updates
docs/nav.jsonto include all new integration links organized under "Agent Frameworks" and "LLMs" sectionsdocs/integrations/index.mdto reference agent frameworksdocs/languages.mdto mention agent framework integrationsIntegration Patterns Documented
Each guide includes practical code examples, environment variable setup, and notes on framework-specific configuration.
https://claude.ai/code/session_0176U6NDhFtgGhxKLykUHQzU