Learn what an AI agent actually is, and build one from scratch in plain Python: your own agent harness, the loop that turns a language model into something that acts. Then rebuild it on the OpenAI Agents SDK, so you know exactly what the framework is doing for you. An 8-hour, hands-on course for Python-capable finance and tech professionals.
Along the way you learn, and apply, lab by lab, the patterns that matter most: tool calling, the agent loop, reasoning (CoT and ReAct), memory, agentic RAG (with LlamaIndex), and multi-agent handoffs. You finish with three deep-dive builds on real finance workflows: a Morning Briefing Desk (Espresso), a Financial News Bot (Hot Take), and an Earnings Season Watchtower (Harvest).
This is a build-from-scratch engineering course on finance use cases. Thirty seconds of honesty saves you a refund request.
Every outcome maps to a lab you complete: starter notebook in, working system out.
The same pedagogy used in corporate training rooms at financial institutions, proven on people who bill by the hour.
The agent loop, tool calling, and ReAct are each hand-built on the raw Responses API before the SDK version. You'll never wonder what Runner.run() is doing.
Every capability is introduced by first showing the failure it fixes: a hallucinated price, a stale figure, a lost conversation. You learn why, not just how.
Earnings-call summaries, live quotes and news, annual-report Q&A, portfolio rebalancing, morning briefings: workflows you recognize from the desk.
Labs extend earlier labs. Each one picks up where the last stopped, so the code you write in chapter 1 is still with you in the deep dives at the end.
Each chapter ships a concept lesson, Colab-ready labs, and a build that carries into the next chapter. Here is what each one covers.
Start at the foundations: what a large language model actually is, what it can and cannot do, and how you talk to one through an API. You leave able to make your own calls, read what a call costs you, and get clean structured data back instead of loose prose.
Key concepts: what “large”, “language” and “model” each mean, reasoning vs non-reasoning models, tokens and context windows, open-source vs proprietary models, LLM APIs, structured outputs.
2 labs: your first calls to several LLM providers, a finance summarization task, and typed JSON you can pass downstream.
Where a raw model breaks on finance work, and the four ways out: better prompting, fine-tuning, retrieval, or an agent. You watch each failure happen for yourself, so you can recognize it in the wild and know which fix belongs to which problem.
Key concepts: the four core LLM limitations, hallucination, prompt engineering (zero-, one- and few-shot), fine-tuning, RAG, the bridge to agents.
2 labs: make the limitations happen on purpose, then fix them with grounding and typed extraction.
What actually separates a single prompt from an agent, and the parts every agent is built from. This is where tools enter the picture: the moment a model stops guessing at an answer and starts going to fetch it.
Key concepts: prompting vs agentic workflows, the autonomy spectrum, the anatomy of an agent (planning, memory, tools, environment, reflection), tool calling.
1 lab: the same finance question answered without an agent and with one, using tools on live data.
The map of agent design patterns, then the engine sitting under all of them: the loop. You build that loop yourself before you meet the framework that hides it, so nothing the OpenAI Agents SDK does later feels like magic.
Key concepts: the design-pattern taxonomy, tool use and agent memory, deterministic flows (routing, handoffs, guardrails), the agent loop, the OpenAI Agents SDK.
3 labs: build your own agent harness, rebuild the same agent on the SDK, then extend it with a set of tools.
How to make an agent reason before it acts, and why a reasoning trace you can actually read matters in a regulated industry. Built by hand first, then the same agent on the SDK.
Key concepts: Chain-of-Thought prompting, ReAct (thought, action, observation), reasoning traces you can audit.
2 labs: a ReAct agent from scratch, then the same agent on the SDK.
An agent that forgets is useless for anything you do more than once. You learn what kinds of memory an agent can have, and give one a memory that survives from session to session.
Key concepts: working memory, long-term memory (procedural, episodic, semantic), keeping state across runs, not just across turns.
1 lab: a memory-backed assistant for a recurring portfolio task.
How to put your own documents within an agent's reach and answer questions with the sources attached. Then the step that makes it agentic: letting the agent decide which source to open in the first place.
Key concepts: chunking, embeddings and similarity search, RAG pipelines, answers grounded in your documents with sources attached, agentic retrieval.
2 labs: a grounded Q&A over one filing, then an agentic version that routes across two.
When one agent should become several, and the two ways to wire them together. You run the same finance question through each approach and see for yourself where each one fits.
Key concepts: why more than one agent (context isolation, specialization), handoffs vs agents as tools, routing and parallel calls.
1 lab: one finance question run through each orchestration pattern, side by side.
The question that saves the most money is whether you needed an agent at all. A straight look at where simple beats clever, and what every extra layer of autonomy costs you in latency, spend and reliability.
Key concepts: the autonomy vs complexity spectrum, workflows for consistency vs agents for flexibility, cost and latency against reliability and accuracy.
Takeaway: a decision framework you can apply to your own use cases.
Three end-to-end builds that put the whole course together on real finance workflows: a Morning Briefing Desk (Espresso), a Financial News Bot (Hot Take) and an Earnings Season Watchtower (Harvest). Full details below.
Not demos, but complete, inspectable systems, each on a different orchestration pattern, each on a different finance workflow.
A pre-market briefing built on live yfinance data. One orchestrator drives specialist agents as tools, returns a typed structured output, and every run is traced end to end so you can see which agent did what. No memory by design: a clean look at orchestration alone.
A news agent whose output is scored by a second agent acting as judge, with the critique fed back for a revision pass: the quality pattern that turns "the model said something plausible" into "the output cleared a bar you defined."
A deterministic chain across earnings coverage, where each step's validated output becomes the next step's input, showing when a fixed workflow beats an autonomous agent on reliability and cost.
Hanane Dupouy is a finance-AI practitioner and corporate trainer, and co-author of the Packt book Building AI Agents for Finance. Hanane has taught these exact patterns to engineering teams inside international firms, and built this course the way those workshops run: show the limitation first, hand-build the mechanism second, adopt the framework third, always on finance data.
Be first to know when it opens. Backed by Udemy's 30-day refund policy.
Start with a single API call. Finish with a multi-agent finance system you built yourself.