External data and RAG
Status: partial.
Use tools or MCP servers when the agent needs external data.
rtp-agent does not provide a dedicated RAG framework package. The source-backed path is to expose retrieval as a tool, then let the LLM call that tool during generation. For external tool servers, use MCP.
MCP options
The source exposes:
llm.NewMCPServerHTTPllm.NewMCPServerStdiollm.NewMCPToolsetRTP_AGENT_MCP_STDIO_SERVERSRTP_AGENT_MCP_HTTP_SERVERS
Use a dedicated RAG page only after the repository contains source and tests for retrieval-specific indexing, chunking, ranking, or citation behavior.
Evidence:
core/llm/mcp.goapp/app.gocore/llm/tool_context.go