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

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentforge_chat_slack-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 1bd054c6fa1e4364be157ad9fd0aea2b11e840094c1fe6b273f5e46c19586526
MD5 2f870502671246903682691eb1555ad6
BLAKE2b-256 9b30728ee890d0bd03b81daeaf9a457f3e875d7b2a6f641d695eb25c04e91df8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agentforge_chat_slack-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc46ab4481d725989bde4ceb67cfaeccfa3d13b2ec19eca00a3af7fe014885a3
MD5 a2d393a6de04a3fa770153b2fd2aa0d5
BLAKE2b-256 943c08832ac0b95128abb71c5be41e98dd394c430a02dc8f1572401b0141f51b

See more details on using hashes here.

Provenance

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