Skip to main content
The Learned Knowledge Store captures reusable insights, patterns, and best practices that apply across users and sessions. Powered by semantic search, agents find and apply relevant knowledge automatically.

Prerequisites

Learned Knowledge requires a Knowledge base for semantic search:

Basic Usage

Agentic Mode

The agent receives tools to manage knowledge explicitly.
Available tools: search_learnings, save_learning The agent searches before answering questions and before saving (to avoid duplicates).

Propose Mode

The agent proposes learnings for user confirmation before saving.

Always Mode

Learnings are extracted automatically after each response.
Tradeoff: extra LLM call per interaction, may save low-value insights.

Data Model

What to Save

Good example:
“When comparing cloud providers, always check egress costs first - they vary dramatically (AWS: 0.09/GB,GCP:0.09/GB, GCP: 0.12/GB, Cloudflare R2: free).”
Poor example:
“AWS has egress costs.”

Accessing Learned Knowledge

Context Injection

Relevant learnings are injected via semantic search:

Namespaces

Control knowledge sharing:

Combining with Other Stores

Personalized responses drawing on collective knowledge.