- Defines a custom tool (TakoTool) to query Tako’s Knowledge Search API
- Provides a structured system prompt guiding the agent’s behavior
- Creates a complete agent workflow that utilizes Tako as an external knowledge source
Define a tool
Define a LlamaIndex tool that will query Takobase.py
Write a system prompt
In the system prompt, direct the agent to query Tako and use the response whenever suited.prompts.py