AI Engineering with Python & LangChain
HOT COURSE
Certificate of Completion by Code.Hub
This comprehensive program equips engineers with the skills to design, build, evaluate, and deploy production-grade AI applications. Covering LLM orchestration, RAG architectures, agentic systems, model evaluation, fine-tuning, and cloud deployment, the course bridges experimentation and enterprise implementation. Participants gain practical expertise in transforming large language models into reliable, scalable, and maintainable AI systems.
By the end of this module, participants will be able to design and implement end-to-end LLM-powered applications using LangChain and LangGraph. More specific, participants will be able to:
- Build advanced Retrieval-Augmented Generation (RAG) systems with vector databases and knowledge graphs
- Engineer stateful, tool-enabled, multi-agent architectures with orchestration logic
- Apply advanced prompt engineering, model control, and multimodal processing techniques
- Evaluate, benchmark, and improve model reliability using structured evaluation pipelines
- Fine-tune and integrate open-source models into production workflows
- Deploy AI applications using cloud-native architectures and MLOps best practices
Python Foundations for AI Engineering
Environment Setup
- Setting up Virtual Environments (venvs)
- Create python projects using uv
- Managing dependencies
- Exploring libraries
Structuring Code
- Functions and Classes
- Strong Typed extensions
- Pydantic & @dataclasses
Logging and Testing
- Implementing basic and configured logging
- Unit and Integration testing
LLM Application Development Foundations
Introduction to LangChain
- Exploring different models & clients (OpenAI, AzureOpenAI, Groq, Local)
- Connecting to models (local & cloud)
- .env file configuration
- Introduction to LangChain Expression Language (LCEL)
- Building a simple chain with Prompts and Models
Working with Documents: Loaders & Splitters
- Loading content from Text/PDF sources
- Understanding LangChain Document structure
- Text splitters and splitting strategies
Embeddings & Vector Stores
- Deep dive into embeddings
- Creating embeddings
Building a RAG System with Chroma
- Understanding embeddings in depth
- Using ChromaDB as local vector store
- Creating and storing embeddings from documents
Advanced Retrieval Strategies
- Beyond similarity search
- MMR & Self-Query retrievers
- Building advanced RAG chains
Agentic Systems with LangGraph
Introduction to LangGraph
- State, Nodes, Edges
- Building a linear graph
- Conditional logic
- Graph with AI integration
Implementing Agentic Tools
- Defining tools with @tool decorator
- LLM tool calling mechanics
- Testing tools in isolation
Managing State & Memory
- Conversational loops
- Using graph state
- Re-entrancy concepts
Persistence with Checkpointers
- Persistent state importance
- LangGraph Checkpointers
- Using MemorySaver
Composable Agents
- Agents as tools concept
- Designing worker agents
- Packaging agents as tools
Recursive & Hierarchical Agents
- Manager agent delegation
- Recursive workflows
- Problem decomposition
Asynchronous Flow for Performance
- Sync vs Async concepts
- Async methods in LangChain
- Async LangGraph execution
Observability & Knowledge Systems
Introduction to LangSmith
- Overview of LangSmith platform
Introduction to Knowledge Graphs
- KG concepts (Nodes, Relationships)
- Neo4j & Cypher
- Populating a simple KG
LangChain & Knowledge Graph Integration
- Text-to-Cypher
- KG-RAG vs Vector-RAG
- KG-based QA system
Application Interfaces
Streamlit Core Concepts
- Building UI for LangChain
- Interactive chat layouts
Conversational Interfaces with Chainlit
- Chat-first framework
- Layout & element management
- Chainlit vs Streamlit comparison
Advanced UI & Feedback Loop
- User feedback mechanisms
- Capturing feedback
- Handling file uploads for RAG
Interactive Chat Layout
- Persistent chat with gr.ChatInterface
- Connecting UI to LangGraph backend
- Managing state in UI
Protocols, Advanced Tooling & Model Control
Introduction to MCP
- MCP architecture
- Consuming MCP in LangChain
- Building first MCP server
Advanced Agent Tools
- Structured tool wrappers
- Async tools
- Error handling
Tool-Based Modality Switching
- Multi-modal agent design
- Router node in LangGraph
- Modality switching logic
Advanced Prompt Engineering
- OpenAI parameters (temperature, top_p)
- System roles
- Chain-of-Thought patterns
Managing Complex Model I/O
- Consistent prompt formats
- Output-to-input chaining
- Output parsing & validation
Handling Multimodal Inputs
- Vision, audio models
- Processing image, PDF, audio inputs
Evaluation & Model Optimization
Evaluation Theory & Dataset Creation
- LLM evaluation metrics
- Designing evaluation datasets
Practical Evaluation with LangChain
- Evaluation chains
- Automated evaluation pipeline
- Result analysis
Additional Evaluation Strategies
- Hallucination testing
- Anti-hallucination strategies
Model Ecosystem & Fine-Tuning
The World of Hugging Face
- HF Hub & libraries
- Speech-to-Text use cases
Fine-Tuning
- Why & when to fine-tune
- Preparing datasets
Model Training Loop
- Trainer API setup
- Training configuration
- Saving model artifacts
Evaluating Fine-Tuned Models
- Qualitative vs Quantitative evaluation
- BLEU/ROUGE metrics
- Human-in-the-loop evaluation
Integrating Small & Fine-Tuned Models
- HF Inference API
- LangChain wrapper
- SLM in LangGraph workflow
Cloud Deployment & MLOps in Azure
Azure Functions
- Serverless concepts
- HTTP Trigger endpoint
- Additional triggers & data binding
- Deploying LangChain as web API
Azure AI Search
- From keywords to vectors
- Search architecture
- Index, indexer, pipeline
Professional Project Setup & MLOps
- Project goal tracking
- Git workflow
- CI/CD with GitHub Actions
Introduction to MCP & Azure ML
- AML Workspace setup
- Managing data & model assets
Production Pipelines & Compliance
- Azure-ready ML pipelines with MCP
- Responsible AI compliance
- Monitoring deployed pipelines
Azure AI Studio & Prompt Flow
- Platform overview
- Building visual Prompt Flows
- Integrating LLMs & tools
Advanced Prompt Flow
- Python tools in flows
- A/B testing variants
- Dynamic inputs
Deployment & Evaluation with Prompt Flow
- Built-in evaluation tools
- Model hosting options
- Managed endpoint deployment
- Roles: AI Engineers, Software Engineers, Solution Architects, Technical Leads
- Seniority: Junior to Senior Professionals
- Solid Python foundations
- Beneficial but not mandatory
- Understanding of APIs and RESTful services
- Familiarity with JSON and structured data handling
- Basic knowledge of machine learning and LLM concepts
- Experience with Git and software development workflows
- Cloud fundamentals
Sessions can be delivered via the following formats:
- Live Online – Interactive virtual sessions via video conferencing
- On-Site – At your organization’s premises
- In-Person – At Code.Hub’s training center
- Hybrid – A combination of online and in-person sessions

Interested for

