nexus-agents - v2.80.0
    Preparing search index...

    Interface ICollaborationProtocol

    Base interface for collaboration protocols.

    NOTE: This interface is defined here (not in collaboration-protocol.ts) to avoid circular dependencies. Protocol implementations import this interface, and collaboration-protocol.ts imports the implementations.

    interface ICollaborationProtocol {
        pattern: CollaborationPattern;
        execute(
            config: CollaborationConfig,
            agents: Map<string, IAgent>,
        ): Promise<Result<CollaborationResult, AgentError>>;
        cancel(reason: string): void;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    Methods