Skip to content

v2: stateful runtime (AIThreads, coordination, remote execution)#12

Open
alexachille wants to merge 1 commit into
strands-labs:v2-stagingfrom
alexachille:wip/v2
Open

v2: stateful runtime (AIThreads, coordination, remote execution)#12
alexachille wants to merge 1 commit into
strands-labs:v2-stagingfrom
alexachille:wip/v2

Conversation

@alexachille

Copy link
Copy Markdown
Contributor

Lands the v2 runtime on v2-staging as an integration branch. Kept open to build on before a final squash/merge to main.

…read communication and remote execution/coordination

Replaces the v1 single-call decorator with a stateful runtime:
AIThread/AIFunction with event history and post-conditions, an
InMemoryCoordinator + LocalWorker pair that hosts threads and routes
cross-thread messaging, and a CoordinatorEndpoint / CoordinatorClient
tunnel that carries coordinator and worker RPCs over a single
WebSocket. AIThreads get list_threads and send_message tools by
default, with wait / fire_and_forget / continue_then_receive modes.

Temporarily drops v1 memory, optimizer, and code-execution layers.
Adds a scripted-model test harness, a new tutorial, and INVARIANTS.md.
Minimum Python is now 3.13; network deps are an optional extra.

API is unstable.

Co-authored-by: Aditya Golatkar <adityagolatkar09@gmail.com>
@AdityaGolatkar AdityaGolatkar self-assigned this Jun 12, 2026
@AdityaGolatkar AdityaGolatkar self-requested a review June 12, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants