Skip to content

Commit 90e288f

Browse files
go
1 parent e5ebe30 commit 90e288f

File tree

3 files changed

+22
-19
lines changed

3 files changed

+22
-19
lines changed

docs/english/_sidebar.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@
88
"tools/bolt-python/getting-started",
99
{ "type": "html", "value": "<hr>" },
1010
"tools/bolt-python/building-an-app",
11+
{
12+
"type": "category",
13+
"label": "Creating agents",
14+
"link": {
15+
"type": "doc",
16+
"id": "tools/bolt-python/concepts/ai-apps"
17+
},
18+
"items": [
19+
"tools/bolt-python/concepts/ai-apps",
20+
"tools/bolt-python/concepts/assistant-class"
21+
]
22+
},
1123
{
1224
"type": "category",
1325
"label": "Slack API calls",
@@ -39,18 +51,6 @@
3951
"tools/bolt-python/concepts/app-home"
4052
]
4153
},
42-
{
43-
"type": "category",
44-
"label": "Creating agents",
45-
"link": {
46-
"type": "doc",
47-
"id": "tools/bolt-python/concepts/ai-apps"
48-
},
49-
"items": [
50-
"tools/bolt-python/concepts/ai-apps",
51-
"tools/bolt-python/concepts/assistant-class"
52-
]
53-
},
5454
"tools/bolt-python/concepts/ai-apps",
5555
{
5656
"type": "category",

docs/english/concepts/ai-apps.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ sidebar_label: Overview
44

55
# Creating agents with Bolt
66

7-
The Slack platform offers features tailored for AI agents. Your agent can utilize features applicable to messages throughout Slack, like [chat streaming](#text-streaming) and [feedback buttons](#adding-and-handling-feedback). They can also [utilize the `Assistant` class](/bolt-python/concepts/assistant-class) for a side-panel view designed with AI in mind,
7+
::tip[Check out the Support Agent sample app]
8+
9+
The code snippets throughout this guide are from our [Support Agent sample app](https://github.com/slack-samples/bolt-python-support-agent), Casey, which supports integration with Pydantic, Anthropic, and OpenAI. View our [agent quickstart](/ai/agent-quickstart) to get up and running with Casey. Otherwise, read on for exploration and explanation of agent-focused Bolt features found within Casey.
10+
:::
11+
12+
The Slack platform offers features tailored for AI agents. Your agent can utilize features applicable to messages throughout Slack, like [chat streaming](#text-streaming) and [feedback buttons](#adding-and-handling-feedback). They can also [utilize the `Assistant` class](/tools/bolt-python/concepts/assistant-class) for a side-panel view designed with AI in mind.
813

914
If you're unfamiliar with using these feature within Slack, you may want to read the [API docs on the subject](/ai/). Then come back here to implement them with Bolt!
1015

@@ -15,7 +20,7 @@ If you're unfamiliar with using these feature within Slack, you may want to read
1520
Agents can be invoked throughout Slack, such as @mentions in channels, messages to the app, and using the assistant side panel.
1621

1722
<Tabs>
18-
<TabItem value="appmention" label = "app_mention">
23+
<TabItem value="appmention" label = "App mention">
1924

2025
```python
2126
import re
@@ -191,7 +196,7 @@ async def handle_message(
191196
<TabItem value="assistant" label = "Assistant thread">
192197

193198
:::tip[Using the Assistant side panel]
194-
The Assistant side panel requires additional setup. See the [Assistant class guide](/bolt-python/concepts/assistant-class).
199+
The Assistant side panel requires additional setup. See the [Assistant class guide](/tools/bolt-python/concepts/assistant-class).
195200
:::
196201

197202

@@ -265,8 +270,6 @@ The `say_stream` utility streamlines calling the Python Slack SDK's [`WebClient.
265270

266271
If neither a `channel_id` or `thread_ts` can be sourced, then the utility will be `None`.
267272

268-
You can see how our [Support Agent](https://github.com/slack-samples/bolt-python-support-agent) sample app uses `say_stream` when responding to DMs below.
269-
270273
```python
271274
from slack_bolt import SayStream
272275

docs/english/concepts/assistant-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
If you don't have a paid workspace for development, you can join the [Developer Program](https://api.slack.com/developer-program) and provision a sandbox with access to all Slack features for free.
55
:::
66

7-
The [`Assistant`](/tools/bolt-js/reference#the-assistantconfig-configuration-object) class can be used to handle the incoming events expected from a user interacting with an app in Slack that has the Agents & AI Apps feature enabled.
7+
The `Assistant` class can be used to handle the incoming events expected from a user interacting with an app in Slack that has the Agents & AI Apps feature enabled.
88

99
A typical flow would look like:
1010

@@ -324,6 +324,6 @@ def respond_to_bot_messages(logger: logging.Logger, set_status: SetStatus, say:
324324
...
325325
```
326326

327-
See the [_Adding and handling feedback_](#adding-and-handling-feedback) section for adding feedback buttons with Block Kit.
327+
See the [_Creating agents: adding and handling feedback_](/tools/bolt-python/concepts/ai-apps#adding-and-handling-feedback) section for adding feedback buttons with Block Kit.
328328

329329
Want to see the functionality described throughout this guide in action? We've created a [App Agent Template](https://github.com/slack-samples/bolt-python-assistant-template) repo for you to build off of.

0 commit comments

Comments
 (0)