Episode 027 · December 1, 2026 · 47:58

Why You Shouldn't Train Your Own Model

Devansh joins Dan to explain why better organized data and agent coordination can matter more than training a custom model. They explore legal discovery, shared swarm memory, human oversight, and the open challenges of running agents at scale.

0:00 −47:58

Devansh is the co-founder and head of AI at Irys, a legal AI platform, where he builds reasoning and retrieval systems for legal work. He is also an AI researcher and the writer behind Artificial Intelligence Made Simple, a newsletter covering AI infrastructure, reasoning, and applied machine learning.

Most companies should not train their own models to inject domain knowledge, Devansh argues. Devansh says changing model weights can affect capabilities in unpredictable ways, while many tasks can be addressed with better access to data and a memory system around an existing model. He makes an exception for specialized constraints, such as fitting a model to particular hardware after distillation.

At Irys, the challenge is not just retrieving a passage but knowing what to search for in the first place. Legal discovery can involve thousands of files, including long depositions and obscure video footage, where a seemingly irrelevant file may contain a consequential fact. Devansh describes agents that explore such collections and help human experts inspect and steer the reasoning, rather than simply accepting a polished answer.

Agent swarms can explore a large collection in parallel, but coordinating them introduces its own problems. Devansh says agents can waste tokens rereading material known elsewhere in the swarm, while context compaction can lose important instructions. Irys’s open-source Stateful Swarms project experiments with a persistent shared state; he reports that its approach improved a Gemini Flash model’s score on Harvey’s legal agent benchmark without changing the model itself.

Swarms are not useful for every task, Devansh cautions, particularly work that must proceed in a strict sequence. He and Dan discuss how model reliability and behavioral variance matter alongside intelligence and price, and why choosing between a powerful orchestrator and many cheaper models remains an open question. Devansh also prefers API access for much of his work, citing the operational burden of deploying open-weight models.

For teams organizing their own data, Devansh recommends understandable file and directory names, version control, and context maps that show agents where to look. Humans should maintain essential information and be able to inspect and redirect agent reasoning, especially in regulated work. He closes with the open problems of maintaining shared reasoning state economically, a proposed tiered approach to cybersecurity monitoring, and his interest in latent-space reasoning.

The harness, the model, your system doesn't know the unknown unknowns.

— Devansh

You have to understand the nature of your problem before you use the tool.

— Devansh

Instead of letting your model be the place where all of the reasoning state is stored, you externalize everything.

— Devansh

Whatever you absolutely have to get done, do yourself. Whatever you can, let the agent annotate.

— Devansh

There's also the danger of building the thing you don't understand too much.

— Dan Gerlanc
Irys
Legal AI platform where Devansh builds reasoning and retrieval systems.
Training Your Own Models is an Incredibly Stupid Idea
Devansh's article questioning the case for custom model training.
Stateful Swarms
Irys's open-source work on coordinating agents through shared state.
Harvey LAB
Legal agent benchmark used in the Stateful Swarms experiment.
Antigravity
Google's agentic development platform, discussed in connection with swarms.
Plannotator
Agent plan review tool mentioned while discussing shared message boards.
blackboard
Shared knowledge architecture used to explain the swarm's common state.
distillation
Model compression technique discussed as a possible reason for training.
Transcript

When an AI system needs to work with your company’s data, should you train a model or focus on helping agents find and reason over the right information? Today’s guest argues that for most companies, the bigger opportunity is in how they organize their data and coordinate agents.

Welcome to Agents and Engineers. I’m your host, Dan Gerlanc. Today’s guest is Devansh. Devansh is the co-founder and head of AI at Irys,

Where he builds reasoning and retrieval systems for legal and regulated industries. He’s also an AI researcher and the writer behind the newsletter Artificial Intelligence Made Simple. In this episode, we also discuss

Why training a model on domain-specific data can have unintended effects. How agent swarms can explore large collections of legal documents and share what they learn. And how to organize data for agents and keep human experts involved in reviewing their reasoning. Enjoy the show.

Devansh, great to have you on today. Welcome to the show.
Thank you for having me, man. Very excited to speak.
Yeah, glad to uh have you back in the States. You’re you’re in New York these days, right?
Yes, sir.
So you have a recent article, training your own models is an incredibly stupid idea. Why is training your models so stupid?
So I think what I was trying to explain through that is uh when you really think about AI research, uh a lot of like the train your own model uh philosophy comes from really old school machine learning where you had small models and you were trying to accomplish one specific task, whether it’s forecasting, whether it’s um classification, some kind of basic small generations or summarizations, etc. Um

