Skip to content

Knowledges ​

Knowledge connects an agent to relevant source material without placing the entire corpus in every prompt.

Explore knowledge ​

PageLearn how to
Load documentsRead, normalize, and chunk source files.
EmbeddingsTurn documents into searchable vectors.
Vector storesBuild, query, update, and choose an index.
Metadata filtersEnforce tenant, visibility, and content boundaries.
Automatic retrievalAdd relevant documents to every agent turn.
Search toolsLet the model decide when and how to search.

The retrieval flow ​

text
Sources → load and chunk → embed → index → filter and search → model context

Ingestion prepares the index outside the request path. At runtime, the current prompt searches that prepared index and sends only relevant documents to the model.

Choose how retrieval runs ​

Use automatic retrieval when most prompts need supporting knowledge. Use a search tool when retrieval is optional or the model may need to refine its query.

Use static agent context instead when the source set is small, stable, and safe to include in every run. Use tools for live account data, permissions, or actions rather than treating a vector index as an operational database.

Built for Anvia.