Add comprehensive documentation comments to all example agents#16
Open
slvnperron wants to merge 1 commit intomainfrom
Open
Add comprehensive documentation comments to all example agents#16slvnperron wants to merge 1 commit intomainfrom
slvnperron wants to merge 1 commit intomainfrom
Conversation
…ple agents Document the reasoning, design decisions, and architectural patterns behind each ADK agent so LLMs can deeply understand why the code was built the way it was. Comments cover agent configs, conversation handlers, workflows, tools, subagent framework, and extension patterns across all examples: - approval: Human-in-the-loop tool execution via error-driven approval gate - brand-extractor: Conversation + background workflow with real-time progress - clause-extraction: File upload -> batch LLM extraction -> interactive Q&A - deep-research: Topic refinement -> parallel research pipeline -> report - guardrails: Async topic validation with zai.check - subagents: Orchestrator-worker with isolated execution contexts - trivia: Event-driven multiplayer game with JSON protocol over messages - webchat-rag: RAG + admin mode + guardrails composition pattern https://claude.ai/code/session_01T3JektKdv293bQKWTRLb7o
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds extensive inline documentation to all example agents in the repository. Each agent, conversation handler, workflow, and tool now includes detailed comments explaining the architectural decisions, design patterns, and implementation rationale.
Key Changes
Agent Configuration Files
@agentJSDoc headers with pattern descriptionsConversation Handlers
@conversationJSDoc headers explaining the handler's roleWorkflows
@workflowJSDoc headers with multi-phase pipeline documentationTools and Utilities
@toolsand@classJSDoc headersNotable Implementation Details
Benefits
https://claude.ai/code/session_01T3JektKdv293bQKWTRLb7o