Skip to content

Make all existing AI integrations work with Agents Insights #4513

@antonpirker

Description

@antonpirker

We have existing integrations in Python for:

  • OpenAI (not openai-agents but the openai package)
  • Anthropic
  • Langchain
  • Huggingface Hub

All those integrations are sending spans that are so called "AI Client Spans" in the openai-agents integrations. Those spans have deprecated span.op, span.name and attributes. (Wrong value and or format)

We want to those spans also show up in the "AI Agents" insights module.

The AI Client spans specification for spans to show up in the agents insights module can be found here:

getsentry/sentry-docs#14133

Sub-issues

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions