feat(skills-next): add python SDK references#248
Merged
evanpurkhiser merged 1 commit intoJul 9, 2026
Conversation
bf4b990 to
2a8e75f
Compare
alexander-alderman-webb
requested changes
Jul 6, 2026
| | Anthropic | `sentry-sdk` | anthropic 0.16.0+ | ✅ Yes | Stable | | ||
| | LangChain | `sentry-sdk` | langchain 0.1.0+ | ✅ Yes | Stable | | ||
| | LangGraph | `sentry-sdk` | langgraph 0.6.6+ | ✅ Yes | Stable | | ||
| | OpenAI Agents SDK | `sentry-sdk` | agents 0.0.19+ | ✅ Yes | ⚠️ Beta | |
| | HuggingFace Hub | `sentry-sdk` | huggingface_hub 0.24.7+ | ✅ Yes | Stable | | ||
| | LiteLLM | `sentry-sdk` | litellm 1.77.5+ | ❌ **No** | Stable | | ||
| | MCP | `sentry-sdk` | mcp 1.15.0+ | ✅ Yes | Stable | | ||
| | Pydantic AI | `sentry-sdk` | pydantic-ai 1.0.0+ | ✅ Yes | ⚠️ Beta | |
Comment on lines
+189
to
+198
| ### `gen_ai.handoff` — Agent-to-agent transition | ||
|
|
||
| ```python | ||
| import sentry_sdk | ||
|
|
||
| with sentry_sdk.start_span(op="gen_ai.handoff", | ||
| name="handoff Billing → Refund Agent") as span: | ||
| span.set_data("gen_ai.agent.name", "Refund Agent") | ||
| result = refund_agent.run(context=billing_context) | ||
| ``` |
There was a problem hiding this comment.
Please remove, a handoff is a just a special tool execution.
| import sentry_sdk.ai | ||
|
|
||
| # Set at the start of a conversation | ||
| sentry_sdk.ai.set_conversation_id("conv_abc123") |
There was a problem hiding this comment.
Don't use this API
Suggested change
| sentry_sdk.ai.set_conversation_id("conv_abc123") | |
| sentry_sdk.set_attribute("gen_ai.conversation.id", "conv_abc123") |
alexander-alderman-webb
approved these changes
Jul 6, 2026
alexander-alderman-webb
left a comment
There was a problem hiding this comment.
I guess this is just a port, that's fine then
Member
Author
|
Well, I'm trying to get these as correct as we can :) |
2a8e75f to
059df49
Compare
Member
Author
|
Automated fixes pushed addressing the review feedback on this PR:
Note: the "why is this beta?" labels (OpenAI Agents SDK, Pydantic AI) were verified correct against the docs and left as-is. |
059df49 to
884c26f
Compare
Member
Author
|
Merging these ahead of review to get the ball rolling on the new skills layout. @cleptric will follow up with SDK teams to finesse the content of the SDK references. |
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.
Direct LLM port of the existing
pythonSDK skill into the skills-next per-SDK reference layout underskills-next/references/sdks/python/. This content has NOT been reviewed at all — it is a machine-generated port of the existing SDK skill, and every file should be treated as unverified.