-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
component:consensus-engineonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week
Description
- Description:
Design and implement a pluggable interface within the Consensus Engine that allows for the integration of various consensus methodologies. The system should provide a suite of standard consensus algorithms out-of-the-box (e.g., majority voting, weighted averaging, confidence-based scoring, potentially LLM-based aggregation) and enable developers to easily add custom consensus strategies tailored to specialized use-cases. - Acceptance Criteria:
- At least two standard consensus algorithms (e.g., majority voting, weighted averaging based on agent-provided confidence) are implemented and available.
- A clear, well-documented interface (e.g., an abstract base class) for defining and registering custom consensus algorithms is provided.
- The Consensus Engine can dynamically select and use different consensus algorithms based on configuration, task type, or other criteria.
- Key Files/Modules Involved (Tentative):
flare_ai_kit/consensus/library/
- Tasks / Implementation Steps:
- Define an abstract base class in
flare_ai_kit/consensus/library/base.py. - Use existing implementations in
confidence_ranking.py,majority.pyandweighted_average.pyas examples when defining the base class methods.
- Define an abstract base class in
Metadata
Metadata
Assignees
Labels
component:consensus-engineonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week