

26 Oct 2026 · 17m · 11 chapters

Leash Bio’s “agent sandbox” built from DNA-encoded library screening data, used to evaluate and train AI scientists. The episode focuses on a SAR (structure-activity relationship) task where agents propose up to 100 molecules, get only the target (no other labels), and iteratively test hypotheses in a pre-measured, counterfactually dense landscape.
agents can be evaluated on scientific decision-making (not just best score); better models abandon unproductive neighborhoods faster; transcripts reveal plausible medicinal-chemistry narratives and failure modes (retesting, early give-up, buying molecules that contradict SAR hypotheses).
~90,000 rollouts; “champion” model Astro 6; Sonnet 5.5 and Sol 6.1 also strong; older models perform poorly.
Ian Quigley (Leash Bio; leads work on DNA-encoded libraries, agent RL/scientific evals, and releasing paper/dataset/transcripts).
Written by AI. May contain mistakes.
Discussion of previous episode highlights and Ian's developments since.
“Yeah, so last time we talked to Ian, you were saying that you had some agents exploring a sandbox, and you were like, oh, this is just a fun idea.”
Ian explains how agents explore data environments for medicinal chemistry.
“And so the flagship problem that we spent a lot of time over the past couple months on is a structure activity relationship problem.”
Deep dive into the SAR problem and how agents identify better binding molecules.
“And then they'll go in and with this limited experimental budget, they'll test those hypotheses.”
Discussion on how different models behave and learn in the experimental environment.
“We're going to release a bunch of these environments as harbor packages and then many thousands of transcripts to go play with and see how their science is.”
Exploration of creating a game based on medicinal chemistry decision-making.
“But you'll see, yeah, I think that this ring is good, and I think that this particular nitrogen is painful or, you know, whatever.”
Explanation of SMILES notation and the models' ability to comprehend chemical structures.
“And like, so another new stupid model shows up.”
Discussion on plans for releasing new models and expanding experimental environments.
“And then around February, like a lot of other things, it became clear that they could start to actually work with chemistry in a meaningful way, which is a reason we started going in this direction.”
Learn about the plans for increasing the protein screening process at Leash Bio.
“But it's still a pretty big number of choices.”
Discover how reinforcement learning can be applied to biological challenges.
“I mean, kind of informally, it seemed like where a lot of these agents are making the best and the fastest progress is where there's instant feedback that's very scalable.”
Explore strategies for optimizing experimental budgets and decision-making.
“You can imagine it if it knows how to connect a decision at that point to a knowledge that it has, then it could learn that skill for other problems.”
Understand the integration of structural tools into the research process.
“So we are incorporating more and more structural tool calls and things like that with this as well.”