You were

always training your own model or you had or you had nothing. Yeah. Yeah. Yeah.

Yes. You You were always training your own models, plus

also the simple fact that um those models themselves were really small and the tasks were really well defined. So you could have a meaningful error function that could help you quantify how off you were and help you iteratively train over time. And even then you had all kinds of a mess because even with simple classification you were looking at precision versus recall, you weren’t sure whether these metrics always aligned.

so there were already issues, but it was still reasonable to assume that you could get better and you could track your progress. With new language models, um, first off, like the way you score them is perplexity or you have these YB benchmarks. So it doesn’t you don’t actually know if your system is working or not. You don’t you can’t even know if me training on one domain will mess up something else that’s important to the model because the neural network weights encode so many different kinds of relationships.

Um and all of this essentially creates an ecosystem where you think in reality you’re going to spend a bunch of money and you you’ll train a model and I let’s say I was we were talking about cybersecurity. I get a model that’s very good with cybersecurity suddenly, but it’s not going to get worse with anything else. In reality, what happens is um you end up training a model, it does a you keep training it nonstop and eventually um

you think you got it very good at specific tasks in cybersecurity, but suddenly it’s forgotten how to read a language or output meaningful text, um, or it randomly messes up scripts, which are all things that have happened as when they try to do domain specific training. Um and that creates all kinds of issues, you know. A great example of that is a little bit earlier on, um in the AI race when the models are still a bit weaker, but illustratively, when Google first

like Google released Gemini. Um, they were trying to basically really align it for safety reasons. Um so in their safety alignment it went so off that the somebody’s like I’m a 17 year old and I would like to r learn C and they gave a C plus plus command in the type safety conversation of C plus plus because they were trying to align it to be safe and like don’t output racist stuff or whatever.

It said, Hey, this this aspect of C plus plus is not acceptable to a seventeen year old. So

Ha ha.
we are not going to show this to anybody. And like you know, because like you had these m concepts of safety get mangled from two very different spaces. But that is what

What what people have

been saying for a long time to stay away from C. It’s not safe for your mind.

Yeah, I guess Google

Not say not safe for the kids. So stuff like that is where when it comes to large language models or even SLMs, which are still relatively large models with multi um capabilities, you’re just not going to be able to reliably inject domain knowledge into them. There just is no way.

Um, empirically there has been not been a single and this is not me exaggerating, like there isn’t a single AI researcher out there that you can go to and say, Okay, I will give you this much data, can you guarantee that this data gets encoded into my system m model weights without disturbing any other capabilities? Or even if it is disturbing, tell me what it will disturb. We don’t know, nobody knows. And that’s why I think like there’s no point of doing it. Um, if you want to be able to reason over your enterprise data, you want to be able to reason over a domain better.

There are just much safer ways you can accomplish the same task.

So what what are those safer ways or what where should people be spending their energy instead of training models?

It’s you know, the old a adage about data um incidentally becomes more important with harnesses and agents nonetheless. You know, now we’re starting to see the rise of general purpose model harnesses. Uh and they work great across tasks. The issue with the harness is always will it be able to um find the context it needs to find? And I think if you have a lot of effort time and energy, that’s what I would spend all of your time on.

Build context maps, clean your data, cleaning data in the non-traditional sense of not engineering features or whatever, but naming files, naming uh like structuring your repositories so that um, you know, like imagine if somebody had no context and they had to find files, a file somewhere. How like if you could you structure your repository in a way that they could just naturally take a few clicks and figure out where to find that file and find where the information would be encoded. Um

Things like that become really important. With iris, what we’re doing is taking that a step further because uh we’re handling enterprise data at large. You don’t want files to be overwritten by a harness. You don’t want uh data to be messed up. Uh so building in access control so that if I query a harness and I’m a junior employee, I can only get access to certain data. Senior employee with the same harness and the same data can get much more detailed answers because they have many more access.

