Lightweight Choregraphic-programming based Multi-agent harness for effectful#607
Open
kiranandcode wants to merge 16 commits intomasterfrom
Open
Lightweight Choregraphic-programming based Multi-agent harness for effectful#607kiranandcode wants to merge 16 commits intomasterfrom
effectful#607kiranandcode wants to merge 16 commits intomasterfrom
Conversation
jfeser
reviewed
Mar 11, 2026
fba9ac6 to
151a374
Compare
…ntegration tests due to weaker models
…d docs - Changed PersistenceHandler to accept db_path (Path to .db file) instead of persist_dir (directory), making the API explicit - Removed in-memory caching of handoffs and loaded sets; all state is now read from/written to SQLite directly (thread-local loaded tracking remains) - Made ensure_loaded and get_handoff private (_ensure_loaded, _get_handoff) - Added crash recovery example to docstring - Updated all tests to use new db_path API and reduced LLM call budgets for faster test execution Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…hic programming primitive
151a374 to
7c98cb7
Compare
Contributor
Author
|
Iterating on this design using https://github.com/kiranandcode/VerifiedJS/blob/main/agents/verified_compiler_agents.py as a testbed:
|
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.

This PR implements the idea discussed with @eb8680 of using choreographic programming to implement a concise mechanism for specifying complex persistent programs.
Describes a complex non-trivial multi-agent interaction of several agents with persistence, pull-based load balancing and agents with separate tasks, and a persistent task queue for resuming after crashes.
Addresses #603, Builds on top of #604, this also comes nicely full circle and provides a third stab at concurrency in effectful.
As always, concurrency is a boundless source of bugs and errors, so having a few extra eyes on this would be appreciated! I assume we'll have to iterate a bit on the design as well, but I'm very hopeful as to the direction this is going, because it seems to simplify a lot of annoying/hard-to-get-right boilerplate into a simple and concise mechanism!