Get the gist, explore an idea or ask about something said.
On Latent Space: The AI Engineer Podcast, what are the key points of this episode?
Automatic transcript. May contain errors.
0:04Hey there, welcome to Latent Space Science. This is Brandon and RJ, joined with Ian Quigley from Leash Bio. We recorded an episode earlier this summer with Ian, where he talked about the cool things Leash was doing with DNA encoded libraries, and how they could screen millions of compounds against thousands of proteins in a high throughput way. Around this time, Ian realized that they could do fun things with this data. It essentially allows them to create like a virtual sandbox where agents can explore and make decisions in real time as if they were medicinal chemists and get instant feedback, but with like a huge amount of exploratory rollouts.
0:43Since that episode, Ian has unleashed, have developed this idea much more fully. And since then, they have, they're now releasing a paper and a data set and a blog post along with the episode that we just released. we wanted to sit down with Ian, talk a bit more about what he's done, and hear about the updates. Anyway, welcome to the podcast. Thank you, Ian. Yeah, so last time we talked to Ian, you were saying that you had some agents exploring a sandbox, and you were like, oh, this is just a fun idea. We don't know what we can do with it, but it's an interesting idea. I think you've since fleshed this out into a full environment for agents to explore, maybe do RL on.
1:26scientific reasoning. Can you talk a bit more about that? Yes. So the thing that I talked about last time was this idea that we had these large collections of screens and that they were big enough environments and counterfactually dense enough that you could take agents and drop them in there and then give them tasks and they could go do those tasks on a limited budget in this landscape that we had measured completely. And so the flagship problem that we spent a lot of time over the past couple months on is a structure activity relationship problem. And the idea there is like, okay, I've got some molecules and I know that maybe they bind to this protein that I want them to.
2:06How do I change them to make them better? This is a very common task for medicinal chemists to do. And SAR, as it's sort of abbreviated to, also includes other stuff like certain drug-like properties, does it get metabolized, all these things. We're not doing those right now. We're just doing, can we find molecules that bind better to the thing that we're interested in. And so what we do is we take an agent, like a language model, and then we say, here's a catalog that you could look at. You have a budget of 100 molecules. We're not going to tell you anything except the target and go find the best binder you can.
2:39And so different agents try different stuff. They have different search policies. They have different ways of wanting to spend their budgets. And what they'll do is they'll put out in readable language SAR hypothesis about why they think these molecules are working or not working. And then they'll go in and with this limited experimental budget, they'll test those hypotheses. And because it's all pre-measured, you can roll out a lot of these. We're up to about 90 ,000. So you started doing these on-foundation models. I think you have like a paper or a little preprint or something at this point that you can share.
3:12Do you want to share that or talk about it? Yeah, so the preprint will probably be out at the same time that this episode comes out. It is pretty ready. And what we show in there is that we create separation of agents across model families and at the levels and that kind of stuff. But another thing that's really interesting is because we have not just the results that you could use as an eval for how the agent's doing the job, we also know the results of the entire measured landscape or world. And so then you can start to interrogate how good is the agent at making scientific decisions? Because maybe it only got to like the thing that's half as good is the best thing in the entire environment.
3:51And so there's all kinds of interesting behaviors like agents that give up early, buy molecules that don't agree with their SAR hypotheses, ones that keep retesting the same molecules over and over despite having a limited budget. And also when it's good to explore versus exploit. And it turns out that more performant models are much better at abandoning kind of unproductive neighborhoods. And that was actually a really interesting surprise for us. Yeah, and so when the paper comes out, We're going to release a bunch of these environments as harbor packages and then many thousands of transcripts to go play with and see how their science is.
4:30Ian Quigley: That's super cool. So do you have a feel for why the smarter models are able to figure out that they're in a bad landscape and move or a bad part of the landscape and move? We don't know that at all yet. All we know is that they're abandoning these crappy neighborhoods more quickly. And we definitely see a progression of a more willingness to jump around overall for more performant models. But they especially abandon the lousy places fast. And then the really poor ones stick around. It's not just that they jump more. It's that actually they're figuring something out and saying, hey, this is not good.
5:05Ian Quigley: Let's get out of here. Exactly. Exactly. Yeah. And what happens with the dumber models, they'll just keep running little subtle changes on molecules that aren't ever going to go anywhere. Right? Like, oh, these two, they have a low score, but I feel good about them, and so I'm going to keep trying stuff. And then the smarter models will abandon the entire process. We're going to go somewhere else. Have you looked at the rollouts to see if it's thinking about whatever? Yeah, thinking about all kinds of stuff. You know, when we release all these transcripts, like everyone should look at, one of my favorites to do is just take large numbers of transcripts and just dump it in LLMs and just have a look at the different failure modes and stuff like that.
5:43But you'll see, yeah, I think that this ring is good, and I think that this particular nitrogen is painful or, you know, whatever. And they'll say these things, and then they're very plausible, you know, medicinal chemistry narratives. So it's pretty fun.
5:57Ian Quigley: Yeah, that's amazing. So I'm curious, have you given humans these same questions? I have to have them look and evaluate, like, you know, not a ton, but because, you know, we have a large number of them. But when we get medicinal chemists to look at it, they're like, yeah, no, those are very plausible thoughts about how to conduct this particular part of the SAR campaign. Maybe I'm thinking, could you make a game out of this? This is sort of a game, right? And then medicinal chemistry, the video game, and then you can put people in these environments and give them... No, the capture. Medicinal chemistry capture.
6:30It's your business model. I like this plan. We did do a game a little bit like this for Name That Chemist. we would have to probably boil it down to have a smaller number of building blocks. Because right now, to have a chemist go in there, you can imagine that if you're a medicinal chemist, you might have this suite of things that you might want to try over time, like put a methyl here, like move this around. And when we have these pre-measured environments, we are going to be restricted to the things that we did actually measure. And so then we would have to be asking the medicinal chemist, oh, well, you can't do whatever you want.
7:03You can just do a lot of stuff. And figure out a way. They have to know what stuff. They have to know what the stuff is, yeah. So we'd have to figure out a way to surface it to them in a meaningful way, but I kind of like where you're going with this. Yeah. You could definitely shrink it down to a smaller number of options. So that's why we should do that. What model is best? Oh, the frontier models. What are the best ones? Let's see. I was looking at the plot a minute ago. It's kind of embarrassing that I forgot already. Right now, the champion is Astro 6. Nice, nice. Not a big shock. Not a big shock.
7:35Sonnet 5.5 is actually pretty good too. Okay. Yeah. And Sol 6.1 is also pretty good. And everything 5 is just a raising pile of crap, right? Yeah. Sonnet 5 is both very expensive and not very performance. Yeah. But yeah, I think 5 will be long considered a big mistake by Anthropic. 5.5s are pretty good. Do you have Opus 5.5? We don't yet. No. That's one thing that has actually been a little infuriating, as you guys can appreciate. So when we talked last, two months ago, we started these rollouts to see what happened. And then there's been a new frontier model drop, what, like once every 11 days?
8:1611 days, yeah. Yeah, so like every time, oh, we're going to ship this, we need to drop this public stuff. And like, so another new stupid model shows up. It's like, ah.
8:25Ian Quigley: You have to ship faster than Anthropic. Yeah, yeah. Right, good luck. So yes, we are excited to put in more in here. And we also have run a large number of the open source ones as well. So we've thrown a bunch of smaller quins in there and GLMs and Kimmy and DeepSeqs and that kind of stuff. So there's a lot of these. How do they do? DeepSeq v4 Flash was pretty good. Not that bad. Yeah, maybe I should just send you guys the full chart of how things are going. Yeah, we can just put it up on the screen. Yeah, stick it up there. I can say it kind of looks a little bit like, you know, like the Arc AGI 2 plots where you've got some crappy models.
9:10Right, right. It does kind of look like that. And that's kind of why we made it like that. And then I think one thing I mentioned earlier that has been very interesting to us is about this time last summer, we had started an internal project to do supervised fine tuning on some of these language models to get them to understand smiles because none of the existing frontier models were any good at it. So like none of the anthropic or open AI models at the time could even convert smiles to non-canonical smiles very effectively.
9:43Ian Quigley: Just for non-chemists, smiles is a language that you can use, string language that you can use to describe accurately a chemical, right? Yes, yes, that's right. I think we mentioned it a little earlier when we recorded last, but it's a string and molecules can be forked or circles or both put together, right, these different things. And so a smiles is basically a graph traversal across the molecule written down into a one-dimensional string. And so you can imagine starting the graph traversal at a different point in the molecule. And so there's multiples, smiles, ways of representing the same molecule.
10:19And so it's nice to be fluent in transferring from one to the other. It's a pretty easy, there's a couple open source packages people use like RDKit to do this. But we wanted the language models to do it just because it would go faster and they weren't as good at using tools on their own back then. And nobody could do it. And then around February, like a lot of other things, it became clear that they could start to actually work with chemistry in a meaningful way, which is a reason we started going in this direction.
10:45Ian Quigley: That's really interesting because that means that it's internalizing some understanding of the physical nature of molecules. I think a little bit. Yep. These are the tasks that we're having these things do right now. They are iterative tasks where they're looking at molecules and they are learning something about those molecules to make choices to make better molecules next. And we remove the information about the molecules, like these decisions really suffer. So they're learning something. This is very interesting. Or at least they're using it. I guess that's a better... We're not changing weights here, but they're definitely using the information just to make future choices.
11:25Ian Quigley: You mentioned all these, this zoo of models, right, that you've tried. So I wanted to ask, have you just used like one of these Bayesian hyperparameter algorithms as like a deterministic baseline for your problem? We think it's too spiky of a landscape and it's very high dimensional. We don't do that, but we mostly think it's not going to work. I think it's a party line. Yeah. You plan on releasing all this? So I guess we'll put the... Wait, what are you releasing? You said you're going to have a preprint blog and then some data rollouts and everything. So we can put all this in the show notes?
12:02Is there anything else? Yeah, that's it. Yeah, I think that's the big thing. And that's probably something closer to like, I guess what I would probably say is we have built this thing where if you've got scientific agents and you want to know how they're behaving, what mistakes they might make, how they might learn from physical feedback. You know, if a new training recipe improves scientific decision making, we've got the capabilities to measure these things at scale.
12:32Ian Quigley: Yeah, that's really cool. Do you have plans for other similar problems for this same kind of thing? We do, yes. We have. Broadly, the way that we think about this is it is a lab in the loop with amortized latency. So it's like, go out, you record the thing once, and then you can have a huge number of rollouts through that thing, effectively infinite rollouts. and we are thinking hard about other types of biological or scientific questions that you could transmute into these kinds of environments. Because if you're doing conventional lab in the loop, it does take a long time. And because those things themselves have limited budgets, it's also not counterfactually dense.
13:16So you've got to keep running it and do different choices with every rollout to make the agents learn.
13:23Ian Quigley: Right, but with your multiplexed strategy, then you can just amortize. You can just amortize. So it's not quite accurate to say it's a lab in the loop of zero latency, but it's pretty close. This is the same thing that Lila's doing. Yeah. I mean, it's not the same thing, but they also do experiments. Yes. And then they use that in their rollout, but they're not doing them live. Right, right. Doing it in the rollout one step at a time offers a lot more freedom because you can choose almost anything. And here you're restricted to the number of choices that we made when we pre-measured the environment.
14:02That's definitely true. But it's still a pretty big number of choices. And then we have right now, we've screened about a thousand proteins against a couple of these chemical libraries since we started Leash. And we're going to start to grow that. I think we're going to try to get to maybe 20 of these new environments a day. That's a plan for us to try to get to the beginning of maybe 26 or 27. We're doing two a day right now. Yeah, I think we could probably get to 20 a day without too much lifting. So we're pushing. We'll see if we can do it. Wow. And so you're going to have this huge RL environment.
14:37Yeah. It seemed like the thing to do. I mean, kind of informally, it seemed like where a lot of these agents are making the best and the fastest progress is where there's instant feedback that's very scalable.
14:52Ian Quigley: Yeah. It's really hard to do that in the physical world, but we think that there's probably a handful of biological questions that you could rebuild in this way and go after them. and even at yeah and then we don't yet know if we're able to take reinforcement learning progress from these kinds of environments to move on to new biology yet but you know like we're trying we're gonna find out that's that's the obvious quote like how about how does this transfer to other biology you can imagine if you did it for some sort of covering set right that you might be able to get things in between though that you could transfer to pretty well yep yep and then And also one thing that I need to do is talk to some more decision people, because a lot of this is about how do you spend a limited experimental budget and then what can you do to do better at that?
15:44Yeah. Yeah. Beyond just medicinal chemistry, right? Just like, yeah, when do I stay? When do I go? How do I get better at that? Interesting. Yeah.
15:51Ian Quigley: You can imagine it if it knows how to connect a decision at that point to a knowledge that it has, then it could learn that skill for other problems. Yes. Yes. So we are incorporating more and more structural tool calls and things like that with this as well. So it's a pretty fun time right now. Yeah, we'll be sure to link to all that cool stuff you have coming out. And yeah, thanks for taking the time to chat. Cool, cool. Or thanks for taking the time for a follow-up chat. I think this will actually appear back-to-back with the rest of the episode. Okay, this was great. Well, thanks, guys. Always fun.
16:25Yeah, see you later.
16:31you
Watch the full show on YouTube: https://www.youtube.com/watch?v=vhPCo-8K78U