access controls, you know, make sure your harness doesn’t delete anything, rewrite anything. These are all the next frontiers. And if you just focus on that, plus like for us it’s simulations, simil figuring out other stuff. When you don’t know in your query what you need, when it’s not explicitly specified, can I think about what I need to pull out from your data set? Can I adaptively change my plan? Those are all the frontiers that will give you much better results than anything else.

So it’s it sounds like a lot of these are really moving into search problems, not I guess right. I mean not that it’s it’s almost like saying everything can be classified as a graph problem, but but do you think a lot of the value is getting back to how do we better do search with agents?

I think there’s two ways to see it. Um there is a class of people who should just focus on better search with agents. Um and do this. There’s a second part which is knowing what to search. Increasingly for complex knowledge work, the question isn’t being able to retrieve the right passage or it’s like knowing what would be right. If I gave you a big dump of documents and I say, help me draft a legal defense strategy.

Nothing in my question helps you know what to search in your corpus, right? Based on the how the corpus changes, based on the specifics of your case, your search is different. So knowing what to search, how to search, how to organize it, and how do you bring in the human expert? Because we work a lot with regulated industries. What we have to do is make sure that instead of the AI giving a perfect answer, the AI needs to give an answer that a person can trust. So that as the person is working through it.

as the person submitting this to that boss, to their client, to the jury, uh to them to that patient or their doctor or whatever else. Nobody can sue them for malpractice. Nobody can say, you weren’t involved in that process. So how do you inspect large corpuses, change, bring people in? I think that is as much of a problem as anything else.

So your your company Iris where you’re CTO tell me or tell listeners for who don’t know about what you guys do a bit more about the kind of problems you solve.

sure. So um head of AI, uh s at Iris. Would we we started with legal where it was essentially um what I’m describing to you right now, that ChatGPT, even back then, if you give it exactly what to draft, it can actually draft really well. You attach a few word documents, you say look here, look here, look here, give me this. ChatGPT does that really well.

Now with reasoning models, they’re getting very proficient, even if you attach a few documents and you don’t tell it, they can figure out what the best strategy is to do it. But let’s say I have a million like like we have had people upload ten thousand files, up more than a terabyte of documents uploaded onto our system because on a discovery like there was a lawsuit and they’re like uploading videos with like three hour long depositions of people, their cross examinations, etcetera and this

goes on seven, eight, ten years. Um, so it like that’s a huge, huge corpus of data. And even like the if for legal, for example, um, they were for that building they were showing like video cameras footage of the parking lots to as to establish that this uh building was there because you know in legal you’ll often just dump your opposition with a lot of raw data so that discovery process becomes difficult. Um so

It could be like 10

years of emails, right? Plus all of this. Right. Yeah. Yeah. Yeah. Yeah.

Like e ev at le emails you can at least understand what the relevance is. What is the

relevance of giving me parking lot video data? And you you’re not telling me this parking lot video data. This is just some randomly labeled video file. So I don’t know if this is a deposition

Yeah. Right.

or if this is a completely random video data, if this is actually the video of somebody coming to a parking lot, but it’s going to be important because you step out and you can see the behavior in some way. Like you don’t know this until you watch it.

So you have to ingest

Right.

all of this context at a scale that humans typically not. And then if you try to run a harness on this, for example, or you try to run an agent, like draft for defense strategy, what happens with traditional systems is they will basically try to pull some things out, like, in their own mind, they’ll say, Okay, let me try to understand this, let me try to understand that. And then they latch onto an idea and then they’ll double triple down on that. They’ll say this is the strategy I’ll pick, and they’ll try to

cherry pick everything according to the strategy. And if you’ve picked a reasonably good strategy, that’s great. But you don’t know if this is the best strategy. You don’t know if you’re misapplying the strategy given some facts of the context. The harness, the model, your system doesn’t know the unknown unknowns. And it doesn’t know how to discover that. It doesn’t know how to think about what it doesn’t know and one like establish does it not know the fact because it doesn’t exist in your corpus or does it not know the fact because um it just hasn’t found it?

And that kind of metacognition is where for a lot of high-end knowledge work, you regulated in specially regulated industries where mistakes are very costly, AI completely fails. You cannot, um, like you know, you need to figure out when you’re trying to strategize, when you’re trying to figure this out. Um, that’s pretty much all of our research. This is what it focuses on. How do you run swarms to discover things across large documents? How do you document corpuses, how do you coordinate swarms of agents so that

