Description
Integrate Google ADK 2.x as the model and workflow layer. Implement the Gemini adapter with structured output, credential validation, context builder for fresh-session reconstruction, and token/usage tracking.
Key Deliverables
- Google ADK Adapter — CodingAgent protocol implementation using ADK
- Credential Validation — validates API key or Vertex AI credentials at startup
- Structured Agent Proposal — Pydantic models for typed model output
- Response Validation — retry with validation feedback on invalid output
- Context Builder — reconstructs fresh context per iteration
- Repository Map — file map for context construction
- Token/Usage Tracking — exact usage from Gemini API
- ADK Workflow Nodes — PrepareContext, InvokeCodingAgent, ValidateProposal
Acceptance Criteria
Depends on: #3, #4
Description
Integrate Google ADK 2.x as the model and workflow layer. Implement the Gemini adapter with structured output, credential validation, context builder for fresh-session reconstruction, and token/usage tracking.
Key Deliverables
Acceptance Criteria
GoogleAdkCodingAgentcorrectly implements CodingAgent protocollive_model) works with real credentialsDepends on: #3, #4