Build AI Agents with Python RAG and MCP training course

A hands-on, code-first course where you build a production-shaped agentic AI system in Python from first principles — tool-using agent loops, layered memory, agentic RAG, and MCP-based tool servers — using the same design patterns and protocols production teams are shipping right now

JBI training course London UK

"A lot in this course and suited to Python Data professionals - very fast paced but the instructor was careful to keep everyone engaged - well done Nick"

Hugh Last, Data Scientist (forensics) , May 2026

Public Courses

17/08/26 - 3 days
£2995 +VAT
28/09/26 - 3 days
£2995 +VAT
09/11/26 - 3 days
£2995 +VAT

Customised Courses

* Train a team
* Tailor content
* Flex dates
From £1200 / day
EDF logo Capita logo Sky logo NHS logo RBS logo BBC logo CISCO logo
JBI training course London UK

  • Master modern Python for agentic AI application development.
  • Build intelligent LLM-powered agents from first principles — tool calling, ReAct reasoning, and Reflection.
  • Develop production-ready conversational AI with streaming, multimodal capabilities, and context engineering.
  • Create and integrate MCP (Model Context Protocol) and A2A-compatible servers with custom AI tools.
  • Build advanced agentic RAG systems with vector databases, hybrid search, and corrective retrieval (CRAG).
  • Design multi-agent AI systems with orchestrator-worker collaboration, planning, and consensus strategies.
  • Implement episodic, semantic, and procedural AI memory, structured knowledge extraction, and adaptive retrieval for more intelligent agents.
  • Apply production engineering best practices including observability, reliability, human-in-the-loop safety, eval-driven development, and cost optimization with small language models.
  • Accelerate development using LangChain, LangGraph, CrewAI, and AutoGen while understanding their architecture and trade-offs.
  • Complete a real-world capstone project that combines Python, agentic RAG, MCP, and multi-agent AI into a deployable application.

Module 1 — Agent Core

  • Understand the message format that drives an agent (system, user, assistant, tool messages).

  • Build a tool-calling loop from first principles, implementing the ReAct reasoning pattern — schema in, action out, result back, repeat.

  • Implement a tool registry with schema validation, routing, and error handling.

  • Add safety rails (allowlists, rate limits, redaction), human-in-the-loop checkpoints, and an eval-driven evaluation harness with golden tests.

Module 2 — Working with the LLM

  • Call the LLM chat-completion API directly — message roles, parameters, function/tool-calling, and streaming.

  • Build a CLI chat loop with conversation history and a FastAPI streaming endpoint with SSE.

  • Implement session storage: in-memory first, then file-based.

  • Apply context engineering patterns that hold up in production (structured outputs, grounding).

Module 3 — Conversational AI + Multimodal

  • Build a conversational AI application that integrates the agent core, LLM calls, and prompt engineering from earlier modules.

  • Apply prompt engineering: system prompts, few-shot examples, structured outputs, and grounding.

  • Work with multimodal inputs and outputs: vision-language models, speech-to-text, text-to-speech.

  • Add guardrails: model selection, token budgeting, content filters, and confidence thresholds.

Module 4 — MCP Servers

  • Understand MCP concepts: tool discovery, schemas, and calling conventions — the emerging standard for agent-tool interoperability, alongside protocols like A2A.

  • Build a minimal MCP server in Python, then add practical tools.

  • Implement real-world tools: data lookups, queries, sensor reads.

  • Add per-tool auth scopes and structured logging for observability.

Module 5 — RAG Fundamentals

  • Design chunking strategies (size, overlap, structure-aware splits) for long documents.

  • Produce embeddings, store them in a vector index, and query effectively.

  • Apply retrieval strategies: hybrid search, metadata filters, reranking, and grounded answers with citations.

  • Run basic RAG evaluation: recall/precision on retrieval and adversarial queries — the foundation for agentic RAG in later modules.

Module 6 — Multi-Agent Systems

  • Decide when multi-agent designs are worth the latency and operational complexity.

  • Model roles (router, researcher, coder, critic) and coordination patterns (orchestrator-worker, swarm, debate) — the same underlying concepts powering frameworks like LangGraph, AutoGen, and CrewAI.

  • Share context and tools safely across agents and apply conflict resolution / consensus strategies.