They’re working in a shared reasoning state instead of uh each just dumping their stuff independently into some random markdown file or a back to the prompt um of their orchestrator. How do you simulate across a massive corpus? That’s our latent-space reasoning, to be able to figure out what should I explore next, what is the best possible strategy? How can I combine two, three different ideas? Um and we do this, we help people figure it out so that people in regulated industries are able to do their

Mm-hmm.

work at a higher quality.

lower costs and much uh more trust than anybody else.

And you mentioned about using agent swarms, and I think you’ve written about this as well. Do you think where we’re kind of the current state of the art or where we need to be going is in terms of using agent swarms to do this kind of work versus one very large model or some other alternative?

I think it depends on what you’re trying to accomplish with anything. Most of our it’s like Iris’ alpha is in the discovery and in uh open end exploration. Uh so we rely on swarms and everything, latent simulations, etcetera, in order to be able to get that answer, you know, when nobody knows the context, we’re trying to get it to you better. Um other companies might be much more focused on top end delivery polish.

etc. In that case, um maybe having one model that’s really specialized to that could be really good. Um it ultimately determines like you have to pick where you want to fight your battle and then um go all in on that. I do think that a lot of you don’t need swarms everywhere, but you do need them at least for um anywhere where you do if your workload is a lot of open-ended exploration where you haven’t predefined

what to do, how to do it and where to go about doing it.

‘Cause other w otherwise from a timescale you just will never get to all
Yeah, just waste time.
the information. Like
Mm-hmm.
like you need to map reduce the problem or explore it in parallel essentially.

Yes. Like some

things swarms will just not be useful for. If that’s if there’s something extremely chronological or if there’s something extremely like st step based, then running a parallel swarm might make things worse. So you have to understand the nature of your problem before you use the tool. But I think um I do think there are a lot of very high value problems right now where agent swarms will kind of save the world.

Yeah,

I was I thought it was interesting in I mean, Google’s recently released some models that folks seem more excited about than the their previous model releases like Neon and hy Hydrogen, Carbon and in Antigravity I noticed that they’ve been

At least I’ve seen there’s pr they’re promoting a swarm feature, which I mean I guess has been in other harnesses like ultra mode or things in Kodaks, but um there I guess the first time I’ve explicitly seen it called swarm mode like that.

I think uh Google definitely is really trying to uh capitalize on that because they need to um get ahead of the market. They haven’t traditionally been very good with it. Luckily what happened is um

Like swarms is such a different paradigm that their previous loss of leads didn’t really matter because you sa you you’re kind of fighting from scratch to begin with. Um I think I do I do think a lot of harnesses will start to adopt. Like there’s a lot of changes you’d have to make to a harness to make it more swarm native. I don’t think anti gravity or anybody else does it well right now. Um, but we’ll certainly

See more and more of that.

What what kind of changes do you think the harnesses would need to be more amenable to working with swarms?

The biggest changes you often have to make, um

is when it comes to swarms, right? the biggest differentiator is in the fact that

The way you communicate information between the orchestrator and the subagent,. In agentic systems, you typically what you did is you give a task and then you give it to s this big smart smart model. The smart model might decompose it and be like, Okay, for this task I’m gonna run this tool, for this task I’m gonna run this tool, et cetera, et cetera. And then that tool does its outputs, does everything. Uh if it fails, it sends the error log. If it succeeds, it sends whatever it its output is, the orchestrators reading everything and it’s

essentially building that aspect. It’s kind of like a big brain and then your central nervous system doing a bunch of stuff. That works when you have a very predefined workload and you know the flow of tokens coming in and out. What happens with swarms is that um typically how you build these is your orchestrator might spin off sub agents that can spin off their own sub agents. And if you’re trying to make one orchestrator or even a cluster of orchestrators,

manage the entire reasoning state of your system, what will happen is they will reread tokens a lot. Like because this the same five different guys will spin off the same worker to read the same code base file. And they’ll spin off stuff like that. So um in fact we did this research. Um about ninety percent of the read tokens in your harness are spent reading things it already knows. And the reason it rereads them is because it’s in a subagent, somewhere.

And that subagent, sends like a 500 token summary of a big code base code code file. So then next time you need something from that code file and you have to reread it. So you wasted a lot of read tokens for no benefit. Similarly, um a lot of things get wasted because when context gets compacted, um, you know, you might forget very important crucial instructions. You know, a one sentence instruction could be a game changing thing. Do not edit file.

