You're doing Agentic chat history wrong | OpenAI Agents SDK

From the creator

Prompting is an essential component when working with LLMs, and Agents SDK naturally has its own way of handling various components of prompts. In this chapter, we'll examine how to utilise static and dynamic prompting, as well as how to correctly use system, user, assistant, and tool prompts to build event-based conversations, not interaction-based conversations. Then, we'll see how these come together to create advanced conversational agents that use chat history the right way. 📌 Code: https://github.com/aurelio-labs/agents-sdk-course/blob/main/chapters/01-prompting.ipynb 📖 Article: https://www.jamesbriggs.io/agents-sdk-prompting Twitter: https://twitter.com/jamescalam LinkedIn: https://www.linkedin.com/in/jamescalam/ #aiagents #openai #ai #coding #artificialintellegence #programming 00:00 OpenAI Agents SDK 00:56 Agents SDK Setup 01:56 Static Instructions 06:03 Dynamic Prompts 08:38 Rethinking Agentic Chat History 11:09 Message Types 20:25 How to Use SDK Message Types 22:09 Developer Messages 24:31 Assistant Messages 26:37 Chat History 27:53 Function Calls 31:03 Conclusion for Agents SDK Prompting

Stop watching · start building
Matched to OpenAI Agents

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
Find a job · 1 live role

Jobs in AI.
Apply now.

Apply once › get screened › meet the company

See all roles

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.