NVIDIA NeMo Agent Toolkit + Memanto
nemo-agent-toolkit-memanto registers Memanto as one of those backends, _type: memanto. It works with the toolkit’s automatic memory wrapper and with its built-in memory tools, with no other code changes.
Automatic memory
With
auto_memory_agent, every user message is saved, relevant memories are recalled before the agent answers, and replies are saved.Memory tools
add_memory, get_memory and delete_memory let the agent decide when to save, recall or forget.One agent per user
Each user’s memories live in their own Memanto agent, so recall never crosses users.
Facts, not transcripts
Conversation turns are distilled into typed facts, preferences and decisions. Small talk stores nothing.
How It Works
Each user maps to the agent
<agent_prefix>_<first 32 hex characters of sha256(user_id)>, so user IDs never appear in agent names. Searching or deleting for a user who has no memories returns nothing and creates no agent.
Prerequisites
- Python 3.11, 3.12 or 3.13
- NeMo Agent Toolkit (
nvidia-nat-core) 1.8 or later - Memanto 0.2.28+, installed automatically, and a Moorcheh API key, or an on-prem Memanto backend
nvidia-nat-langchainforauto_memory_agentand the ReAct agent
Install and configure
1
Install
Install into the same environment as Check that the toolkit finds it:
nvidia-nat-core:2
Set your key
memanto setup is used. The on-prem backend needs no key.3
Add the memory backend
Configuration
Automatic memory
Wrap any agent inauto_memory_agent. The user identity comes from the toolkit runtime, so each user gets their own memory without passing an ID.
config.yml
NVIDIA_API_KEY:
auto_memory_agent requires a description, and the ReAct agent requires at least one tool. Leaving either out makes the config fail validation.Memory tools
To let the agent choose what to remember, give it the toolkit’s memory tools:user_id suits a single-user deployment. For multiple authenticated users, set a trusted user_id_resolver instead.