Mistral AI Agents | Full Walkthrough

From the creator

Mistral AI is one of the big AI labs providing various models including SotA LLM and embedding models, making them an ideal sole provider for retrieval tasks (such as RAG) that require both generation via LLMs and retrieval via embedding models. The Aurelio Platform provides several utility services to help AI engineers build RAG and GenAI applications faster. In this example we're going to use both of these together to create a "chat-with-video" AI pipeline. We'll see how to: 1. Take any YouTube video and transcribe it to text using Aurelio's video-to-text endpoint. 2. Use Mistral LLMs to chat with our transcribed video content. 3. Add chat history to make our AI conversational. 4. Integrate async and streaming for a better UX and improved scalability. 5. See how we can optimize response latency and costs by reducing overall token count using semantic similarity, using Aurelio's chunking endpoint and Mistral's embedding models. 📌 Code: https://github.com/aurelio-labs/cookbook/blob/main/gen-ai/agents/video-agent.ipynb 👾 Discord: https://discord.gg/c5QtDB9RAP Twitter: https://twitter.com/jamescalam LinkedIn: https://www.linkedin.com/in/jamescalam/ #aiagents #mistralai #ai #coding 00:00 Mistral AI Agent 00:47 Python Setup 01:44 Video Transcription 03:25 Agent Overview 07:03 Using Mistral 09:26 Adding Agent Chat History 11:23 Async and Streaming 17:53 Agent Token Usage 19:17 Building a Retrieval Agent 25:52 Creating a Tool for Mistral 33:40 Tool Execution Logic

Stop watching · start building
Matched to Semantic Search

Makers residency 4th edition

Your idea can be anything. At our last workshops, people built plant-based nutrition businesses, a way to measure planetary resilience, crochet headwear and a way to connect lonely people living in the same building. An asset manager went on to raise an additional £25M on their fund within nine months. The fourth workshop is a full day at KOKO with Nick Sarafa, learning to build with Claude Code. Bring the thing you keep meaning to start. We’ll bring the pizza.

◆ Fri 13 Nov 2026 ◆ KOKO, London
Makers residency 4th edition
Live event
Makers residency 4th edition
Fri 13 Nov 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.