Skip to content

[Feature]: Google ADK Cookbook #93

Description

@yatharthk2

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

  • Example under examples/cookbook/google-adk/
  • Handles load_index() before the agent runs (not silently skipped)
  • Tool schema covers query, top_k, and optional filter arguments
  • Includes a short README explaining the local-vs-cloud speed tradeoff and pinned ADK version

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions