Repository navigation
Add Rust core with compatible Python and Slack/Claude Node SDK - #21
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AgentChat's dispatch and state logic previously lived only in Python. This adds a shared Rust turn engine and native Rust/Node interfaces, with Slack and the JavaScript Claude Agent SDK as the first native integration. Existing Python channel objects, imports, decorators, custom state, message identity and async callbacks remain supported.
backend="python"/AGENTCHAT_BACKEND=pythonfor explicit rollback without replaying failed work.This is the first migration stage: all six existing Python adapters remain available, while native Node/Rust channel support initially covers Slack. Source installs now require Rust; binary wheels do not. No registry publishing is included.
Validation passed:
Independent review covered Rust domain/helper ownership, Python compatibility and shutdown/cancellation behavior. The resulting fixes have regressions for handler self-close, admitted replies during draining, uncertain sends, detached-operation cancellation, working-status cleanup races and fatal transport cancellation.
Live Slack/Claude credentials were not exercised; the end-to-end tests use local Slack servers and a fake Claude stream. A live application canary remains necessary before deployment. CI qualifies Linux x64/arm64, macOS x64/arm64 and Windows x64 packages and the declared Rust 1.88 minimum.