Skip to main content
Agentic RAG is a separate API. It always provides a retrieve tool and can receive additional synchronous or asynchronous tools.
Use await pipeline.agenerate(...) inside an existing event loop. MCP tools use the same contract; the application owns the connected MCP client for the entire asynchronous call. See Agentic RAG.