Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sequence supervisor #71

Open
pkarw opened this issue Dec 10, 2024 · 1 comment
Open

feat: sequence supervisor #71

pkarw opened this issue Dec 10, 2024 · 1 comment

Comments

@pkarw
Copy link
Collaborator

pkarw commented Dec 10, 2024

Related #68
For some complex tasks where the supervisor naturally lacks domain knowledge, it would be easier to describe the workflow using a detailed task-by-task flow (with some space for conditional logic, etc.)., writing the flow in plain English but not leaving so much space as we do right now.

For this purpose, there could be a special purpose supervisor doing exactly this - getting step-by-step without splitting the tasks furthermore

@pkarw
Copy link
Collaborator Author

pkarw commented Dec 10, 2024

Let's imagine the current dispatcher - let's call it planningDispatcher for a while - and the new one sequenceDispatcher is producing a execution plan - tasks, agents etc - in a format that sequenceDispatcher is consuming.

Having this we'd have two scenarios - first user could define exact execution flow/plan and user sequenceDispatcher or can leave it to planningDispatcher

By having these 2 steps separated we'll end up with more deterministic flows - where execution always goes the same path (up to differences caused by agents themselves which are still dynamic) - and we could implement it as a kind of caching strategy for execution planning

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

No branches or pull requests

1 participant