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.3.1.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.3.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentforge_chat_slack-0.3.1.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.3.1.tar.gz
Algorithm Hash digest
SHA256 cb264236d6eacb7bce7b963aebd6876b15fe33a22ab4fe20a2dc251290cf7d75
MD5 b7cb2720be0cdf98c927ea1644b6bbd6
BLAKE2b-256 0c12d7659fef0eec7802954297dbe9ed850236b7fb100e9f539e4da7550682d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_chat_slack-0.3.1.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.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_chat_slack-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c869151bee40ad878bb641c14d31c098afc42bef02ed99ec12700cfdfa7ff8e
MD5 749b97448bee1ad1809ed5f1fd102d7f
BLAKE2b-256 6572f6bd919e8aed690e8b1854210f6e3562399dfe1afd0c9d9288dde390402b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_chat_slack-0.3.1-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