Overview
| Aspect | Details |
|---|---|
| Data Type | Insights, patterns, best practices |
| Scope | Configurable (global or per-user) |
| Persistence | Long-term |
| Default Mode | AGENTIC |
| Supported Modes | ALWAYS, AGENTIC, PROPOSE |
| Requires | Knowledge base with vector database |
Prerequisites
Learned Knowledge requires a Knowledge base with a vector database for semantic search:Basic Usage
AGENTIC Mode (Default)
The agent receives tools to explicitly manage knowledge:| Tool | Description |
|---|---|
search_learnings | Find relevant insights by semantic search |
save_learning | Store a reusable insight |
- Always search before answering substantive questions
- Always search before saving to avoid duplicates
- Only save insights that are non-obvious, reusable, and actionable
PROPOSE Mode
The agent proposes learnings for user confirmation:ALWAYS Mode
Learnings are extracted automatically in the background:Learned Knowledge Data Model
Each learning contains:| Field | Type | Description |
|---|---|---|
title | str | Short, searchable title |
learning | str | The actual insight |
context | str | When/where this applies |
tags | list | Categories for organization |
namespace | str | Sharing scope |
user_id | str | Owner (if namespace=“user”) |
created_at | datetime | When captured |
What to Save vs Not Save
| Good to Save | Don’t Save |
|---|---|
| Non-obvious discoveries | Raw facts or data |
| Reusable patterns | User-specific preferences |
| Domain-specific insights | Common knowledge |
| Problem-solving approaches | Conversation summaries |
| Best practices | Temporary information |
“When comparing cloud providers, always check egress costs first - they vary dramatically (AWS: 0.12/GB, Cloudflare R2: free).”Poor example:
“AWS has egress costs.”