Skip to content

feat: add supervisor to agents #811

@mackurzawa

Description

@mackurzawa

Feature description

Implement a SupervisorAgent class which can be passed to agents as argument. If provided, the supervisor agent would detect hallucinations, and verify the accuracy of responses against tool outputs. If the answer will be classified as hallucination it will call the Agent once again with appropriate message

Motivation

This feature will provide more reliable and accurate answers, which can be especially useful in critical environments. It will enable automated error detection and correction, resulting in more reliable outcomes.

Additional context

No response

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions