Skip to main content

rag

Registered Go module (internal/modules/rag). Agents work with knowledge bases through the tools below. Config is richer than the tool list (sources, backends, chunking, cache, ACL, auto_index); see the language page for YAML shape, but treat tool names on this page as authoritative.

PropertyValue
Module idrag
Tools (this build)11

Agent tools

ToolPurpose
rag.create_knowledge_baseCreate a named KB
rag.delete_knowledge_baseDelete a KB
rag.list_knowledge_basesList KBs
rag.knowledge_base_statsStats for one KB
rag.index_statsIndex / engine stats
rag.ingestIngest raw text / documents
rag.ingest_fileIngest one file
rag.ingest_directoryIngest a directory
rag.queryRetrieve from a KB
rag.reindexReindex
rag.migrate_embeddingsRe-embed under a new model

Not registered as agent tools in this build: ingest_database, multi_query, sql_query, clear_cache, list_models. Database / web / kafka-style sources may still be configured on the module and driven by the indexer; that is config + background indexing, not those tool names.

Quick start

yaml
tools:
modules:
rag: {}

auto_index.schedule is a cron string handled by the RAG indexer triggers path. It does not use the stub cron_native module.

  • Longer YAML / concepts: RAG (verify claims against this tool list and internal/modules/rag)
  • Module index