Python Web Development Course
Learn Python Web Development in 3 Days
Welcome to our “Web Development with Python” course! If you’re eager to delve into the dynamic world of Python web development, you’re in the right place. Over the span of just 3 days, our instructor-led program will equip you with the essential skills needed to craft web applications using the powerful Django framework.
Your Path to a Brighter Future
This course is designed for a diverse audience – from beginners taking their first steps into programming to those keen on mastering the Django framework. If you’ve been itching to enhance your career prospects, this course offers the ideal platform. We understand that a solid understanding of Python and Django can open up a world of opportunities in the fast-paced tech industry. And the best part? You don’t need to be a seasoned programmer to get started. As long as you’re comfortable with the Windows operating system and have a basic knowledge of HTML5 and CSS, you’re ready to roll!
What You'll Achieve
Throughout the course, you’ll embark on a journey of discovery, learning how to create full-stack websites, understand Django’s architecture, and handle everything from session management to authentication. We’ll take you through the core Python concepts and introduce you to the MVC design pattern. By the end of this program, you’ll be well-versed in web development with Python, ready to build, innovate, and carve out a promising career in the ever-evolving tech landscape. So, let’s get started on your Python web development adventure!
Course Details
Course code: -; Duration: 3 Days; Instructor-led
This course introduces the concepts, architecture, design patterns, and practical implementation of Agentic AI using Python.
The course begins with integrating Large Language Models (LLMs) into existing software solutions and progressively develops structured output, context, memory, Retrieval-Augmented Generation (RAG), state management, tools, tool selection, and agent workflows.
Python and Jupyter Notebook are used as the primary technical learning environment. Participants progress from individual concepts to an integrated agent architecture and capstone project.
Audience
- Software developers
- Technical professionals
- Software engineers
- Application developers
- Technical architects
- Professionals interested in integrating AI into existing software solutions
Suitable for professionals with basic programming experience who want to integrate LLMs and Agentic AI into conventional software applications.
Prerequisites
No prerequisites
Methodology
None
Course Objectives
- Understand LLMs in existing software solutions.
- Integrate an LLM into Python applications.
- Use structured LLM responses and validation.
- Design and provide context to an LLM.
- Understand short-term and long-term memory.
- Implement persistent memory.
- Implement RAG and vector retrieval.
- Understand agent state and state management.
- Create and execute agent tools.
- Build a tool catalog and registry.
- Implement LLM-based tool selection.
- Understand agent workflows and LangGraph.
- Apply Agentic AI design patterns and architecture.
- Build an Agentic AI capstone project.
Outlines
Day 1
Module 1: Introduction To Agentic AI
1.1 Introduction to Agentic AI
- What is Agentic AI?
- From conventional software to AI-enabled software
- Role of LLMs in software solutions
- Why LLMs alone are not sufficient
- Introduction to agent-based software solutions
1.2 LLMs in Existing Software Solutions
- LLM integration
- Sending requests
- Receiving responses
- Using responses in application logic
1.3 From LLM Application to Agentic Application
- Basic LLM interaction
- Context
- Memory
- Retrieval
- State
- Tools
- Agent workflow
1.4 Learning Roadmap
- LLM integration
- Context
- Memory
- RAG
- State
- Tools
- Design patterns
- Agent architecture
- Capstone
Â
Module 2: Python And Jupyter Notebook Environment
2.1 Python for Agentic AI
- Python classes and objects
- Functions
- Dictionaries and lists
- JSON
- External libraries
2.2 Visual Studio Code
- Python files
- Jupyter notebooks
- Interactive execution
2.3 Jupyter Notebook
- Code cells
- Markdown cells
- Incremental execution
- Inspecting results
2.4 Development Environment
- Required libraries
- LLM client
- API credentials
- Running notebooks
Â
Module 3: Working With LLMs From Python
3.1 Connecting Python to an LLM
- LLM client
- Model
- Requests
- Responses
3.2 Instructions and User Input
- System instructions
- User requests
- Separating instructions and input
3.3 Basic LLM Application
- User request → Application → LLM → Response
3.4 LLM Output
- Text
- JSON
- Structured responses
- Application use
Â
Module 4: Structured LLM Output
4.1 Need for Structured Output
- Free-form response problems
- Predictable application data
4.2 Pydantic Models
- Models
- Fields
- Instances
- Validation
4.3 JSON Validation
- JSON input
- Conversion
- Validation errors
4.4 JSON Schema
- Generating schemas
- Expected output
- Strict structured output
4.5 Structured Response Pattern
- LLM → JSON Schema → Structured Response → Pydantic Model
4.6 Exercise
- Structured project status: project name, status, completion percentage, open bugs
Â
Module 5: Context Engineering
5.1 Understanding Context
- What is context?
- Why agents require context
- Context versus user request
5.2 Components of Context
- System instructions
- Conversation history
- Tool results
- Retrieved information
- Task state
- User request
5.3 Building Context in Python
- Combining information from multiple sources
5.4 Context-Aware Responses
- Customer support scenario using conversation, transaction information, policy, state, and LLM
5.5 Context Window Considerations
- Context size
- Large-context problems
- Relevant information retrieval
5.6 Exercise
- Build a context-aware customer support assistant
Â
Module 6: Memory In Agentic AI
6.1 Understanding Agent Memory
- Why agents need memory
- Future-useful information
- Conversation versus persistent information
6.2 Identifying Useful Memories
- LLM-based preference extraction
- Preference key and value
6.3 Short-Term Memory
- Memory candidates
- Python representation
- Session memory
- Context integration
6.4 Using Memory
- Stored preferences → Relevant memory → Context → LLM → Response
6.5 Long-Term Memory
- SQLite
- Memory table
- Storage
- Retrieval
6.6 Memory Retrieval
- Persistent retrieval
- Formatting memory
- Providing memory to LLM
6.7 Exercise
- Build an assistant that stores and later uses user preferences
Day 2
Module 7: Retrieval-Augmented Generation (RAG)
7.1 Introduction to RAG
- External information
- Retrieval before generation
- RAG architecture
7.2 Documents as Knowledge Sources
- Source
- Page
- Content
7.3 Basic Document Retrieval
- Searching
- Matching
- Selecting relevant content
7.4 Retrieval and Generation
- Question → Retrieval → Information → LLM → Answer
7.5 Grounding Responses
- Use retrieved information
- Handle unavailable information
7.6 Vector-Based Retrieval
- Embeddings
- Vector databases
- Semantic retrieval
- ChromaDB
7.7 ChromaDB
- Persistent client
- Collections
- Documents
- Metadata
- Queries
- Results
7.8 Metadata
- Source
- Page
7.9 Exercise
- Build an HR policy assistant
Â
Module 8: Agent State
8.1 Understanding State
- Structured information describing current agent execution
8.2 Why Agents Need State
- Maintaining information
- Tracking known information
- Missing information
- Current task
- Multi-step workflows
8.3 Structured State
- Pydantic state model
- Goal
- Brand
- Screen size
- RAM
8.4 State Information
- Required
- Optional
- Missing
- Existing
8.5 State Completion
- Determine whether required information is complete
8.6 Updating State
- Receive message
- Examine state
- Extract information
- Update state
- Preserve existing information
8.7 Multi-Turn Interaction
- Incremental information
- Ask only for missing information
8.8 Exercise
- Build a multi-turn shopping requirements assistant
Â
Module 9: Agent Tools
9.1 Understanding Tools
- Agent tools
- Why LLMs need tools
- Reasoning versus execution
9.2 Creating Tools
- Project status
- Project bugs
- Project teams
9.3 Tool Metadata
- Name
- Description
- Function
- Arguments
9.4 Tool Catalog
- Collection
- Listing
- Descriptions
- Catalog generation
9.5 Tool Registry
- Lookup
- Identification
- Execution
9.6 Tool Execution
- Tool name + arguments → registry → function → result
9.7 Error Handling
- Unknown tools
- Invalid names
- Invalid arguments
9.8 Exercise
- Build a project-assistant tool registry
Â
Module 10: LLM-Based Tool Selection
10.1 Why Tool Selection Is Required
- Multiple tools
- Relevant tool
- Required arguments
10.2 Tool Selection Schema
- Tool name
- Arguments
- Project name
10.3 Tool Catalog for the LLM
- Available tools
- Descriptions
- Arguments
- User request
10.4 Structured Tool Selection
- User request → LLM → Tool selection → Arguments
10.5 Execute Selected Tool
- Pass selection to registry
10.6 Reusable Selection Function
- Implement select_tool()
10.7 Complete Flow
- Request → Selection → Tool → Arguments → Execution → Result
10.8 Exercise
- Build a project assistant with LLM-based tool selection
Â
Module 11: Agent Workflow
11.1 From Functions to Workflow
- Combine context, memory, RAG, state, tools, and selection
11.2 Workflow Stages
- Select Tool
- Execute Tool
- Generate Answer
11.3 Agent State
- Request
- Tool name
- Arguments
- Result
- Answer
11.4 Workflow Nodes
- Select Tool Node
- Execute Tool Node
- Generate Answer Node
11.5 Workflow Flow
- START → Select Tool → Execute Tool → Generate Answer → END
11.6 Exercise
- Implement a multi-node project assistant
Day 3
Module 12: LangGraph
12.1 Introduction to LangGraph
- Graph-based workflows
- Nodes
- State
- Edges
- START
- END
12.2 StateGraph
- Create StateGraph
12.3 Agent State
- Structured workflow state
12.4 Nodes
- Python node functions
- Read and update state
12.5 Edges
- Connect workflow nodes
12.6 Compile
- Build and compile graph
12.7 Invoke
- Provide request
- Execute workflow
- Read result
12.8 Exercise
- Convert project assistant to LangGraph
Â
Module 13: Agentic AI Design Patterns
13.1 Introduction
- Why patterns matter
- Reusable agent patterns
- Separation of responsibilities
13.2 Structured Output Pattern
- LLM → Schema → Validated object
13.3 Context Assembly Pattern
- Sources → Context → LLM
13.4 Memory Pattern
- Conversation → Memory → Storage → Retrieval → Agent
13.5 RAG Pattern
- Question → Retrieval → Information → LLM → Answer
13.6 Tool-Calling Pattern
- Request → Selection → Execution → Result
13.7 State Management Pattern
- Interaction → State update → Missing information → Next action
13.8 Workflow Pattern
- State + Nodes + Edges → Agent workflow
13.9 Combining Patterns
- Combine multiple patterns into capable agents
Â
Module 14: Agentic AI Architecture
14.1 Architecture
- Major components of an Agentic AI solution
14.2 Major Components
- User
- Application
- LLM
- Context
- Memory
- RAG
- State
- Tools
- Registry
- Workflow
- External systems
14.3 LLM Layer
- Request processing
- Decision making
- Structured output
- Tool selection
14.4 Context Layer
- Instructions
- History
- Retrieved information
- Tool results
- Task state
14.5 Memory Layer
- Short-term
- Long-term
- Persistent storage
- Retrieval
14.6 Knowledge Layer
- Documents
- Retrieval
- Vector database
- Relevant information
14.7 Tool Layer
- Definitions
- Catalog
- Registry
- Execution
14.8 State and Workflow Layer
- State
- Nodes
- Edges
- Execution
14.9 External Integration
- Interaction with existing software through tools
Â
Module 15: Building An Agentic AI Application
15.1 From Components to Application
- Combine course concepts
15.2 Application Components
- LLM
- Structured output
- Context
- Memory
- RAG
- State
- Tools
- Selection
- Workflow
15.3 Agent Execution Cycle
- Request → Understand → Read state/context → Retrieve → Select tool → Execute → Update state → Generate response
15.4 Workflow Design
- Required state
- Available tools
- Knowledge
- Memory
- Nodes
- Transitions
Â
Module 16: Agentic AI Capstone Project
16.1 Objective
- Design and implement an Agentic AI application demonstrating the course concepts
16.2 Requirements
- LLM
- Structured output
- Context
- Memory
- RAG
- State
- Tools
- Tool selection
- Workflow
16.3 Design
- User interaction
- Agent state
- Context
- Memory
- Knowledge/RAG
- Tools
- Workflow
16.4 Implementation
- Define problem
- Define interaction
- Define state
- Integrate LLM
- Structured responses
- Context
- Memory
- RAG
- Tools
- Tool selection
- Execution
- Workflow
- Integration
- Testing
16.5 Demonstration
- User interaction
- Decision process
- State changes
- Tool selection
- Tool execution
- Retrieval
- Memory
- Final response
- Workflow





