Cookbook: Using Moss with Google ADK
Add a cookbook example showing how to wire Moss into a Google ADK agent as a retrieval tool.
What the example should cover
- Load a Moss index locally (
load_index) before querying, to demonstrate sub-10ms retrieval
- Wrap
client.query() as a Google ADK FunctionTool
- Show optional metadata filter support passed as tool arguments
- End-to-end agent run with Gemini: agent receives a question, calls the Moss tool, returns a grounded answer
Acceptance Criteria
Cookbook: Using Moss with Google ADK
Add a cookbook example showing how to wire Moss into a Google ADK agent as a retrieval tool.
What the example should cover
load_index) before querying, to demonstrate sub-10ms retrievalclient.query()as a Google ADKFunctionToolAcceptance Criteria
examples/cookbook/google-adk/load_index()before the agent runs (not silently skipped)query,top_k, and optionalfilterarguments