Slack reference channel adapter for AgentForge
Project description
agentforge-chat-slack
Reference Slack channel adapter for AgentForge (feat-020 v0.2).
Maps message + app_mention events to ChatSession.send,
posts a placeholder message, and batches chat.update calls as
text chunks stream back from the agent. Slack rate-limits per
channel, so true per-token updates aren't practical — the
adapter batches every batch_window_s seconds (default 0.5 s).
Exemplar of how to wire any messaging channel to AgentForge (Telegram / Discord / Teams would follow the same shape with their SDKs).
from agentforge_chat_slack import SlackChatAdapter
adapter = SlackChatAdapter(
bot_token=os.environ["SLACK_BOT_TOKEN"],
signing_secret=os.environ["SLACK_SIGNING_SECRET"],
session_factory=lambda channel_id: ChatSession(
agent=build_agent(),
session_id=channel_id,
),
)
await adapter.start()
Live integration test gated on SLACK_BOT_TOKEN +
SLACK_TEST_CHANNEL env vars. Developer-machine only — no
free CI Slack workspace.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentforge_chat_slack-0.2.4.tar.gz.
File metadata
- Download URL: agentforge_chat_slack-0.2.4.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cef706a4c68aeb9126fa57ab990865fd756877d68e669bad8846143fc07c2d7
|
|
| MD5 |
b241236e48f0e9f08f8ecf037d869551
|
|
| BLAKE2b-256 |
942e7d3ee72c19b79f6ed9a0aa697103791e3c2ab7c66283801111e6afebfaf0
|
File details
Details for the file agentforge_chat_slack-0.2.4-py3-none-any.whl.
File metadata
- Download URL: agentforge_chat_slack-0.2.4-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bc7736eef03ba0e827f0444470f813004d40c0d78431248838021b46eaff6fe
|
|
| MD5 |
5e97a247b42e38547e72a6b5873e3dc8
|
|
| BLAKE2b-256 |
b5b1989aa06140780307db8567886a8615bd11a72c6ee38410116022be51544f
|