Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ a2a_server.serve()
<Tab label="TypeScript">

```typescript
import { A2AExpressServer } from '@strands-agents/sdk/a2a'
import { A2AExpressServer } from '@strands-agents/sdk/a2a/express'

--8<-- "user-guide/concepts/multi-agent/agent-to-agent.ts:basic_server"
```
Expand Down Expand Up @@ -474,7 +474,7 @@ The TypeScript `A2AExpressServer` supports a custom `taskStore` for persisting t

```typescript
import { Agent } from '@strands-agents/sdk'
import { A2AExpressServer } from '@strands-agents/sdk/a2a'
import { A2AExpressServer } from '@strands-agents/sdk/a2a/express'

const agent = new Agent({ systemPrompt: 'You are a helpful agent.' })

Expand Down Expand Up @@ -528,7 +528,7 @@ Use the `httpUrl` option to set the public URL for the agent card. For custom pa

```typescript
import { Agent } from '@strands-agents/sdk'
import { A2AExpressServer } from '@strands-agents/sdk/a2a'
import { A2AExpressServer } from '@strands-agents/sdk/a2a/express'

const agent = new Agent({ systemPrompt: 'A calculator agent.' })

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// NOTE: Type-checking is disabled because the examples reference remote services not available at build time.

import { Agent, tool } from '@strands-agents/sdk'
import { A2AAgent, A2AExpressServer } from '@strands-agents/sdk/a2a'
import { A2AAgent } from '@strands-agents/sdk/a2a'
import { A2AExpressServer } from '@strands-agents/sdk/a2a/express'
import { z } from 'zod'

async function basicUsageExample() {
Expand Down
Loading