lloyal-agents API Reference
    Preparing search index...

    Class WebSource

    Web-backed research source using search + fetch with scratchpad extraction

    Wires up BufferingWebSearch and BufferingFetchPage for grounding, and a self-referential WebResearchTool for spawning parallel research sub-agents. Fetched page content is buffered in memory; after research completes, getChunks converts the buffer into Chunk instances via chunkFetchedPages for reranker scoring.

    Hierarchy

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    name: "web"

    Accessors

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

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

    Methods

    • Clear the page buffer and build the self-referential research toolkit

      Resets the internal FetchedPage buffer on every call so prior-run content does not leak into a new research pass. Constructs the WebResearchTool on first bind only (toolkit is stateless once built).

      Parameters

      Returns Operation<void>