Documentation
¶
Overview ¶
Example: Autonomous Agent with Knowledge Graph Memory
This example demonstrates an Agent that:
- Stores its observations and tool-call results as nodes in a knowledge graph
- Connects related observations with typed edges
- Uses vector search to retrieve semantically relevant context before each action
- Navigates the graph (BFS/Dijkstra) to find reasoning chains
This is the foundational pattern for memory-augmented autonomous agents. In production you would replace mockEmbed() with a real embedding call (e.g., BGE-M3 via Ollama or OpenAI text-embedding-3-large).
Click to show internal directories.
Click to hide internal directories.