[DOCS] Add setup guidance for the provider-backed decision models
Documentation Section
site/src/content/docs/user-guide/sdk/decision-models/models/index.mdx (https://strandsagents.com/docs/user-guide/sdk/decision-models/models/)
Current State
The "Built-in decision models" table names TypeSafeDecisionModel, DecisionsAPIDecisionModel, and SageMakerDecisionModel, but the page does not show how to use them. Only LLMDecisionModel has its own page. After #5591, the TypeSafe Jev, Decisions API, and SageMaker Decision Model cards on the integrations page link to this page.
Suggested Improvement
Add setup guidance for each provider-backed decision model, either as a subsection per provider or one "Provider-backed decision models" section with Python and TypeScript tabs:
- The import path. In TypeScript,
SageMakerDecisionModelis only exported from@strands-agents/sdk/decisions/sagemaker, and it needs the optional@aws-sdk/client-sagemaker-runtimepeer dependency. In Python, the three classes are imported fromstrands.decisions. - Credentials and configuration.
TypeSafeDecisionModelreadsTYPESAFE_API_KEY.DecisionsAPIDecisionModelreadsJEV_API_KEY.SageMakerDecisionModeltakes an endpoint name and region, and callers needsagemaker:InvokeEndpoint. - A minimal
askcall for each.
Then point each catalog entry's docsPage (site/src/content/catalog/typesafe-jev.yaml, decisions-api.yaml, sagemaker-decision-model.yaml) at its own page or anchor.
Once the Python SageMakerDecisionModel (#6085) is in a PyPI release, also add python: {} back to sagemaker-decision-model.yaml.
Rationale
Every other maintainedBy: strands catalog card links to a page that shows setup. Raised in review on #5591.
Hi, I'd like to pick this up. On current main the per-provider pages already exist (typesafe.mdx, decisions-api.mdx, sagemaker.mdx under decision-models/models/), and what I still see missing is the three catalog entries (typesafe-jev.yaml, decisions-api.yaml, sagemaker-decision-model.yaml), which still point docsPage at the models index. I'd change those three lines to the matching pages and leave the Python sagemaker addition until it is in a release. I used an AI coding assistant to prepare the change, and I will read every line before opening it. Is that scope what you want, and is it fine for me to take it?