How campusx-official/google-adk-course works
This repository is a collection of Google ADK course examples, not one deployed application. A representative user-to-result path is the Streamlit chatbot: the user submits a message, the app delegates to chat service, which runs the agent and returns a reply; session history is persisted in SQLite. Other independent branches demonstrate tools, structured outputs, MCP, state, memory, callbacks, and streaming. Edges use README documentation or shown calls; unsampled examples are included as documented capabilities, without guessing their internal wiring.
Main entry points: chat_service.py Chat service · agent.py Callback bot · run_agent_memory_bank.py Memory runner · app.py Chat UI
Components 26
Chat and sessions
- Chat UI
runner_chatbot_demo/app.py - Chat service
runner_chatbot_demo/chat_service.py - Chat agent
runner_chatbot_demo/chatbot_agent/agent.py - Session store
- Session runner
session_runner_demo/run_agent.py
Agent tools
- Refund agent
campusx_refund_agent/agent.py - Refund tools
campusx_refund_agent/tools.py - Refund database
- Search agents
combined_tool_agent/agent.py - Tool examples
world_clock_agent/agent.py - Structured outputs
structured_output_agent/agent.py - Ticket classifier
ticket_classifier_agent/agent.py
State and memory
- State agent
state_demo/state_agent/agent.py - Cafe agent
cafe_agent/agent.py - Memory agent
memory_demo/memory_agent/agent.py - Memory runner
memory_demo/run_agent_memory_bank.py - Memory service
Callbacks
- Callback bot
campusx_callbacks_bot/agent.py - Callback logic
campusx_callbacks_bot/callbacks.py - Support tools
campusx_callbacks_bot/tools.py
MCP and streaming
- MCP agent
mcp_agent/agent.py - Coding agent
coding_agent/agent.py - Shell server
coding_agent/servers/shell_server.py - Streaming agent
streaming_demo/streaming_bot/agent.py - Streaming UI
streaming_demo/app.py
Other components
- User
Connections 26
- User → Chat UI: sends message
runner_chatbot_demo/app.py - Chat UI → Chat service: delegates chat
runner_chatbot_demo/app.py - Chat service → Chat agent: runs agent
runner_chatbot_demo/chat_service.py - Chat service → Session store: reads and writes
runner_chatbot_demo/chat_service.py - User → Session runner: starts conversation
session_runner_demo/run_agent.py - Session runner → Chat agent: runs agent
- User → State agent: asks questions
- User → Cafe agent: places order
- User → Memory agent: asks questions
- Memory runner → Memory agent: runs agent
memory_demo/run_agent_memory_bank.py - Memory runner → Memory service: saves and queries
memory_demo/run_agent_memory_bank.py - User → Refund agent: requests refund
- Refund agent → Refund tools: registers tools
campusx_refund_agent/agent.py - Refund tools → Refund database: reads and writes
- User → Search agents: asks questions
- User → Tool examples: requests tool
- User → Structured outputs: provides enquiry
- User → Ticket classifier: provides ticket
- User → Callback bot: requests support
- Callback bot → Callback logic: registers callbacks
campusx_callbacks_bot/agent.py - Callback bot → Support tools: registers tools
campusx_callbacks_bot/agent.py - User → MCP agent: requests task
- User → Coding agent: requests coding
- Coding agent → Shell server: configures server
- User → Streaming UI: sends prompt
streaming_demo/app.py - Streaming UI → Streaming agent: runs and streams
streaming_demo/app.py