Namespaces
Namespaces isolate memories into separate semantic search spaces.What is a Namespace?
A namespace is an isolated collection of memories where semantic search operates independently. Think of it like:- Database table - Each namespace is its own data container
- Semantic search scope - Queries only search within that namespace
- Memory boundary - Memories from different namespaces never mix
Namespace Structure
Agent Namespaces
Each agent automatically gets its own namespace:Search Isolation
Memories only search within their namespace:Example: Multiple Agents
Practical Impact
Isolation Benefits
- Privacy - Support agent doesn’t see sales data
- Performance - Smaller namespace = faster search
- Organization - Clear semantic boundaries
- Independence - Agents work without interference
Example: Search Results
When You Need Shared Memory
If multiple agents need to share context, use a technique like:Option 1: Shared Memory Store
Both agents recall from a shared agent:Option 2: Explicit Query to Other Agent
One agent queries another’s namespace via API (advanced).Namespace Naming
Namespaces follow pattern:customer-support→memanto_agent_customer-supportproject-manager→memanto_agent_project-managerresearch-bot→memanto_agent_research-bot
Best Practices
DO
- Create separate agents for different domains
- Keep related memories in same agent
- Use clear agent names
- Document agent purposes
- Review memory isolation regularly
DON’T
- Put all memories in one agent
- Expect cross-agent search
- Reuse agent for different purposes
- Ignore namespace boundaries
- Mix unrelated memories