Skip to content

Commit 5658ad7

Browse files
committed
Update protocol outline
1 parent 39c1d4e commit 5658ad7

10 files changed

Lines changed: 148 additions & 396 deletions

File tree

docs/docs.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,17 @@
4343
"group": "Overview",
4444
"pages": [
4545
"overview/introduction",
46-
"overview/architecture",
47-
"overview/agent",
48-
"overview/client"
46+
"overview/architecture"
4947
]
5048
},
5149
{
5250
"group": "Protocol",
5351
"pages": [
52+
"protocol/overview",
5453
"protocol/initialization",
54+
"protocol/session-setup",
5555
"protocol/prompt-turn",
56-
"protocol/client-tools",
57-
"protocol/agent-tools",
56+
"protocol/tool-call",
5857
"protocol/schema"
5958
]
6059
},

docs/overview/agent.mdx

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/overview/client.mdx

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/protocol/agent-tools.mdx

Lines changed: 0 additions & 149 deletions
This file was deleted.

docs/protocol/client-tools.mdx

Lines changed: 0 additions & 111 deletions
This file was deleted.

docs/protocol/initialization.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "How all ACP connections begin"
66
{/* todo! link to all concepts */}
77

88

9-
The Initialization phase allows [Clients](../overview/client) and [Agents](../overview/agent) to negotiate protocol versions, capabilities, and authentication methods.
9+
The Initialization phase allows [Clients](./overview#client) and [Agents](./overview#agent) to negotiate protocol versions, capabilities, and authentication methods.
1010

1111
Before a Session can be created, Clients **MUST** initialize the connection by calling the `initialize` method with:
1212

@@ -20,11 +20,11 @@ Before a Session can be created, Clients **MUST** initialize the connection by c
2020
"id": 0,
2121
"method": "initialize",
2222
"params": {
23-
"protocol_version": 1,
24-
"client_capabilities": {
23+
"protocolVersion": 1,
24+
"clientCapabilities": {
2525
"fs": {
26-
"read_text_file": true,
27-
"write_text_file": true
26+
"readTextFile": true,
27+
"writeTextFile": true
2828
}
2929
}
3030
}
@@ -39,13 +39,13 @@ The Agent **MUST** respond with the chosen [protocol version](#protocol-version)
3939
"jsonrpc": "2.0",
4040
"id": 0,
4141
"result": {
42-
"protocol_version": 1,
43-
"agent_capabilities": {
44-
"load_session": true,
45-
"prompt_capabilities": {
42+
"protocolVersion": 1,
43+
"agentCapabilities": {
44+
"loadSession": true,
45+
"promptCapabilities": {
4646
"image": true,
4747
"audio": true,
48-
"embedded_context": true
48+
"embeddedContext": true
4949
}
5050
}
5151
}
@@ -90,20 +90,20 @@ The Client **SHOULD** specify whether it supports the following capability.
9090

9191
The Client **MAY** expose its FileSystem abstraction to various degrees. This may allow Agents to access unsaved buffer state, and Clients to track Agent changes directly.
9292

93-
- `read_text_file`: The `fs/read_text_file` method is available.
94-
- `write_text_file`: The `fs/write_text_file` method is available.
93+
- `readTextFile`: The `fs/read_text_file` method is available.
94+
- `writeTextFile`: The `fs/write_text_file` method is available.
9595

9696
### Agent Capabilities
9797

9898
The Agent **SHOULD** specify whether it supports the following capabilities.
9999

100-
- `load_session`: The `session/load` method is available.
101-
- `prompt_capabilities`: Object indicating the different types of content that may be included in `session/prompt` requests.
100+
- `loadSession`: The `session/load` method is available.
101+
- `promptCapabilities`: Object indicating the different types of content that may be included in `session/prompt` requests.
102102

103103
#### Prompt capabilities
104104

105105
As a baseline, all Agents **MUST** support `ContentBlock::Text` and `ContentBlock::ResourceLink` in `session/prompt` requests, but they **MAY** opt in to richer types of content by specifying the following capabilities:
106106

107107
- `image`: The prompt may include `ContentBlock::Image`
108108
- `audio`: The prompt may include `ContentBlock::Audio`
109-
- `embedded_context`: The prompt may include `ContentBlock::EmbeddedResource`
109+
- `embeddedContext`: The prompt may include `ContentBlock::EmbeddedResource`

0 commit comments

Comments
 (0)