Skip to main content
io.agentscope.core.rag.Knowledge is AgentScope’s interface for plugging in an external knowledge base. The Agent uses it during inference to retrieve documents that are then handed to the model. The agentscope-extensions-* repository ships several implementations:

Same wiring everywhere

You can also expose retrieval as a tool that the Agent calls explicitly:

Choosing one

Aside from Simple, the platform-backed implementations are retrieval only: document ingestion / updates happen via the platform console or its native API. This keeps Knowledge implementations swappable on the Agent side.