Do not delete this file. If that gets overwritten, you’re basically going to end up deleting the file. or you could end up deleting that file. Um, these kinds of changes are because swarms will fill up your context much quickly, much quicker, and with that you will have a lot more irrelevant stuff, a lot more noise. Um, context gets compacted with this instruction loss much, much faster than traditional agentic systems. So harnesses, I think right now.

um haven’t fully adapted to that. One of the things that we’re doing with Iris and the harness and stuff we built, and we even open sourced a part of this with stateful swarms, um, is instead of letting your model be the place where all of the reasoning state is stored, you externalize everything. So you have one basically persistent state where everything, every swarm, every subagent writes to that and everything reads from that. And it decides, then you’re on.

orchestrator decides, do I want to spin off more workers? Do I want to maintain something? Are there any conflicts, issues? Because once you have that state of your system,

Mm.

you can ensure that important instructions are followed. You can always ensure that access control is met. You can always um even the swarm spinning off s workers, it knows already what it knows and what it doesn’t know, what it shouldn’t waste its time doing. And that process can just keep um refining itself.

So when we did the Stateful Swarms release, we took a model that was really weak on this big uh context heavy benchmark called Harvey Labs. And we took a model like

Gemini Flash three point like originally I think we took 3.5. Um right now we have 3.7 on the most recent run. Um and the base model on the agentic harness was only doing like two percent or point three percent, like a really no number.

Mm-hmm.

When we took it and no we didn’t change the model layer at all. Um, it is just how you orchestrate a swarm better.

We

Mm.
were able to get it to be thirty three percent performance, which we’d almost tripled Claude Opus’s performance or Claude Fable’s.

So that’s two to thirty

three percent. Yeah.

Yes. So

not only do we improve the base model so much, we’re able to take this base model which is Gemini three point seven Flash, which in no w universe is considered to be as intelligent as Fable and we’re tripling Fable’s performance with it. Because Fable is still wasting a lot of tokens spinning out things, rereading stuff. Our system is not. And the crazy part is it’s also much cheaper than any of these others because it’s again not wasting time relearning, rereading. So I think

a harness that a swarm native harness would know how to orchestrate these things better, how to coordinate across these mechanisms better. That’s something we’re thinking about building. We don’t know, you know, on our end how much we want to infrastructurize this, how much we want to just let it be and focus on other things. But that’s one of the reasons we open source so much is to just have these conversations with other people.

So your open source, the part you’ve open sourced is essentially the the infrastructure that would allow the agents to store state to what is the state of the exploration or communicate with other agents, things like that.
Yes, it’s how do you coordinate state across um completely self propagating swarms?
And is this some something that like inherent in the model, if inherent in the models, if you tell them, hey, here’s the API to this tool, that they can kind of coordinate it, or the agents figure out essentially how to coordinate amongst themselves, or do you have to give them instructions like here’s the kind of things you should persist and etc.?

that’s an open layer of questioning actually, because we’re playing with all kinds of outcomes there. Um we have an MCP right now from the open source that is uh relatively like, okay, this is what you should save, this is what you don’t save. Um we’re thinking about how do you let the model know it. If you’re running twenty four hour always on swarms with cheap models or some other kinds of maintenance infrastructure, how can you

um build things, how do you send like targeted probes to find new information? These are like very open questions we have right now. Um I think we’d love to see how different people are solving these problems uh because they will be really important also as time progresses.

Yeah, it’s interesting. We’re chatting about this today. I think I’d seen recently that Vercel I don’t think they open sourced it, but they have some sort of message board like software that they made available. Um and I think I also saw s some something open source from the guy who created Plannotator as a

essentially a similar board to allow agents to communicate with each other. And I I think both in the last week or two weeks.

Even if you look at what OpenAI is, Hugging Face hack, etcetera, like like the big um the big
Yeah.
breakthrough was uh the message board that allowed them is oh like the guys to keep spinning up more sub agents to do more specific tasks. Um
Yeah.
I think that is the future.

Yeah. Yeah. Right, right. They they didn’t have any instructions or guidelines on how to do that. Uh

I guess that w that was part of the uh the scarier part of it.

Mm-hmm. One hundred percent.

