Agent Learn (Passive)
Automatically captures patterns during normal interactions:Agent Train (Active)
Explicit iterative improvement with feedback:Quick Comparison
When to Use Each
Use Agent Learn When:
- Remembering user preferences - Dark mode, language, communication style
- Capturing domain knowledge - Project-specific terms, codebase patterns
- Building context over time - Session history, conversation threads
- Automatic adaptation - No intervention needed
- Long-term memory - Persistent across sessions
Use Agent Training When:
- Improving specific responses - Better greetings, more accurate answers
- Quality assurance - Iterative refinement with scoring
- Human feedback loops - Expert-in-the-loop improvement
- Benchmarking behavior - Measurable improvement metrics
- One-time improvement sessions - Focused training runs
Data Flow Comparison
- Agent Learn Flow
- Agent Training Flow
Key Points:
- Happens automatically during
agent.start() - No explicit feedback required
- Stores in 7 specialized stores
- Retrieved automatically for future interactions
Storage Comparison
Agent Learn Stores
Agent Training Storage
Code Examples
- Agent Learn
- Agent Training
Using Both Together
Agent Learn and Agent Training are complementary. Use them together for best results:Summary
Related
Agent Learn
Passive continuous learning
Agent Train
Active iterative training
Memory
Agent memory systems
Train CLI
CLI reference