Module 7 — Agent Memory + Workflows

  • Implement episodic, semantic, and procedural memory, kept separate from long-term profile or notes.

  • Apply summarisation to fit context limits; model decay and explicit "do not remember" controls.

  • Compare agentic design patterns: ReAct, Reflection, plan-and-execute, and tool routing for multi-step tasks.

Module 8 — Structured Facts

  • Use structured outputs (Pydantic models, JSON Schema) to get reliable, typed data from an LLM.

  • Build a fact extraction pipeline that decomposes text into individual claims with provenance.

  • Construct a knowledge graph from extracted entities and relationships.

  • Implement grounded QA that answers questions from the graph and cites source documents.

Module 9 — Adaptive Retrieval

  • Build a retrieval router that selects the right source (vector store, knowledge graph, keyword search) based on query type.

  • Implement query decomposition — breaking complex questions into focused sub-queries.

  • Add a self-critique loop (corrective RAG / CRAG, a form of the Reflection pattern) that evaluates retrieved documents and re-retrieves when quality is low.

  • Orchestrate multi-source retrieval — merging results from different backends with relevance scoring.

Module 10 — Production Concerns

  • Add distributed tracing and structured logging so every tool call is attributable and debuggable.

  • Define metrics and dashboards that surface latency, errors, and dependency health.

  • Implement reliability (retries, timeouts, circuit breakers, fallbacks) and cost controls (caching, batching, token budgets, small language models for narrow tasks).

  • Outline deployment: containers, running MCP alongside HTTP APIs, and config per environment.

Module 11 — LangChain with Python

  • Understand what LangChain provides vs building from scratch: chains, agents, tools, memory, and output parsers.

  • Rewrite a hand-rolled agent loop using LangChain components and compare the trade-offs against LangGraph, CrewAI, and AutoGen.

  • Connect LangChain to an MCP server and RAG pipeline built in earlier modules.

Module 12 — Capstone Project

  • Build a full agentic application: chat UI or CLI, RAG, MCP tools, and a coordinated multi-agent path for complex questions, deployed behind a simple Streamlit or FastAPI interface.

  • Write demo scenarios and integration tests that guard against regressions.

  • Document extension points for adding tools, data sources, and policies — leave with a working, demonstrable system to show your organisation.

JBI training course London UK

This course is designed for technical professionals who want to move beyond prompt experimentation and build production-ready agentic AI systems.

Ideal for:

  • Software developers comfortable with basic Python
  • AI/ML engineers building LLM-powered applications
  • Backend engineers integrating AI into products
  • Technical architects designing AI-driven systems
  • Startup founders and product engineers shipping AI features
  • Data professionals expanding into agentic workflows

If you can write basic Python and want to build systems that use tools, memory, RAG, and multi-agent coordination—this course is for you.

 

 


5 star

4.8 out of 5 average

"A lot in this course and suited to Python Data professionals - very fast paced but the instructor was careful to keep everyone engaged - well done Nick"

Hugh Last, Data Scientist (forensics) , May 2026



 

 

JBI training course London UK

Certification


Every delegate will be entitled to a certificate of achievement on completion of the course.

If you are missing your certificate - please use the link below to apply - you can also use this link to sign up for the JBI Training newsletter to receive technology tips directly from our instructors - Analytics, AI, ML, DevOps, Web, Backend and Security.
 



Most agentic AI courses teach concepts. This one builds a system. Over three days you design and ship a complete agentic application in Python — a tool-using agent with stateful memory, a RAG pipeline that retrieves and cites real knowledge, an MCP server exposing practical tools with scoped permissions and audit logging, and a multi-agent workflow where a router, researcher, and critic coordinate to plan and verify tasks.

The syllabus is built around the decisions that matter in production: why chunking strategy breaks most RAG implementations, why vague tool descriptions produce unreliable agent behaviour, when multi-agent coordination helps versus just adding latency and complexity. You will implement async agent loops with circuit breakers and fallbacks, hybrid retrieval with reranking, per-tool authentication scopes in MCP, and an evaluation harness with golden tests and deterministic mocks — not as abstract exercises but as components of a working system you finish and can extend.

The course is for software developers and backend engineers comfortable with Python who want to build production-grade agentic systems, not just experiment with prompts. Prior AI or ML experience is not required — what matters is that you can write Python and want to ship something real.