And do you in terms of a level of intelligence for models that are being used in a swarm? I mean you said that you had done this with a Gemini, like a Gemini Flash version. Do you think people who are going trying to build something like this on their own

should they be testing different levels of model intelligence or kind of picking the least expensive thing that they can run in a highly parallel flash uh fashion, something like that.

We’re there are a lot of to be honest questions on that front. because it I think that model behavior is a little bit more nuanced than cost and intelligence. There’s also jitteriness and reliability. Um if you have a very high variance model, like neon in my experience, is really intelligent but also very high variance. Uh I would not want

that to be my orchestrator or anything ‘cause it could spin out completely unexpected things new time. So it’s hard for me to anticipate how it would behave. Um

Other so the jitteriness is one thing. I think some models like OpenAI typically tend to be better with orchestration. So um I’m you might like there is an argument where you just say use the most expensive, most intelligent model. Um and even have it do simple tasks because you can group like twenty simple tasks with one expensive model and it’ll be much more intelligent. And we’ve seen good some good results there.

also seeing some good results where you’re using a lot of cheap models and one expensive orchestrator. Um

Mm-hmm.
with with the goal there being you can uh split very micro and have it do that. Um I think so much of like we haven’t really ev swarms break so many intuition patterns for engineering that I don’t think we know what the correct thing to do right now is. Um
Mm-hmm.

I’ve gotten very close

like results and results with both with very different behaviors and

Mm-hmm.
the r results like the score was within an error bound. So it’s
Mm-hmm.
like at that point you might as well just say random noise.
Yeah.

Um so when you have a situation like this, I think the space becomes much more um open, which is also why I going back to our uh what we started with, is training models a waste of time or not?

I think by and large with all of this stuff you want to as much codify it in your infrastructure so that

Mm-hmm.
even when your models change, even as your behaviors change, you’re not at the mercy of a third party.
Yeah.
you know. If your infrastructure is so uh model dependent that
Mm-hmm.
a new model release will completely change its behaviors and what it can do, then you’ve probably not built a very good
Yeah.
uh backbone.

Yeah, and I mean in terms of training the models, I mean this is also I think in regards to like larger models, like would you say there’s still like a case for if your constraint is you need this model to fit on X size hardware or be this amount of cost to run that?

There’s some limited cases where training doing a very small amount of training could be useful.

So I mean, you have this a lot with like the nemotrons et cetera, which is um you might quantize and you might uh like, you know, distill and then you do recovery training once you’ve done some distillation to just get really good performance.

If you’re getting there, then sure. But I I think like when I wrote that one and this is why like I put it open, like most companies do not have this kind of um bandwidth. You know, and we we modeled some costs, we did a few other things. Like most people when they want to train on their data is just this is our exact way of running a sales call, for example. I just want to evaluate every salesperson against this exact workflow and see how well they do.

and give them my custom scoring based on like if I’ve if I their manager was scoring this based on this template, it would be this much. That doesn’t require model training. Um I think as a or in the law firms you’ll say, oh, I want to be able to retrieve the c facts of my case better or uh reason about my client better. That doesn’t require training. You can just build a memory system on top of your um model and then you can plug in any model.

So in that case I would say go with that. Obviously if you have like a very, very specific requirement, I have to process this kind of data on this kind of hardware, you might require to train. But the number of times you actually have to train your own model is much, much more limited than what people will think.

Yeah, I think so, especially with I mean, there’s frontier models like the Luna Luna versions or Haiku. I mean the cost now is actually even lower than it was historically. Um plus the cost of open models is like DeepSeek flash is is so is so low that it would be hard to

Find unless you were doing something like so many times that you would ever recoup that cost, I would think.

Mm. Yes.

What do you how what do you think about the current split of open versus frontier models? How do you find in your own use in research is given kind of the current levels we have with open models, is that

meeting a lot of the needs that you find people have today or is it just always keep pushing the envelope forward?

Uh that’s a good question. Personally I tend not to use too many open models and that’s not an intelligence issue at all at all, but just a deployment issue. The cost
Mm-hmm.

of d open models is like you have to build your own infra serving deployment teams and that at that stage it’s not really worth it for me. I would much rather just call the API and be done with it. Um

