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

Enhancement: Default Supervisory Mechanism for AI Agents in KaibanJS #208

Open
dannleft opened this issue Feb 19, 2025 · 0 comments
Open
Labels
enhancement Suggestions that improve existing features. feature New feature or request feedback discord kaiban board UI

Comments

@dannleft
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

KaibanJS incorporates Human-in-the-Loop (HITL) functionality, allowing for manual validation and feedback within AI-driven workflows. However, users have identified the need for a default supervisory setup to improve oversight of agents and validation of tasks without requiring manual intervention each time.

Currently, HITL requires explicit validation and intervention, which can become a bottleneck for workflows that need continuous supervision or adaptive validation rules.

User feedback: "A default supervisory setup/support would be nice to have."


Describe the solution you'd like

To enhance agent supervision and validation, a default supervisory mechanism could be introduced. This would enable KaibanJS to handle task monitoring and validation dynamically by integrating preconfigured supervision strategies.

Proposed improvements:
  1. Built-in Supervisor Agent:

    • A default Supervisor Agent that can oversee workflow execution.
    • The agent can be triggered automatically when a task reaches BLOCKED or AWAITING_VALIDATION.
  2. Automated Validation Rules:

    • Allow users to define custom validation conditions that determine when human input is needed.
    • Automatically trigger validation based on task complexity, confidence score, or failure patterns.
  3. Enhanced Feedback & Auditing System:

    • Improve the feedbackHistory by adding timestamps, reviewer identities, and revision reasons.
    • Track when and why a task required human intervention.
  4. UI Enhancements for Supervision:

    • Improve visualization in the KaibanJS Kanban Board by marking supervised or corrected tasks.
    • Introduce a "Supervisor Panel" where users can see tasks that required intervention and their validation history.

Describe alternatives you've considered

  • Manual validation via HITL (current approach):
    • Users manually review tasks when needed, but this can become inefficient in large-scale workflows.
  • External rule-based monitoring system:
    • Possible, but would require external integration and increase setup complexity.

Additional context

  • Relevant KaibanJS features:
    • validateTask(), provideFeedback(), getTasksByStatus().
    • Task statuses: BLOCKED, AWAITING_VALIDATION, REVISE, VALIDATED, DONE.
  • Expected benefits:
    • Reduce the need for constant manual supervision.
    • Improve workflow automation by allowing predefined validation strategies.
    • Enhance user experience by making task oversight more efficient.
@dannleft dannleft added enhancement Suggestions that improve existing features. feature New feature or request feedback discord kaiban board UI labels Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Suggestions that improve existing features. feature New feature or request feedback discord kaiban board UI
Projects
None yet
Development

No branches or pull requests

1 participant