lloyal-agents API Reference
    Preparing search index...

    Class Source<TCtx, TChunk>Abstract

    Abstract base class for data sources usable by the research pipeline

    Each source builds its own atomic research tool — a self-contained swarm with source-specific prompt, toolkit, and self-referential recursion. The orchestrator sees only source research tools + report.

    Type Parameters

    • TCtx = Record<string, unknown>

      Runtime context passed to bind (e.g. parent branch, reranker)

    • TChunk = unknown

      Chunk type returned by getChunks for post-research reranking

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Type Parameters

      • TCtx = Record<string, unknown>

        Runtime context passed to bind (e.g. parent branch, reranker)

      • TChunk = unknown

        Chunk type returned by getChunks for post-research reranking

      Returns Source<TCtx, TChunk>

    Properties

    name: string

    Human-readable source name (e.g. 'web', 'corpus') for labeling findings

    Accessors

    • get groundingTools(): Tool<Record<string, unknown>>[]

      Grounding tools for independent verification (e.g. search, read_file, grep). Empty by default.

      Returns Tool<Record<string, unknown>>[]

    Methods

    • Late-bind runtime deps not available at construction. Called before tools are used.

      Parameters

      Returns Operation<void>