Especially because as you mentioned, Luna exists in the market. Luna and Haiku and models like this, which are really cheap and can get most of my work done. Um so at this stage not so much. I think now we’re starting to see model as a service from even Google and Amazon offering that. Um Amazon just released that chip very recently publicly. Um that might change the dynamic a little bit. I’m not sure what the difference between

a DeepSeek hosted on Google’s model garden versus a go Google model would be uh from a InfoSec or whatever perspective. But um right now I haven’t used that many and a lot of the people I know don’t use a lot of open weight models purely out of the um simplicity aspect. I don’t I typically recommend people don’t try to overcomplicate their lives. Um

now you have so many neo clouds and all spinning up, um, they are generally not as reliable. So that that’s also why I would you know, if you’re a big company like Cursor or that and Revolute and you’re switching, you can provision those weights and switch over. I think it’s really useful. But for I would say if your spend is less than a million dollars, um and I’m using that as a proxy to say team size and need.

Yep.

Yep.

I don’t think it makes sense to switch over.

Yeah, and I I think the reliability aspect is a good point, especially like if you’re going through a model router or something like that. Um, I know I’ve

seen from performance numbers, like there’s a lot of variance in what is your tokens per second, or I mean, even what is the underlying inference software stack that’s being used. Like all of these things can influence the model performance, both tokens and intelligence. So do you want to throw one more source of

uncertainty into an already probabilistic system. I mean I I I would think no, but yeah, I mean there might be cases where yeah you have control over the hardware or you need that for some specific reason.

Yep.

That’s I think as much as possible you want to reduce the uncertainty in your software systems. So I that’s why I recommend people be as pragmatic about this stuff as possible. There’s a it sounds cool to say I’m using one of the open weight models, but I don’t think the ROI is as high as people sometimes pretend online.

I mean, if you were talking to a company that’s trying to better organize their internal data for search and and they’re not gonna use iris, like what what would be kind of the first things you would tell them to focus on or point them at from a tool or infrastructure standpoint?
so I would say again, make your data easy to find. One number one, most important,
Mm-hmm.
Two, build some kind of a version control into your system so that you can always track what changes an agentic swarm makes or whatever. As you

So would it you

say like having that be searchable through like a through building in like a vector store or no?

No, no,

no, no, no, no, no. It’s much simpler. the proxy I gave you earlier, which is I should be able to do “ls” on your

Yeah.
terminal and just keep going ls-ing all the way through and find where the information. That like it should be that specific.
That yeah, the start that simple. Yeah. Yeah.

Because if you can do that, then your agents, even when they find the information, they can the way you orga the way you organize your information.

should provide a level of snapshot into what data you have and don’t have. Because if

Mm-hmm.
you can just do that, you can already start to reduce some of the unknown, unknown aspects of
Mm-hmm.

it. And it’s not going to be perfect, but like even like if your model has zero percent context based on just a raw dump versus fifty percent or thirty percent context, that’s a huge exponential uh improvement in performance because that will compound over like multiple iterations.

So number one, most important, more than anything else, more important, the model choice, harness choice, tool choice, all are read n mostly irrelevant. The way you organize information, you and if you can do this plus something like a context map where your model knows if I want this kind of information, I want to go here. If I’m finding this, this links to that, this provision links here, which is why we built the stateful swarms with like a common blackboard.

Mm-hmm.

Because you read the blackboard, you can get an understanding of what the open questions are, what

has been found where um if you combine those two aspects, you can actually reason through your corpus like really well and really cheaply.

And as a context map, is that something people should let the agents build and maintain themselves? Or is it something that’s useful to hand annotate like this directory is like this uh project or things like that?
Whatever you absolutely have to get done, do yourself. Um whatever you can, let the agent annotate, let it annotate. Um, that’s why again why transparency is such a big thing for
Mm-hmm.
us with regulated industries is our goal isn’t to do what I said earlier. It’s
Yeah.

not to replace the person, it’s to help them understand how the r system is reasoning about their input so that they can if they had to defend

the AI answer,

Yeah.
they can do it immediately. And if they don’t like the way it’s doing it, before the
Yeah.
output is generated, they can nudge it in different directions. So I think that human in the loop aspect has to be there in both aspects. Just because no AI system right now can reliably come up with uh like the judgment aspects of what should be prioritized and what shouldn’t.
What are the next biggest challenge you’re you’re working on? Like what is if you can talk about it, like what are what are is the next set of problems you’re currently researching, trying to solve to improve how you do this?

