Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentforge_chat_slack-0.4.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentforge_chat_slack-0.4.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file agentforge_chat_slack-0.4.0.tar.gz.

File metadata

  • Download URL: agentforge_chat_slack-0.4.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agentforge_chat_slack-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4acefdb5b1093235cd6e42331c52f5a7f233af1b0740f495949987dcc353c924
MD5 c372e559367305ee8a652648ef4a668d
BLAKE2b-256 b67678426fbb1bf56275d87beb1b41ee0d57f8f37c33ec9b42c77bae6ab0ebeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_chat_slack-0.4.0.tar.gz:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentforge_chat_slack-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_chat_slack-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd416ee852449848f3fa3f7bc3ca6593e0574ba8bd393318bf4530c8ac91ddea
MD5 0230e51d99b8e96591a466a8412b0b23
BLAKE2b-256 0366a75173abec4070eccc03043f900b60411dfc40f55d73ccb27e370bd21641

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_chat_slack-0.4.0-py3-none-any.whl:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page