# Agents need to learn from context and recover from errors

Markdown copy of https://realalpha.app/s/agents-need-to-learn-from-context-and-recover-from-errors/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Ioannis Antonoglou](https://realalpha.app/builders/ioannis-antonoglou/) · Ioannis Antonoglou is a founding engineer at DeepMind and co-founder of ReflectionAI. · Helped build AlphaGo, AlphaZero and MuZero at DeepMind, then co-founded open-weight lab Reflection AI.
- Host: Stephanie Zhan · Sequoia Capital
- Host: [Sonya Huang](https://realalpha.app/people/sonya-huang/) · Partner, Sequoia Capital · Works with OpenAI and Anthropic; co-wrote Sequoia's essay on generative AI.
- Show: Training Data
- Episode: [From AlphaGo to AGI ft ReflectionAI Founder Ioannis Antonoglou](https://realalpha.app/v/6CMCkeSU9FI/), Jan 28, 2025
- Moment: 40:23 to 42:50 of the episode (2 min), playing on https://realalpha.app/s/agents-need-to-learn-from-context-and-recover-from-errors/; the episode from there: https://realalpha.app/v/6CMCkeSU9FI/?t=2423

## Quote

> “the best way to achieve reliability is just like ensure that this model somehow know how to **return from their mistakes**”
> — [Ioannis Antonoglou](https://realalpha.app/builders/ioannis-antonoglou/) at [42:11](https://realalpha.app/v/6CMCkeSU9FI/?t=2531) · Training Data

## Takeaways

1. In-context learning helps agents adapt from a few examples.
2. Agents can learn to use new tools on the fly.
3. Reliability depends on recognizing and correcting mistakes.

## About this segment

Ioannis Antonoglou highlights in-context learning as a way for models to adapt to new tasks and tools. He says reliable systems also need to recognize and correct their mistakes.

From “From AlphaGo to AGI ft ReflectionAI Founder Ioannis Antonoglou”, Jan 28, 2025. [Watch the full episode](https://realalpha.app/v/6CMCkeSU9FI/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[40:25](https://realalpha.app/v/6CMCkeSU9FI/?t=2425) Can you share a little bit about maybe some of these areas that you think the whole field needs to solve that you are most excited about to help us unlock this vision of real? Getting to the AI agents that we want. Yeah. I mean, I'll just like also add another one to the list. So I feel like another major challenge is like how do we improve the in-context learning capabilities of these models? Or like, you know, how do we make sure that like these systems can learn on the fly and how they can adapt to new context like quickly?

[41:01](https://realalpha.app/v/6CMCkeSU9FI/?t=2461) So this is like another thing that I think is going to be really important. It's going to happen in the next few years, a couple of years, actually. Yanis, what's the term that you used for that? In context learning? In context learning. In context learning, yeah. So it's the idea that a system can actually learn how to do a new task with like few-shot prompting. Like it kind of like sees a few examples.

[41:25](https://realalpha.app/v/6CMCkeSU9FI/?t=2485) And on the fly, it kind of like learns how to adapt to the new environment. it learns how to use the the the new tools that were provided to it or like uh it's kind of like learns it's it's not just all the knowledge it is stored in swates but like it can also like acquire new load knowledge by just like interacting with the real world interacting with the environment so i think that this is like another um place where uh there is a lot of work happening at moment and uh gonna have like amazing progress there in the next couple of years and i'm really excited about that so yeah i mean uh to recap i think that like planning is important um you know in-context learning is important and you know reliability so the best way to achieve reliability is just like ensure that this model somehow know how to return from their mistakes so if they just

[42:21](https://realalpha.app/v/6CMCkeSU9FI/?t=2541) like made a mistake somewhere they can just like see that and they're like okay you know i made a mistake i'll just like work for it the way that uh humans you know make mistakes all the time but like we you know you can correct for them so these are like the three areas which are i'm really i'm really excited to see progress on now that you've kind of embarked on your own entrepreneurial journey uh how do you think about the areas where startups can compete against the the big research
