Memory
ToolAgents has lightweight retrieval examples under examples/agents/memory/
and the preferred memory-agent examples under examples/agents/navigable_memory/.
Representative examples:
examples/agents/memory/rag.pyexamples/agents/memory/bm_25.pyexamples/agents/memory/ensemble.pyexamples/agents/navigable_memory/example_ingest_files.pyexamples/agents/navigable_memory/example_semantic_navigable_agent.py
Optional dependencies:
- install
ToolAgents[memory]for vector-store and embedding-provider support
Notes:
- the memory surface is still optional and heavier than the core framework
- legacy
SemanticMemoryandContextAppStateexamples were removed from the maintained examples tree; see Removed Legacy APIs - prefer
NavigableMemorywith an optional semantic index for document retrieval NavigableMemoryincludes helpers for ingesting local text files/directories and opt-in ingestion tools for agents- generated local vector-store artifacts are intentionally excluded from the maintained repo state