Skip to main content Switch to mobile version slackwright 0.5.0 Building blocks for AI agents that live in Slack
pip install slackwright==0.5.0 Copy PIP instructions
Building blocks for AI agents that live in Slack.
slackwright is a library, not a framework. Your bot keeps its own event loop and agent; slackwright gives it the Slack parts:
Render: post LLM Markdown answers with Slack's native Markdown support, split long answers, and stream replies with task cards.
Tools: expose the parts below to an LLM agent as tools, with Anthropic tool definitions and validated inputs.
Forms: forms that an agent designs, in a modal or inline in a message, with validated submissions.
Canvases: create, edit, and read canvas documents.
Ingest: turn a Slack thread, its mentions, and its files into LLM messages.
Lifecycle: progress updates and an in-flight drain for graceful shutdown.
Status: early development. The API will change.
pip install slackwright pip install 'slackwright[valkey]' # ValkeyFormStore pip install 'slackwright[postgres]' # PostgresFormStore Example
import slackwright from slackwright import forms, stores runtime = forms.Runtime(stores.ValkeyFormStore(valkey), on_submit) runtime.register(bolt_app) # handles form buttons and modals toolkit = slackwright.Toolkit( slack_client, channel_id=channel_id, thread_ts=thread_ts, user_id=user_id, forms=runtime, canvases=True, ) tools = toolkit.anthropic() # give these to Claude result = await toolkit.call(name, tool_input) # run a tool_use block See docs/design.md for the design.
uv sync --all-groups docker compose up -d --wait # Valkey and PostgreSQL for integration tests uv run pre-commit run --all-files uv run coverage run uv run coverage report Without the compose services, the Valkey and PostgreSQL tests are skipped. When VALKEY_URL or POSTGRES_URL is set (CI sets both), those tests always run against that URL.
BSD 3-Clause. See LICENSE.
Released: Dec 4, 2026
Author: Gavin M. Roy
Both files in this release have provenance metadata.
View provenance details
BSD-3-Clause View SPDX License List
agent block-kit bot canvas markdown slack
Development Status 3 - Alpha
Intended Audience Developers
License OSI Approved :: BSD License
Natural Language English
Operating System OS Independent
Programming Language Python :: 3
Python :: Implementation :: CPython
Topic Communications :: Chat
Software Development :: Libraries
Release files for slackwright 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 221.1 kB
Release files / slackwright-0.5.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Release files / slackwright-0.5.0-py3-none-any.whl
Security for slackwright 0.5.0
Both files in this release have been uploaded with provenance metadata.
With provenance slackwright-0.5.0.tar.gz Dec 4, 2026
With provenance slackwright-0.5.0-py3-none-any.whl Dec 4, 2026
Attestation for slackwright-0.5.0.tar.gz
Attestation for slackwright-0.5.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 5, 2026 2 release files Full provenance
Dec 4, 2026 2 release files Full provenance
Nov 24, 2026 2 release files Full provenance
Nov 23, 2026 2 release files Full provenance
Nov 20, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 4d99e05











