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

Implement re-plan for supervisor agent #169

Open
Teneroy opened this issue Sep 18, 2024 · 1 comment
Open

Implement re-plan for supervisor agent #169

Teneroy opened this issue Sep 18, 2024 · 1 comment

Comments

@Teneroy
Copy link
Collaborator

Teneroy commented Sep 18, 2024

Description

The goal of this task is to implement re-planning functionality for the Supervisor Agent in Kyma Companion. The re-planner should work according to the flow described in the provided scheme. Re-planning should allow the agent to adjust its tasks and strategy based on the user input and the progress of task execution. If the initial plan cannot resolve the request, the re-planner will revise the strategy, calling other agents to ensure completion of the task.

Subtasks

  1. Develop Re-planning Logic:

    • Implement the re-planner to adjust the task execution based on the previous messages, user input, and feedback from agents.
    • If the tasks do not provide a complete response, invoke the re-planner to generate an alternative strategy.
  2. Add Stopping Mechanism:

    • Implement a stopping mechanism that finalizes the task and prevents infinite re-planning loops.
    • Ensure the agent finalizes the response once the tasks have been executed or a viable solution is found.

Acceptance Criteria

  • The re-planner adjusts the plan correctly based on previous messages, task execution status, and user input.
  • The stopping mechanism prevents infinite loops and ensures that a response is finalized and returned efficiently.
  • The system is tested, and it functions as expected in different scenarios.

Diagram

Image

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