Minimal AgentCard repo that wraps Google Vertex RAG as a function tool for fast-agent.
This repo follows the AgentCard RFC: https://github.com/evalstate/fast-agent/blob/main/plan/agent-card-rfc.md
- Install dependencies:
uv sync- Configure Vertex AI settings:
cp fastagent.secrets.yaml.example fastagent.secrets.yamlUpdate fastagent.secrets.yaml with your Google Cloud project and region. Authenticate with Google (for example, gcloud auth application-default login) and ensure the Drive folder is accessible by your credentials.
Enable Vertex AI RAG + Google Drive APIs and required roles in your project. If access is denied, share the Drive folder with the Google service account from the error message.
uv run fast-agent go --card agents --message "Produce a short top 5 prioritized list about customer pain points. From RAG, select 50 relevant chunks about customer pain points. Deduplicate. Links: [name](<link>). Compact output. Drive ID: 1J3ubtdkmFuWDjfW3_qT2Fhsdn2pbtv-8."uv run fast-agent go --card agents --watchagents/vertex-rag.mdis the AgentCard.function_toolsloadsagents/vertex_rag_tool.py:mini_ragvia the function tool loader.pyproject.tomldeclares all runtime dependencies, includingfast-agent-mcp.fastagent.secrets.yamlsupplies Vertex AI project/region for the tool.
- AgentCard at the Summit: The Multi-Agent Standardization Revolution: https://github.com/evalstate/fast-agent/blob/main/plan/agentcard-standards-mini-article.md
- AgentCard RFC: https://github.com/evalstate/fast-agent/blob/main/plan/agent-card-rfc.md
- fast-agent docs: https://fast-agent.ai
- fast-agent repo: https://github.com/evalstate/fast-agent
- Vertex RAG quickstart: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/rag-engine/rag-quickstart
- Vertex RAG overview: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/rag-engine/rag-overview
- Vertex RAG supported regions: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/rag-engine/rag-overview#supported-regions
- Vertex AI SDK install: https://docs.cloud.google.com/vertex-ai/docs/start/install-sdk
- Vertex RAG console: https://console.cloud.google.com/vertex-ai/rag
