How projnanda/5-day-course works
This repository is a five-day AI-agent course, with runnable Python examples that progress from a personal CrewAI agent to memory, tools, REST deployment, and agent-to-agent communication. The principal workflow is a learner querying an agent; later examples expose that agent over HTTP and support peer routing. The optional chat interface lets students register and chat with deployed agents. The README also describes a Day 5 coordination and battle challenge, but no Day 5 implementation appears in the supplied tree. Edges are limited to README statements and shown source excerpts.
Main entry points: server.js Agent registry · day-4/main.py A2A personal agent · day-2/main.py Memory agent · agent_1/main.py Weather agent
Components 15
Agent foundations
- Agent loop
day-1/main.py - Interactive runner
day-1/interactive.py
Memory and tools
- Memory agent
day-2/main.py - Memory inspector
day-2/inspect_memory.py
Deployment and A2A
- Agent REST API
day-3/main.py - Weather agent
agent_1/main.py - Robot expert
agent_2/main.py - A2A personal agent
day-4/main.py - A2A demo workflow
day-4/google_a2a.py - Agent registry
interface/server.js
Chat interface
- Agent listing UI
interface/app/page.tsx - Agent chat UI
interface/app/page.tsx
Other components
- Learner
- Deployed peer agent
- LLM and tools
Connections 19
- Learner → Agent loop: asks questions
README.md - Learner → Memory agent: asks questions
README.md - Interactive runner → Agent loop: runs agent
day-1/interactive.py - Learner → Agent REST API: queries over HTTP
README.md - Agent REST API → LLM and tools: uses agent tools
day-3/main.py - Memory agent → LLM and tools: uses tools
day-2/main.py - Memory inspector → Memory agent: inspects stored memory
day-2/inspect_memory.py - Learner → A2A personal agent: sends A2A requests
README.md - A2A personal agent → Agent registry: fetches agents
day-4/main.py - A2A personal agent → Deployed peer agent: routes messages
day-4/main.py - Weather agent → Agent registry: fetches agents
agent_1/main.py - Weather agent → Deployed peer agent: routes A2A messages
- Robot expert → Agent registry: fetches agents
agent_2/main.py - Robot expert → Deployed peer agent: routes A2A messages
- A2A demo workflow → LLM and tools: runs agent tasks
day-4/google_a2a.py - Learner → Agent listing UI: browses agents
- Agent listing UI → Agent registry: lists agents
- Learner → Agent chat UI: chats with agents
- Agent chat UI → Deployed peer agent: sends messages