File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/content/docs/user-guide/concepts/multi-agent Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ a2a_server.serve()
309309<Tab label = " TypeScript" >
310310
311311``` typescript
312- import { A2AExpressServer } from ' @strands-agents/sdk/a2a'
312+ import { A2AExpressServer } from ' @strands-agents/sdk/a2a/express '
313313
314314-- 8 < -- " user-guide/concepts/multi-agent/agent-to-agent.ts:basic_server"
315315```
@@ -474,7 +474,7 @@ The TypeScript `A2AExpressServer` supports a custom `taskStore` for persisting t
474474
475475``` typescript
476476import { Agent } from ' @strands-agents/sdk'
477- import { A2AExpressServer } from ' @strands-agents/sdk/a2a'
477+ import { A2AExpressServer } from ' @strands-agents/sdk/a2a/express '
478478
479479const agent = new Agent ({ systemPrompt: ' You are a helpful agent.' })
480480
@@ -528,7 +528,7 @@ Use the `httpUrl` option to set the public URL for the agent card. For custom pa
528528
529529``` typescript
530530import { Agent } from ' @strands-agents/sdk'
531- import { A2AExpressServer } from ' @strands-agents/sdk/a2a'
531+ import { A2AExpressServer } from ' @strands-agents/sdk/a2a/express '
532532
533533const agent = new Agent ({ systemPrompt: ' A calculator agent.' })
534534
Original file line number Diff line number Diff line change 22// NOTE: Type-checking is disabled because the examples reference remote services not available at build time.
33
44import { Agent , tool } from '@strands-agents/sdk'
5- import { A2AAgent , A2AExpressServer } from '@strands-agents/sdk/a2a'
5+ import { A2AAgent } from '@strands-agents/sdk/a2a'
6+ import { A2AExpressServer } from '@strands-agents/sdk/a2a/express'
67import { z } from 'zod'
78
89async function basicUsageExample ( ) {
You can’t perform that action at this time.
0 commit comments