Documentation Index
Fetch the complete documentation index at: https://docs.agentium.in/llms.txt
Use this file to discover all available pages before exploring further.
Learned Knowledge
In plain terms
Learnings are reusable insights that apply across many conversations — “Vendor X invoices always have line-item drift,” “customs holds explain 80% of ‘lost’ international shipments.” They’re recalled by meaning (semantic search), so the right insight surfaces even when the wording differs.The analogy: the team wiki of hard-won lessons. One person figures something out once; everyone benefits forever.Unlike User Facts (about a person) or Entities (about things), learnings are about how to do the work well.
When to use it
- Domain knowledge that accrues over time — support playbooks, troubleshooting patterns, gotchas.
- Team-shared know-how — promote an insight to
agentortenantscope so the whole team sees it (see Scope Hierarchy). - Anything you want recalled by similarity, not exact match.
When NOT to use it
- Facts about the user → User Facts.
- Exact-match lookups (an order by ID) → that’s a tool call, not memory.
- Static reference docs → use a Knowledge Base / RAG for large document corpora; Learnings is for short, agent-discovered insights.
Configuration
| Property | Type | Required | Default | What it controls |
|---|---|---|---|---|
vectorStore | VectorStore | Yes | — | Where learnings are indexed for semantic search |
collection | string | No | "agentium_learnings" | The named bucket inside the vector store |
topK | number | No | 3 | How many of the most relevant learnings to inject per run |
vectorStoreis required because learnings are recalled by meaning, which needs a vector index (Qdrant, Pinecone, in-memory, etc.). This is whylearningstakes an object, not justtrue— there’s no default backend.collection— change only if multiple agents should keep separate learning sets inside one vector database.topK— higher means the agent considers more accumulated knowledge but spends more tokens and risks losing focus.3is a solid default;5–8for knowledge-heavy agents,1–2for tight budgets.
Scope and sharing
Learnings support a four-level scope so insights aren’t trapped in one user’s silo:save_learning tool exposes a scope parameter; reads union every scope the caller belongs to. Auto-extracted learnings always save as user scope — the framework never auto-promotes to a shared scope. See Multi-User Isolation for the full contract.
Tools
| Tool | What it does |
|---|---|
save_learning | Save an insight (with optional scope) |
search_learnings | Semantic search across every scope the caller can see |
Cross-references
- Knowledge Base / RAG — for retrieving over large document sets
- Multi-User Isolation — the scope hierarchy in full
- Procedural Memory — reusable workflows (vs. reusable insights)
- Composite Scoring — how recalled learnings are ranked