knowledge_agent.py
OPENAI_API_KEY before running the agent:
tmp/chromadb for later runs.
Choose the information path
Knowledge owns indexed content and retrieval. Context providers and tools query live systems. Customer-facing agents add sessions, authentication, and interfaces around either pattern.
Choose retrieval behavior
Start with agentic search. Add automatic context when each string input depends on the corpus. Use a custom retriever when retrieval policy lives outside Agno.
Protect corpus boundaries
Reindex older content before enabling isolated vector search if its vectors do not contain
linked_to metadata.