feat: Adding portkey.ai gateway as a custom model #87
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.
📄 Description
This PR adds a new documentation page at
docs/portkey.md
that introduces Portkey as a supported provider in the Strands SDK. It includes:PortkeyModel
withAgent
.This documentation enables developers to adopt Portkey with confidence and flexibility across OpenAI, Anthropic (via Bedrock), and other models.
🔀 Type of Change
💡 Motivation and Context
Portkey support was recently added to the Strands SDK to provide unified access to multiple LLM providers through a single abstraction. This documentation ensures developers can:
It also sets the foundation for future features like multi-modal input support and dynamic routing configurations.
🗂️ Areas Affected
docs/portkey.md
— New documentation page added, covering:📸 Screenshots
Not applicable — this is a text-only documentation change. Code examples are included in the markdown file.
✅ Checklist
mkdocs serve
📝 Additional Notes
This update ensures the SDK is plug-and-play for organizations already using Portkey (e.g., Notion, Ramp, Descript). It supports common production needs such as observability, routing, authentication, and retry logic.
🔗 For broader implementation details, see: Portkey Integration for Strands SDK
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.