Skip to content

docs: update swarm TypeScript examples from agentId to id#657

Closed
pgrayy wants to merge 1 commit intostrands-agents:mainfrom
pgrayy:agent-tasks/agentbase-docs-update
Closed

docs: update swarm TypeScript examples from agentId to id#657
pgrayy wants to merge 1 commit intostrands-agents:mainfrom
pgrayy:agent-tasks/agentbase-docs-update

Conversation

@pgrayy
Copy link
Member

@pgrayy pgrayy commented Mar 13, 2026

Motivation

The TypeScript SDK renamed Agent's agentId config option to id (see strands-agents/sdk-typescript#660). The swarm documentation snippet file still uses the old property name.

Changes

Updated all 10 agentId: references to id: in src/content/docs/user-guide/concepts/multi-agent/swarm.ts.

The agentId reference in swarm.mdx is left as-is — it documents the HandoffResult structured output schema field, not the Agent constructor property.

Documentation PR

Companion to strands-agents/sdk-typescript#660


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The SDK renamed Agent's agentId config option to id.
@github-actions
Copy link
Contributor

Documentation Preview Ready

Your documentation preview has been successfully deployed!

Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-cms-657/docs/user-guide/quickstart/overview/

Updated at: 2026-03-13T18:57:52.400Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant