How syedjaferk/40_day_of_agentic_ai works
This repository is a collection of standalone Python learning demos, not one integrated application. A representative workflow is the prompt-engineering CLI selecting a technique, which builds a prompt and uses the shared Groq client to return an answer. Other independent branches demonstrate agent tools, memory, RAG, asynchronous programming, and validation. Source excerpts confirm several prompt, tool, and memory relationships; for unsampled demos, the graph preserves their capabilities without guessing their internal call paths.
Main entry points: run_examples.py Example Runner · groq_client.py Groq Client · 4_database_tools.py SQL Agent Tools · mcp_client.py MCP Client
Components 31
Prompt Engineering
- Example Runner
4.prompt_engineering/run_examples.py - Zero Shot
4.prompt_engineering/techniques/zero_shot.py - Few Shot
4.prompt_engineering/techniques/few_shot.py - Chain Of Thought
4.prompt_engineering/techniques/chain_of_thought.py - Role Based
4.prompt_engineering/techniques/role_based.py - Structured Instructions
4.prompt_engineering/techniques/instruction_based.py - Contextual Prompting
4.prompt_engineering/techniques/contextual_prompting.py - Self Consistency
4.prompt_engineering/techniques/self_consistency.py - Tree Of Thought
4.prompt_engineering/techniques/tree_of_thought.py - ReAct
4.prompt_engineering/techniques/react.py - Groq Client
4.prompt_engineering/groq_client.py
Tools And Agents
- Custom Tool Demos
11.tools-custom - ChatGroq Model
11.tools-custom/model.py - SQL Agent Tools
11.tools-custom/4_database_tools.py - Shop SQLite
11.tools-custom/4_database_tools.py - MCP Client
11.tools-custom/mcp_client.py - MCP Server
11.tools-custom/mcp_server.py - Tool Calling Demo
5.tool_calling/tool_calling.py
Agent Memory
- Buffer Memory
10.memory_management/1.buffer_memory.py - Window Memory
10.memory_management/2.window_memory.py - Token Memory
10.memory_management/3.token_memory.py - Summary Memory
10.memory_management/4.summary_memory.py - Long Term Memory
10.memory_management/5.long_term.py - Semantic Memory
10.memory_management/6.semantic_memory.py - Memory Store
10.memory_management/5.long_term.py
Retrieval And Validation
- Simple RAG
7.simple_rag/simple_rag.py - Data Validation Demos
9.data_validation
Other Demos
- Async Coding Demos
8.aysnc_coding - Number Guessing Game
2.number_guessing_game/game.py
Other components
- Learner
- Groq API
Connections 26
- Learner → Example Runner: selects demo
4.prompt_engineering/run_examples.py - Example Runner → Zero Shot: runs technique
4.prompt_engineering/run_examples.py - Example Runner → Few Shot: runs technique
4.prompt_engineering/run_examples.py - Example Runner → Chain Of Thought: runs technique
4.prompt_engineering/run_examples.py - Example Runner → Role Based: runs technique
4.prompt_engineering/run_examples.py - Example Runner → Structured Instructions: runs technique
4.prompt_engineering/run_examples.py - Example Runner → Contextual Prompting: runs technique
4.prompt_engineering/run_examples.py - Example Runner → Self Consistency: runs technique
4.prompt_engineering/run_examples.py - Example Runner → Tree Of Thought: runs technique
4.prompt_engineering/run_examples.py - Example Runner → ReAct: runs technique
4.prompt_engineering/run_examples.py - Zero Shot → Groq Client: calls client
4.prompt_engineering/techniques/zero_shot.py - Few Shot → Groq Client: calls client
4.prompt_engineering/techniques/few_shot.py - Chain Of Thought → Groq Client: calls client
4.prompt_engineering/techniques/chain_of_thought.py - Role Based → Groq Client: calls client
4.prompt_engineering/techniques/role_based.py - Structured Instructions → Groq Client: calls client
4.prompt_engineering/techniques/instruction_based.py - Contextual Prompting → Groq Client: calls client
4.prompt_engineering/techniques/contextual_prompting.py - Self Consistency → Groq Client: calls client
4.prompt_engineering/techniques/self_consistency.py - Tree Of Thought → Groq Client: calls client
4.prompt_engineering/techniques/tree_of_thought.py - ReAct → Groq Client: calls client
4.prompt_engineering/techniques/react.py - Groq Client → Groq API: sends requests
4.prompt_engineering/groq_client.py - SQL Agent Tools → ChatGroq Model: configures agent
11.tools-custom/4_database_tools.py - SQL Agent Tools → Shop SQLite: queries read-only
11.tools-custom/4_database_tools.py - MCP Client → ChatGroq Model: configures agent
11.tools-custom/mcp_client.py - MCP Client → MCP Server: discovers tools
11.tools-custom/mcp_client.py - Long Term Memory → Memory Store: reads and writes
10.memory_management/5.long_term.py - Semantic Memory → Memory Store: searches memories
10.memory_management/6.semantic_memory.py