How sosom714/agentic_ai works
This repository is a course lab: standalone Python lessons that progressively demonstrate an LLM call, tool use, agent loops, memory, reasoning patterns, and a guarded personal assistant. The README documents that learning progression, but the scripts are not one integrated runtime; source-level edges show only relationships visible in sampled code. Several later capabilities are documented but not excerpted, so their internal connections are left unverified.
Main entry points: 07_agent_memory.py Sliding-Window Memory · 13_agent.py Multi-Turn Assistant · 14_persistent_agent.py Persistent Assistant · 01_hello_llm.py First LLM Call
Components 21
LLM and Tools
- First LLM Call
01_LLM_Basics/01_hello_llm.py - Temperature Demo
01_LLM_Basics/02_hello_llm_temperature.py - Tool Calling Demo
02_Tool_Calling/03_tools_app.py
Agent Patterns
- Conversation Loop
03_Agent_Loop/04_agent_loop.py - Tool Agent Loop
03_Agent_Loop/05_agent_components.py - Safe Agent Loop
03_Agent_Loop/06_safe_agent.py - Sliding-Window Memory
04_Agent_Memory/07_agent_memory.py - Calendar Tool
04_Agent_Memory/tools.py - ReAct Agent
05_Reasoning_and_Patterns/08_react_agent.py - Reasoning Guardrails
05_Reasoning_and_Patterns/09_pattern_agents.py
Personal Assistant
- Heartbeat Notes
06_Personal_Assistant_Project/10_heartbeat_loop_notes.py - Assistant Tool Starter
06_Personal_Assistant_Project/11_tools_starter.py - Assistant Agent Starter
06_Personal_Assistant_Project/12_agent_starter.py - Multi-Turn Assistant
06_Personal_Assistant_Project/13_agent.py - Assistant Tools
06_Personal_Assistant_Project/tools.py - Persistent Assistant
06_Personal_Assistant_Project/14_persistent_agent.py - Preference JSON Store
06_Personal_Assistant_Project/14_persistent_agent.py - Monitored Assistant
06_Personal_Assistant_Project/15_monitored_agent.py - Secure Assistant
06_Personal_Assistant_Project/16_secure_agent.py
Other components
- Learner
- LLM Service
Connections 30
- Learner → First LLM Call: starts with
README.md - First LLM Call → Temperature Demo: continues to
README.md - Temperature Demo → Tool Calling Demo: continues to
README.md - Tool Calling Demo → Conversation Loop: continues to
README.md - Conversation Loop → Tool Agent Loop: adds tool execution
README.md - Tool Agent Loop → Safe Agent Loop: adds safeguards
README.md - Safe Agent Loop → Sliding-Window Memory: adds memory
README.md - Sliding-Window Memory → Calendar Tool: imports and executes
04_Agent_Memory/07_agent_memory.py - Sliding-Window Memory → ReAct Agent: continues to
README.md - ReAct Agent → Reasoning Guardrails: continues to
README.md - Reasoning Guardrails → Heartbeat Notes: continues to
README.md - Heartbeat Notes → Assistant Tool Starter: continues to
README.md - Assistant Tool Starter → Assistant Agent Starter: continues to
README.md - Assistant Agent Starter → Multi-Turn Assistant: continues to
README.md - Multi-Turn Assistant → Assistant Tools: imports and calls
06_Personal_Assistant_Project/13_agent.py - Multi-Turn Assistant → Persistent Assistant: continues to
README.md - Persistent Assistant → Preference JSON Store: reads and writes
06_Personal_Assistant_Project/14_persistent_agent.py - Persistent Assistant → Monitored Assistant: continues to
README.md - Monitored Assistant → Secure Assistant: continues to
README.md - First LLM Call → LLM Service: requests completion
01_LLM_Basics/01_hello_llm.py - Temperature Demo → LLM Service: requests completions
01_LLM_Basics/02_hello_llm_temperature.py - Tool Calling Demo → LLM Service: requests completion
02_Tool_Calling/03_tools_app.py - Conversation Loop → LLM Service: requests completion
README.md - Tool Agent Loop → LLM Service: requests completion
README.md - Safe Agent Loop → LLM Service: requests completion
03_Agent_Loop/06_safe_agent.py - Sliding-Window Memory → LLM Service: requests completion
04_Agent_Memory/07_agent_memory.py - ReAct Agent → LLM Service: requests completion
05_Reasoning_and_Patterns/08_react_agent.py - Multi-Turn Assistant → LLM Service: requests completion
06_Personal_Assistant_Project/13_agent.py - Persistent Assistant → LLM Service: requests completion
06_Personal_Assistant_Project/14_persistent_agent.py - Monitored Assistant → LLM Service: requests completion
06_Personal_Assistant_Project/15_monitored_agent.py