You will build a production-style agentic AI application in Python. During the course you will implement a tool-using AI agent, create a Retrieval-Augmented Generation (RAG) pipeline, develop an MCP (Model Context Protocol) server, add memory and multi-agent workflows, and complete a capstone project that combines these components into a working system
The course assumes you are comfortable writing basic Python code. It is intended for developers rather than complete programming beginners. Previous experience with large language models, RAG or MCP is helpful but not required, as these concepts are introduced during the course
You should understand Python fundamentals such as variables, functions, classes, modules and basic package management. The course focuses on applying Python to build AI systems rather than teaching the language from scratch.
An agentic AI system is an application that can reason about tasks, use external tools, retrieve information, maintain memory and complete multi-step workflows with limited human intervention. Unlike a simple chatbot, an AI agent can plan, execute actions and coordinate multiple components to solve more complex problems
Retrieval-Augmented Generation (RAG) is an AI architecture that combines a large language model (LLM) with an external knowledge source. Before generating a response, the AI retrieves relevant information from documents, databases or other content and uses that information as context. Unlike a standalone LLM, which relies primarily on its training data, a RAG system can access current or organisation-specific information. This helps improve factual accuracy, reduces hallucinations and allows answers to be based on your own documents rather than only the model's existing knowledge. On this course, you will learn how to build a complete RAG pipeline in Python, including document ingestion, embeddings, vector search, retrieval strategies and integrating retrieved context into AI agent workflows.
Many organisations need AI systems to answer questions using internal documentation, policies, technical manuals or knowledge bases that are not part of a language model's training data. Retrieval-Augmented Generation (RAG) enables AI applications to retrieve relevant information from these sources before generating a response. This makes RAG a common approach for enterprise search, knowledge assistants, customer support, compliance and document question-answering systems where accuracy and access to up-to-date information are important.
Model Context Protocol (MCP) is an open standard for connecting AI models to external tools, APIs, databases and business systems. On this course you will build an MCP server, define tool schemas and permissions, and enable AI agents to interact safely with external services.
RAG and MCP solve different problems. RAG helps an AI retrieve relevant information before answering questions. MCP provides a standard way for AI models to access tools, APIs and external systems. Many modern AI applications use both: RAG for knowledge retrieval and MCP for tool integration.
Yes. The course covers common multi-agent architectures, including router, researcher, critic and executor patterns. You'll explore how agents communicate, share context and coordinate work on larger tasks.
Yes. In addition to building AI agents, the course covers practical engineering topics including testing, evaluation, logging, retries, caching, observability, deployment considerations and safety controls that are important when moving AI applications towards production.
The course focuses on Python-based AI development and covers concepts including: Retrieval-Augmented Generation (RAG) Model Context Protocol (MCP) Vector embeddings and retrieval Tool calling Multi-agent workflows FastAPI Async Python Evaluation and testing patterns The emphasis is on architectural patterns and practical implementation rather than a single vendor-specific framework.
Prompt design is covered where it supports agent behaviour and structured outputs, but the primary focus is on building complete AI systems that combine prompts with memory, retrieval, tools, orchestration and software engineering practices.
The techniques covered can be applied to applications such as: Enterprise AI assistants Internal knowledge assistants Customer support systems AI research assistants Workflow automation tools Document search and question-answering systems AI applications that interact with APIs and business systems The capstone project provides a reusable foundation that can be extended for your own projects.
The course is primarily hands-on. Participants spend their time building and extending working Python applications rather than only studying AI concepts. The objective is to understand how production-style agentic AI systems are designed and implemented in practice
Traditional chatbot courses usually focus on conversational interfaces. This course goes further by teaching how to build AI agents that can retrieve knowledge, use external tools, maintain memory, coordinate multiple agents and execute multi-step workflows. These capabilities are increasingly used in modern enterprise AI systems.

CONTACT


+44 (0)20 8446 7555

enquiries@jbinternational.co.uk

 

Copyright © 2026 JBI Training. All Rights Reserved.
JB International Training Ltd  -  Company Registration Number: 08458005
Registered Address: Wohl Enterprise Hub, 2B Redbourne Avenue, London, N3 2BS

Modern Slavery Statement & Corporate Policies | Terms & Conditions | Contact Us

POPULAR

AI training courses                                                                        CoPilot training course

Threat modelling training course   Python for data analysts training course

Power BI training course                                   Machine Learning training course

Spring Boot Microservices training course              Terraform training course

Data Storytelling training course                                               C++ training course

Power Automate training course                               Clean Code training course