How kalyanks-nlp/learn-agentic-ai works
This repository is a collection of independent tutorials and runnable examples for AI agents, protocols, and agent-native services—not one integrated application. A typical example accepts a user request, applies agent logic or protocol handling, and returns a response; implementations differ across directories. The graph highlights sampled guardrail and voice demos, Dapr chat variants, an A2A server, and a CrewAI monitoring example. Several Dapr and agent capabilities are evident from the tree, but their unsampled internals and relationships are intentionally not inferred.
Main entry points: chatbot/main.py Guardrail chat · chat-service/main.py Actor chat API · chat-service/main.py Workflow chat API · chat-service/main.py Observed chat API
Components 17
Agent demos
- Guardrail chat
01_ai_agents_first/13_guardrails/chatbot/main.py - Input guard
01_ai_agents_first/13_guardrails/chatbot/input_guard.py - Output guard
01_ai_agents_first/13_guardrails/chatbot/output_guard.py - Gemini config
01_ai_agents_first/13_guardrails/chatbot/setup_config.py - Voice interface
01_ai_agents_first/21_voice_mode/src/alertli4/main.py - Voice workflow
01_ai_agents_first/21_voice_mode/src/alertli4/agents1.py
Protocol demos
- A2A server setup
03_ai_protocols/02_a2a/a2a_modules/04_agent_executor/a2a04_code/main.py - Agent executor
03_ai_protocols/02_a2a/a2a_modules/04_agent_executor/a2a04_code
DACA services
- Actor chat API
05_daca_agent_native_dev/backup/10_hello_dapr_actors/fastapi-daca-tutorial/chat-service/main.py - Session actor
05_daca_agent_native_dev/backup/10_hello_dapr_actors/fastapi-daca-tutorial/chat-service/user_session_actor.py - Chat schemas
05_daca_agent_native_dev/backup/10_hello_dapr_actors/fastapi-daca-tutorial/chat-service/models.py - Workflow chat API
05_daca_agent_native_dev/backup/11_hello_dapr_workflows/fastapi-daca-tutorial/chat-service/main.py - Observed chat API
05_daca_agent_native_dev/backup/08_dapr_observability/fastapi-daca-tutorial/chat-service/main.py
CrewAI demo
- Crew runner
backup_recent/07b_crew_ai/12_monitoring/monitoring_cr/src/monitoring_cr/main.py - Monitoring crew
backup_recent/07b_crew_ai/12_monitoring/monitoring_cr/src/monitoring_cr/crew.py
Other components
- Chat user
- Memory service
Connections 18
- Chat user → Guardrail chat: sends message
01_ai_agents_first/13_guardrails/chatbot/main.py - Guardrail chat → Input guard: checks input
01_ai_agents_first/13_guardrails/chatbot/main.py - Guardrail chat → Output guard: checks output
01_ai_agents_first/13_guardrails/chatbot/main.py - Input guard → Gemini config: uses config
01_ai_agents_first/13_guardrails/chatbot/input_guard.py - Guardrail chat → Gemini config: runs with config
01_ai_agents_first/13_guardrails/chatbot/main.py - Chat user → Voice interface: speaks to
- Voice interface → Voice workflow: runs workflow
01_ai_agents_first/21_voice_mode/src/alertli4/main.py - Chat user → Actor chat API: posts chat
- Actor chat API → Chat schemas: validates with
05_daca_agent_native_dev/backup/10_hello_dapr_actors/fastapi-daca-tutorial/chat-service/main.py - Actor chat API → Session actor: calls actor
05_daca_agent_native_dev/backup/10_hello_dapr_actors/fastapi-daca-tutorial/chat-service/main.py - Chat user → Workflow chat API: posts chat
- Workflow chat API → Chat schemas: validates with
05_daca_agent_native_dev/backup/11_hello_dapr_workflows/fastapi-daca-tutorial/chat-service/main.py - Workflow chat API → Memory service: fetches context
05_daca_agent_native_dev/backup/11_hello_dapr_workflows/fastapi-daca-tutorial/chat-service/main.py - Chat user → Observed chat API: posts chat
- Observed chat API → Session actor: calls actor
05_daca_agent_native_dev/backup/08_dapr_observability/fastapi-daca-tutorial/chat-service/main.py - Observed chat API → Memory service: fetches memory
05_daca_agent_native_dev/backup/08_dapr_observability/fastapi-daca-tutorial/chat-service/main.py - A2A server setup → Agent executor: registers executor
03_ai_protocols/02_a2a/a2a_modules/04_agent_executor/a2a04_code/main.py - Crew runner → Monitoring crew: starts crew
backup_recent/07b_crew_ai/12_monitoring/monitoring_cr/src/monitoring_cr/main.py