From 94017962061b9696e2433a4c983b5e3fa08075dd Mon Sep 17 00:00:00 2001 From: Brandon Bellero Date: Tue, 2 Jun 2026 05:11:15 -0400 Subject: [PATCH] Document OpenAI Agents SDK span types captured by PromptLayer --- features/integrations.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/integrations.mdx b/features/integrations.mdx index 0b3114d..2a87c17 100644 --- a/features/integrations.mdx +++ b/features/integrations.mdx @@ -167,6 +167,8 @@ tracer_provider.shutdown() - `OPENAI_API_KEY` - `PROMPTLAYER_API_KEY` +Once configured, PromptLayer will capture OpenAI Agents traces with spans automatically labeled by type: agent spans appear as **LLM session**, response and generation spans appear as **LLM call**, and function/tool spans appear as **Tool: \**. Token usage, model metadata, prompts, and completions are captured from LLM call spans. + ## Vercel AI SDK PromptLayer supports integration with the [Vercel AI SDK](https://ai-sdk.dev/docs), allowing you to export OpenTelemetry traces from your application directly to PromptLayer.