Learn how to create AI agents with memory capabilities for maintaining context and information across tasks.
Feature | Knowledge | Memory |
---|---|---|
When Used | Pre-loaded before agent execution | Created and updated during runtime |
Purpose | Provide static reference information | Store dynamic context and interactions |
Storage | Read-only knowledge base | Read-write memory store |
Persistence | Permanent until explicitly changed | Can be temporary (STM) or persistent (LTM) |
Updates | Manual updates through knowledge files | Automatic updates during agent execution |
Install Package
Set API Key
Create a file
app.py
with the basic setup:Start Agents