lloyal-agents API Reference
    Preparing search index...

    Function createTools

    • Build the standard corpus-research toolkit.

      Returns a Toolkit containing SearchTool, ReadFileTool, GrepTool, and ReportTool wired to the provided resources, chunks, and reranker.

      Parameters

      • opts: { chunks: Chunk[]; reranker: Reranker; resources: Resource[] }

        Resources, chunks, and reranker to bind into the tools.

      Returns Toolkit

      A ready-to-use toolkit for corpus research agents.