Um maintenance of um the s current reasoning state. Right now we’ve gotten pretty good at representing the state of reasoning, but then how do you make sure that it’s constantly being maintained, updated is going to be the next frontier. Um how do you do this in cheaply enough? Like, you know, if you have twenty four hour swarms, how do you make make them run without bankrupting yourself? I think is the

open question that we don’t necessarily have answers to right now, but is what we’re exploring.

And

is slightly different different tack but uh cyber I mean cyber security has been a big mention lately with open with agent swarms what how does that does that tie into some of the work you’re doing or things you’re thinking about

So with cybersecurity, what we’re starting to see is essentially what swarms do is they try to probe all and open endpoints and try to find, you know, try to generate like see if they can find a backdoor link or do something else and probe those constantly until they find the weakness which they hammer in on. so you would in a system like that, you can’t once the swarm is already into your infrastructure, you don’t want to

fight it then. What you want to do is a proactive uh monitoring engine that um looks ahead of time and sees, okay, I think I’m starting to see weird load patterns on my infrastructure. Let me first try to heal that, s try to counter what’s going on. And if this seems like a big attack, I want to start a second layer of swarms which are much more, which are like let’s say you have like the Gemini Luna.

Like the Luna tier swarm here, which is always running, always checking things, making sure it’s running. And then you have the soul or astra tier swarm here,

Mm-hmm.
where if the lunar tier is like, this is a major attack, I can trigger it. Let both the human people know and the defensive swarm with much more frontier
Mm-hmm.

models know how to work with that. I think that is um cybersecurity. That’s going to be the future of cybersecurity. eh

background system that can be triggered um when needed. I think maintenance repairs, even testing for that matter, because of how many uh how much code debt there is, like there’s so many infrastructure lay layers of code infrastructure these days. Um for all of these you would want to have this kind of a split tier where one tier is at least always running, always probing your system, always making sure that the health of your system is up there.

So th so the Luna tier swarm is kind of like the scouts or like
Mm-hmm.
the uh initial immune system and then once that finds something it sets the alarm and calls in the big guns to figure out how to save the day or send out more.

Yes.

One hundred percent.

And is this something that do you set up and run and orchestrate internally, or is this something you think most teams should be going out to experts or vendors and saying, Hey, we need to pay someone to figure out how to do this for us?

generally recommend uh buying not building because you most teams will likely not have the expertise there. Um I’m not sure how exactly the split will look because it is such an open uh problem. Um I’m guessing you’d need uh one layer uh that you always have maintained in house because most enterprises would likely not want to say like we’ve outsourced our entire security um but

You you would I you also at the same way don’t want to be let me build my own software from scratch here.

Yeah, I feel like in

the modern agentic world, at least you can, I guess, build more things, though there’s always the the danger of building the thing you don’t understand too much.

What are you what are you most looking forward to in the next year of working with AI?

Just this aspect I think will be huge. How do I coordinate our w where do we bring down inference costs? How do we make
Mm-hmm.
sure that we can reduce the cost of intelligence and the energy requirement of models? Um, send them in more areas so that we can improve their performance.
And something I d I always like to ask people is uh what’s something you’re proud of that you’ve worked on that might not be immediately apparent to everyone?

That’s a good question. Um one thing, the latent reasoning engine I think is something that we started talking about looping in the latent space, etcetera. Uh while before loop transformers became like like

even now I don’t think they’re mainstream yet, but you will s like GLM recently released their loop transformer, you will see more people uh really sit by at the end of this year. Loop transformers will be huge.

I think um I don’t think that’s enough from the latent reasoning aspect. I think there still needs to be more improvements made there. So I think in the next two, three years you will see the emergence of new techniques for essentially manipulating latent vectors directly. Um and that’s been I think to me that is the biggest breakthrough that you will make with language models and transformers in general. Um or neural networks as a whole in general. So

I think I’m quite happy that I caught that and we worked on it. We open sourced our work that got r good results months before

Mm-hmm.
uh years before it became mainstream and we’ll continue to push that boundary even more.
Well, Devansh, great to have you on today. Enjoyed our conversation on everything from Agent Swarms through to cybersecurity in twenty twenty six and heading on. So thanks again for joining us and uh have a great rest of your day.
Thank you.