Latest / Data Driven / Demystifying State in AI: Smarter Reasoning and Real-World Legal Applications
Transcript
- 0:0090%. It's between 70 to 90% of your
- 0:04cloud port tokens. Your usage goes into rereading
- 0:07something it's already learned, which is an absolutely insane
- 0:12problem to have currently. And what we want,
- 0:15what we realized is our systems can start to solve that. So for instance,
- 0:19we've released a free McP open source it called the Blackboard.
- 0:23It's on the GitHub. If you use our Stateful Swarm McP, the Blackboard
- 0:27McP, your token cost will go way down and you'll be able to
- 0:30see how your AI is reasoning through things, what it looks at
- 0:34and that guides our system to be evolved over time.
- 0:47Hello and welcome back to Data Driven, the podcast where we explore
- 0:50the emerging industry of artificial intelligence, data science and of course
- 0:54data engineering, which really underpins it all. But I don't have
- 0:58my favorite data engineer with me today, so it's just me flying
- 1:01solo with our guest Devanche Devanch, who
- 1:05is the founder and head of AI at eras. Hopefully I
- 1:09said that right. And he went from creating a tech minded community of
- 1:1210,000 plus people on Substack to building a
- 1:16legal AI that strengthens how lawyers communicate reason and
- 1:20work through complexity. He also lists himself on LinkedIn
- 1:24as a chocolate milk cult leader. I'm sure
- 1:28there's a good story behind that and we'll get into that. Welcome to the show
- 1:31Devansh. Thank you for having me.
- 1:35No problem. I saw your LinkedIn profile and I was like chocolate milk, is this
- 1:38the same guy? So tell me
- 1:42one Congratulations on your success on Substack. That's impressive.
- 1:47What led you to
- 1:51beyond Substack?
- 1:56So I think what led me to be on Substack is a
- 2:00more general downstream effect of me,
- 2:04what led me to be on online in
- 2:08general. I've worked as an applied AI researcher for quite a
- 2:12bit and my specialization was a lot and low resource
- 2:15environments for machine learning. But like in
- 2:192017 we had a team of three that beat Apple on Parkinson's
- 2:23disease, voice detection in real time, voice calls. I worked the
- 2:27state government, I worked with like climate modeling in a university,
- 2:31et cetera. But the issue was that around
- 2:35this time is when machine learning was really kicking off.
- 2:38So things were becoming a lot more corporatized I
- 2:42guess. So before like you know, you had a lot of people who
- 2:46got into ML from basically just oh,
- 2:49I taught myself ML and now I'm doing machine learning like Yann
- 2:53Lecun. These guys didn't do ML in university,
- 2:57but they happened to work in it and that's how they were transitioning.
- 3:00Unfortunately, by the time I got into the industry, that path was
- 3:04clearly dying. So especially in
- 3:07America, you had ATS systems that would scan resumes
- 3:11and those resumes would not. I basically was
- 3:15not able to work with anybody that was doing ML because
- 3:18any of the big companies, because they were just saying that, oh, we have a
- 3:22requirement that you have to have a PhD. I was essentially
- 3:26every job I'd gotten before this, I kind of had to network my way in.
- 3:29And then it was quite a difficult process and
- 3:33increasingly I could see that was no longer going to be sustainable.
- 3:36So at that stage I decided, hey, I should get a PhD.
- 3:40I think it'll help. Which was a bit of an ambitious goal
- 3:44because I didn't have any university degree when I decided,
- 3:48but I was working with this state government
- 3:51and then that they had also got my professor that I was talking
- 3:55to back and forth. He was a public health professor, so not the same
- 3:59field. But as I was telling him, he's like, hey, you're very, very good
- 4:03at reading papers. You have to read a lot of papers to do what you're
- 4:06doing. Because, you know, we're giving governments healthcare like frameworks
- 4:10for how they're going to judge that money, like how they're going to judge
- 4:13investments. And if you make even a 1% error, that's about
- 4:173 million people that we were impacting through our
- 4:21framework because they were deciding where to invest in health
- 4:24outcare outcomes, how to move investments within districts,
- 4:28etc. Based on the framework we gave them. So
- 4:32you didn't want to screw up. And I was really nervous about that. So
- 4:36I was reading a lot of papers and I was trying to synthesize like the
- 4:39best possible outcomes, like 50 papers. And the
- 4:42professor found that really impressive because that's like not a skill that
- 4:46a lot of people have. And he said to me that this is going to
- 4:50be really useful in your PhD applications. But right
- 4:53now, because nobody's going to know that you're
- 4:57able to do this, the only thing you'll have is your letter of
- 5:00recommendation. I think you should start like documenting your
- 5:04insights online so that when you do apply, you're able to
- 5:08people know who you people can see what you've done. So
- 5:12that is what led to me writing on medium. Initially, it was meant to be,
- 5:15hey, I'm going to, I'm going to have a
- 5:19few publications. And then the plan was that when
- 5:23I did apply for a PhD, I would essentially, if
- 5:27I was reaching out to a professor doing computer vision, I'd show them like, here's
- 5:30five papers I've broken on computer vision. Maybe if there was somebody I was very
- 5:34keen on, I'd break down some of their research. And I wasn't expecting to have
- 5:38an audience. I was more expecting to say, okay, this is what I've
- 5:41published, please take a look and then give me your
- 5:45comments. So
- 5:49that was how I started. I think what ended up
- 5:52happening is as I wrote because I came from a pretty different
- 5:56background, like at that stage in the information landscape and
- 6:00even today most prominent people
- 6:04who are breaking things down, pure researchers. So
- 6:07a pure researchers sits there and they're looking at different
- 6:11papers and they're like, this technique increases benchmark score by this much, this technique
- 6:15increases benchmark score by that much. And that's fine,
- 6:18but that's a very different outcome than where should
- 6:22I put my money? What kinds of investments will that make
- 6:26it? And generally if you look at, there's some really good researchers
- 6:29who work even I recommend none of them have an opinion
- 6:33per se or they have very minimal opinions. They try to be
- 6:37as close to the papers as possible. While
- 6:41what I did because I came from, you can't do that if you're coming from
- 6:45low resource environment. You don't have the money to be
- 6:48able to spend in kind different explorations or being like,
- 6:52oh, I'm just going to do reinforcement learning on this to improve my results
- 6:56because I don't have any computer resources. I'm
- 7:00the cloud engineer, the ML engineer, the ML ops. So
- 7:03it's just not going to be sustainable. Right when
- 7:07you start thinking in that way. Like that
- 7:11reflected in a lot of my analysis because I would sometimes take
- 7:14papers and sometimes I'd disagree with that conclusions because I'd be like everybody
- 7:18else would was looking at that paper and saying, oh, this is going to be
- 7:21a breakthrough. And I would write like this makes no sense to do because if
- 7:24you look at the cost for the performance percentage jump, it
- 7:28doesn't really align. Or I started doing stuff like,
- 7:31okay, if you were to figure out when to invest, when not to invest, here's
- 7:35like a quantitative way to look at it. And I think what that
- 7:38led to was a lot of more senior leaders who started
- 7:42reading my book. So I kind of skipped a lot of the junior
- 7:46leadership originally. And I actually became much more
- 7:49popular with senior leaderships first because they actually,
- 7:54for them, they're not looking for information, they look for insight. They need decision,
- 7:58they need help making decisions. And I,
- 8:02I was in like this unique place where I was still breaking down research
- 8:06Papers I was still being really rigorous and technical, but
- 8:10all behind that I was trying to give a. So what? And I was trying
- 8:12to have, okay, this is how I would have analyzed the implications of
- 8:16this research for the entire industry. And
- 8:20that just led to the growth of the Chocolate Concord,
- 8:24which is my online community.
- 8:27And that's how I got online generally.
- 8:31Then why substack specifically is.
- 8:36What happened is I got quite big on Medium,
- 8:41but what I noticed is that Medium's distribution algorithm
- 8:45was just not. It no longer suited me
- 8:48because I'd like to write like really deep paper research breakdowns. And what I
- 8:52saw at that time was Medium had turned almost into like a
- 8:56do this with ChatGPT, do this with ChatGPT being
- 9:00released. It was. That's the kinds of articles it was favoring.
- 9:04It was not favoring like my style of writing. So
- 9:08I had massive followership numbers, but the views were not.
- 9:12I was not able to pull the same views I was getting even when I
- 9:15first started, like with no followers. And that's when I
- 9:19realized, okay, if I'm going to be dependent on
- 9:22an algorithm driven platform, same thing with substacks, sorry,
- 9:26YouTube, same thing with LinkedIn. I will likely always
- 9:30be reliant on this platform for everything. I should have at least
- 9:34one place where everybody, whoever
- 9:37finds my work is able to see it more consistently. And that was
- 9:41my rationale for substance. Interesting.
- 9:47Interesting. No, I think that there, there was definitely a time
- 9:50when somebody who could translate those very
- 9:54dry academic papers into something practical and something actionable.
- 9:58I think you were providing a great service now. But also
- 10:02I think at the time there was definitely a lot of people that wanted to
- 10:06get into this space. And I think you prove out kind of like the idea
- 10:10of you do the traditional path of get the education
- 10:14grind that way. But I think there's also this notion of becoming,
- 10:17for lack of a better term, an influencer. Although I do cringe a little bit
- 10:21when I say that. And you smiled when I said influencer. So I'm
- 10:24sure you hear that a lot too. We need better words for it. But I
- 10:28think that there are definitely people out there who have a gift for taking these
- 10:31really complicated subjects and turn them into something that
- 10:35more people, senior leaders in industry can really understand.
- 10:39I think you're doing a great service here. But how did the chocolate milk
- 10:43thing come about? Because I'm. It's very memorable. I will say that from a
- 10:47branding point of view. So when I was in university I was
- 10:51accused of trying to start a cult, which is untrue
- 10:54I was starting a religion. Okay, one minute it's just a
- 10:58religion. So that's the cult part of the chocolate milk cult.
- 11:02It used to be called the tree club. The religion and
- 11:06that's the card part. Chocolate milk just, I just like chocolate milk. So
- 11:10when I started writing originally or when I,
- 11:14at that time I was exploring YouTube, I was doing a bunch of other stuff.
- 11:17I kind of had a rule for myself to make sure I was more consistent
- 11:22that I would only drink chocolate milk when I was doing some work.
- 11:26Oh, I would not drink it for leisure. Okay.
- 11:30Like, I would not. It's actually one of my greatest productivity
- 11:34hacks. I, I, I mirrored chocolate milk to that and
- 11:37I mirrored music to that. I cannot listen to music for pleasure.
- 11:42Interesting. I can only listen to music today,
- 11:46even right now. Like E. If I'm traveling, it's an exception. Like
- 11:49I'm just going somewhere. But other than that it's only like if I'm going to
- 11:53work out, I'm walking somewhere or
- 11:56if I'm working. Interesting. It's actually
- 12:00like that way you anchor something you like with
- 12:04something you don't necessarily want to do. And that's how
- 12:08you, that's how I was able to stick to the hob, to the commitment.
- 12:13So the chocolate milk just came from that.
- 12:18Interesting. Interesting. What do you
- 12:22tell me about your startup? You
- 12:25specialize in lawyers or using AI for lawyers? Tell me
- 12:29a little bit about that. Yes and no.
- 12:33So what we have is build. We
- 12:37solved a fundamental reasoning issue, which is that
- 12:41reasoning over long context is brittle, it's expensive
- 12:46and it's not trustworthy. If let's say
- 12:50you are to take what are the
- 12:53options for reasoning over long context in today's word Frank,
- 12:57you take a massive language model, you stuff all the context
- 13:01possible into it and then you give it an output that's
- 13:05option model. And there you're just betting that language model
- 13:08context windows are going to get larger and larger and they'll be able to
- 13:12handle this more effectively.
- 13:16That doesn't work for a few reasons. One, if it fails, you don't know where
- 13:20it's failing. Is it the models and knowledge? Is it random probabilistic
- 13:23error? Is it context rot and attention dilution? That's ticking
- 13:27in. There's just too many variables that went wrong. Second
- 13:31is you get systems like wrap simple rack. I should
- 13:34say rather, which is what a
- 13:38lot of the other people in legal AI are currently doing, whether they
- 13:42explicitly say it or not. It's, you have a vector data, you have
- 13:46a vector embedding model and you're just asking questions by
- 13:50vector embedding model and it pulls out a few chunks and those chunks form
- 13:53the basis of your answer. No matter how much you tune your
- 13:57embedding models, the issue with them is always going to be
- 14:01that you, again, don't control it. Because when it's the
- 14:04embedding model decides it's getting pulled out or not, so it's not your system.
- 14:08So again, if there is an error, you can never control it. You can never
- 14:12say, oh, this keeps pulling out the wrong clauses. Let me fix for this
- 14:15clause and change everything else. Because if you retrain the embedding model, everything
- 14:19changes. There is no way to do targeted surgery on neural
- 14:22networks right now. Two, and this is the absurd part, like
- 14:26vectors themselves have limitations. Like, mathematically speaking,
- 14:30they will never, they will always pull things that are cosines
- 14:34that have cosine similarity that's high to them, and they'll miss things that
- 14:38don't. So if I ask you, hey, analyze this clause, it might give me answers
- 14:41to this clause. But that clause might have dependent clauses that are not
- 14:45the same language. So the vectors will not pull
- 14:49it out. But it should have pulled it out to analyze, to give a proper
- 14:53analysis. Or, you know, if somebody is asking you about your life,
- 14:57I. They might. If it's pulling out databases from you,
- 15:00they'll talk about Frank. But there are chunks of your life where it's not
- 15:04you. There's no Frank. There might be a brother. There might be somebody
- 15:08else, somebody with a completely different name, somebody your best friends.
- 15:12These like, is that an embedding issue or is that like
- 15:16a where's where? How can that be fixed? Because that's a math
- 15:19issue. The math issue, yeah. Mathematically,
- 15:23there are going to be chunks that don't have high
- 15:27cosine similarity to your original question. What
- 15:30rag does is simply what. This is my question. I'm
- 15:34going to try to pull out the chunks that are
- 15:38closest in word meanings to this question. It's going to look
- 15:41at what are the words here, what could they mean? And it's going to try
- 15:44pulling it out. But there are going to be chunks that are extremely important that
- 15:48don't have the same verbiage. That makes sense. They're not,
- 15:51they're related, but they're not semantically obviously related.
- 15:55Yes. And there's a flip side to that. If you were working, you can
- 15:59have lots of chunks that are very structurally similar. Again,
- 16:03going back to legal, you have clauses that are worded very similarly with one
- 16:06or Two differences in words where the words are very operative so
- 16:10you rag will pull those out and pull
- 16:14put them very strongly and then again you're diluting your context, you're
- 16:18creating the issue of possible conflicts. So not only does
- 16:21traditional vector miss like miss things that are
- 16:25related but not semantically similar, it
- 16:28misses things that are, it adds things that are semantically similar but
- 16:32completely unrelated. So that's why legal AI, a lot of them
- 16:35fail very substantially. On top
- 16:39of this now you might have agentic reasoning,
- 16:43agentic retrieval here you're using vectors with a few other things
- 16:47depending on how you want to build your system. This is by
- 16:50and large what everybody has converged to on the state of the art.
- 16:55But the issue here is threefold. One, it's extremely expensive
- 17:00because you're basically just pulling things out and trying
- 17:03to reason over it multiple times. So you have multiple cycles of encode, decode, report,
- 17:07etc. Two, it's not very controllable because if you
- 17:11were a lawyer, imagine you're just sitting there and
- 17:15imagine asking a lawyer to look at cloud board and put all the
- 17:19read through all the dumps as it's doing can get very out of
- 17:23hand very quickly. Yeah, so you're just, you're
- 17:26it. It seems more transparent on the surface but because of the volume of
- 17:30sub agents that work and because you can't really say okay, my sub
- 17:34agent has learned this, my sub agent has learned that you can't really
- 17:38attend to what it's doing. You can only still modify the output
- 17:42and while it is a higher quality than standard drag, it's not
- 17:45safer, it's not more trustworthy and trust is a big factor for
- 17:49anything in regulated industries. Because let's say I
- 17:52save, let's say I'm 99% accurate, which you
- 17:58we're not going to get there anytime soon. I only have a
- 18:021% error, but I don't know when that 1% happens.
- 18:06So what do I have to do as a user I have to test, I
- 18:10have to still cross check every output. Either I'm just going to
- 18:14go in blind and say okay, I'm going to get this right. 99 out of
- 18:17100 times and 1 out of 100 I'll get sued and get disbarred
- 18:21or I have to check every output anyway. So all the time I would have
- 18:25saved, I'm not saving it. So
- 18:28that's what a lot of those other systems, that's where a lot of those other
- 18:32systems fail and that's where we decided to really
- 18:37pitch our flag is We've built
- 18:40reasoning that is transparent, it compounds
- 18:44over time. So unlike cloud code or any agentic retrieval systems
- 18:47where the questions you ask them, that you ask them and then they forget the
- 18:51memory so they have to relearn everything every time they reusing their tokens
- 18:54and they'll forget your instructions and they can't form like complex
- 18:59user memories on how to personalize to you. We are able to
- 19:02personalize the people and very importantly, everything that
- 19:06our AI does can be audited and checked and even steered
- 19:09mid as its reasoning. Like when you use our AI systems, you can steer them
- 19:13mid reasoning and that allows people to trust our work much more.
- 19:17Does that this is obviously we know
- 19:21what the answer should be. Does this save
- 19:24lawyers time or does this introduce risk and they have to
- 19:28validate the inputs? I can
- 19:32imagine if I'm a lawyer, I'm very concerned about that.
- 19:37It's both. Okay. We have seen our users report
- 19:41roughly a 10x increase in time spent. So 1 hour
- 19:45on iris gives them 10 hours of work output. Oh, nice. Okay.
- 19:49And that is largely because that one r any
- 19:53AI can draft for you in minutes. Drafting isn't the
- 19:56issue. The issue becomes
- 20:00can I change it? If you were to ask Iris to change a paragraph, you
- 20:04ask Iris, hey, can you make this? Can it be done quickly and can you
- 20:07inspect Iris outputs to be like, okay, you're telling me that this is
- 20:11the correct summary of the case or this is the right outcome? Can I
- 20:15look at this? Can I verify it very quickly? Can I look at all the
- 20:17facts you're looking at? Can I look at what other counterfactuals
- 20:21you looked at? Can I look at your simulations? And based on that, can I
- 20:24make the answer? And that's why IRIS is not just like we
- 20:28have a lot of lawyers using it. But what we've seen is
- 20:32tremendous amounts of demand from non legal people
- 20:36in similar situations who just want an AI they can trust,
- 20:39long context AI they can trust. That's what we have.
- 20:44We've seen a tremendous amount of demand for our API of
- 20:47reasoning for other versions of Iris. And that's
- 20:51what we are working on actively serving right now, even as we continue
- 20:55to tackle the legal market. Do you think that you could do better
- 20:58than 10 to 1? Do you think you're just at the beginning of this
- 21:02or is 10 to 1 pretty good? I
- 21:06mean, it's pretty good, but that's a really good question. I think
- 21:10we certainly can do better than 10 to 1. The
- 21:13question becomes, do we want to do better than 10 to 1,
- 21:17I guess I don't have a strong opinion on this either way, but my
- 21:21intuition right now from our user experiences is that the
- 21:25things we can say for them right now is like make it,
- 21:29make the export to Word documents more reliable,
- 21:33make it so that I can do things
- 21:36otherwise. And that's,
- 21:40that can certainly be useful but that also starts to become a lot more
- 21:45fine grained and user specific and I don't know if that's the right
- 21:49approach to take right now versus to explore other
- 21:52avenues of improving reasoning and hitting
- 21:55more fields 10 to 1. That's still an open question for us.
- 21:59One of the things we are doing that should help people is building more
- 22:03connectors into the platform. So Imanage
- 22:06docusign all of those through Iris and that should, that
- 22:10will save people a lot of time because that is currently one of the biggest
- 22:13friction points with our platform right now. But again, I do
- 22:17think there's a diminishing return to just improving
- 22:21ux and I do think the AI market is still
- 22:25so open. It seems like a crazy thing to say, but
- 22:29most AI startups are not that good.
- 22:33So there's a lot of these spaces where you think that, that
- 22:36people already exist, but they're not true solutions. They're just a bunch of kids out
- 22:40of YC that don't know what the they're doing and they're just building, they're
- 22:44just building the simplest possible thing they can and you can completely
- 22:47wipe them out of the market. So there is no, I mean you say that
- 22:51in Jess, but it's true. Like when, when Chat GPT goes down, those API
- 22:55goes down. All these other like tangential startups that
- 22:59don't disclose that they're using OpenAI APIs, they just make
- 23:02it. If you look at their brochure where it looks like they invented
- 23:06themselves, clearly they didn't. Right.
- 23:11So next time you notice that when AP, when OpenAI has
- 23:14an outage and all these other companies kind of go down. Yeah.
- 23:18So what makes your approach different? Like how did you get to
- 23:23seeing the problem and then finding a way to fix it?
- 23:29At our core, we believe state is the number one
- 23:33leverage point in agentic systems right now. So
- 23:37what I mean by that is if you've done traditional software engineering,
- 23:42you know, you had state charts, what is your code doing right now
- 23:46versus what is your code doing at T +1?
- 23:50And then you debug through those to say like, you know, either you have
- 23:54a bunch of print statements, which is always my favorite way of doing things, or
- 23:57you know, You're a nerd. You do like debuggers and logs and whatever
- 24:01other nonsense that those people do, right? But
- 24:07you track how your system has evolved over time and that
- 24:10was what led to you being able to debug very effectively.
- 24:15AI doesn't have state like when
- 24:19Claude Go makes a mistake, you don't know where it made that mistake. You
- 24:23can ask. The only way you can do it is by asking Claude Board
- 24:27to run the same process that made the mistake again and say,
- 24:30hey Claude, why did you make the mistake? But there you are
- 24:34offloading what is possibly the most important aspect of
- 24:37your work to a system you can't control.
- 24:41If you were reasoning, if your AI is reasoning through different
- 24:45solutions and circumstances, you don't know
- 24:49why it comes up with the answer. It does. You just hope it does. And
- 24:52then you're again reliant on an external system to say
- 24:56this is make sense or does this not make sense? But you
- 25:00cannot evolve your process over time. And what that means is
- 25:04your returns on AI are flat or they're depreciating.
- 25:08At best your AI system will stay like this with more
- 25:12feedback or it will go down because it's going to get
- 25:15conflicting signals. What we want is this
- 25:19compound and get compounding
- 25:23returns on your AI system when you know exactly where it goes wrong
- 25:27and you can specifically fix those aspects. So what
- 25:30we did first was build very rigorous
- 25:35tracking of the AI is the engine state. What is it
- 25:39looking at right now when it goes to the next step? Why did
- 25:42it go to that next step? Can we see what model weights like? Can we
- 25:46see how our latents evolved over time? What
- 25:49strategies were they taking? In the agentic reasoning aspect,
- 25:53it extracted certain clauses. What other questions did it come up with?
- 25:58And based on those questions, what else did it do? And that way we are
- 26:02able to compound our AI systems over time because we know over time what
- 26:05failed, what didn't and we can specifically fix those aspects.
- 26:10Interesting. Interesting. By the way,
- 26:16I use specifically two examples. Evolving latents and
- 26:20looking at what the state of the agentic system and seeing what's
- 26:24compounded over time. The reason I took these two examples is because
- 26:27we've open sourced both, so you don't even have to take my word on it.
- 26:31You can go and use the systems yourself. And we've beaten
- 26:34state of the art on both with both on much cheaper. We
- 26:38are much cheaper than state of the art and we're much better than state of
- 26:40the art in both the systems that we built.
- 26:44So is state
- 26:49analogous to context like how what is the relationship between context
- 26:52and state? Context is what
- 26:56your user gives you or what your AI model
- 26:59extracts. State is the
- 27:04representation of what your reasoning system is
- 27:08working through. So
- 27:12state, context is here is a PDF,
- 27:15here is a user instruction, here is a preference for
- 27:19analysis done a certain way in a law firm. That is
- 27:23context. And that's why I think
- 27:26context engineering is a bit short sighted. Because you're working on the inputs and
- 27:30inputs are very important, but
- 27:34your users will never give you enough input to actually
- 27:37solve any complex problem. They're not going to say,
- 27:41look at clause B, then draft up this way, then add this, then look at
- 27:45this PDF and do that. They will just give you very generic, high
- 27:48level instructions. Give me a defense strategy.
- 27:53And again, that goes back to our failure with rag. Why would RAG fail? Because
- 27:57it would try to look for world passages similar to
- 28:00give me a defense strategy instead of looking for actual defense
- 28:04strategies. So state would be what our
- 28:07agent reasoning system is going through. How is it representing data in
- 28:11turn? How is it deciding that? If I have to give a defense
- 28:15strategy, Here are some questions I can ask. Based on these
- 28:18questions, here are some things I pulled out. Should I change my questions?
- 28:22Should I pull out more information? It mentions this person, should
- 28:26I look into this person more, where can I find more insight on this person,
- 28:29etc. That is state. So the
- 28:33state is essentially the map that our own AI agent system builds
- 28:37to navigate the world and the move it
- 28:42handles, context. The more context you give it, the more you use it. And that's
- 28:46why I said it's compounding, the clearer the map becomes.
- 28:50So what ends up happening is the state becomes
- 28:53user one. It becomes much more powerful to your, your
- 28:58relationship with tokens flips. Because while
- 29:02it's expensive to build a while
- 29:06the cost of building the map is an added cost and it's
- 29:09overhead, the more you build the map, the
- 29:13more your cost per output goes down because over many
- 29:17iterations your system stops looking at the
- 29:20overall general, like it doesn't have to
- 29:24read all of the files, reread all of the information. It's just looking at the
- 29:27map to say, okay, I should read this specific passage, I should read the specific
- 29:31chunk and then your output is able to be computed much more quickly,
- 29:35much more cost effectively as opposed to having duty,
- 29:39you know, process a bunch of irrelevant documents. Always
- 29:43interesting. That's interesting. I think,
- 29:50I think there's a lot. I think we're still early in the AI phase and
- 29:54I think you're right in terms of there's a
- 29:57lot we haven't really figured out, particularly when you think about agentic. So
- 30:01agentic. So state is basically implies you
- 30:05can't have really state unless you're doing something agentic. Is that
- 30:09a fair assessment? What do you
- 30:13mean a state in LLMs. Right, because you're not. Or
- 30:17in AI. Right. Like state is tied to what the agent is doing
- 30:20at time T.
- 30:26Yes. Right. So it. So we have
- 30:29context and now you're adding state, but state, you can't
- 30:33have state without really an agentic system
- 30:38is what I mean. Yeah. Okay,
- 30:42interesting. What made you
- 30:46want to solve this problem?
- 30:50I think so. When I met my co founder,
- 30:54I had already built this open source research community, so we were talking to
- 30:57a lot of people who were having similar issues across the
- 31:01board. And when I met Savvy, the CEO of Iris, like
- 31:05one of the first things we talked about he told me was like, hey, this
- 31:09takes too long. I spent way too long in court and we should be making
- 31:12this process more efficient. And democratization and
- 31:16access is something I really care about, which is why we open source so much
- 31:19research, which is why it would be much easier for me to be writing
- 31:23simpler, do this with AI, do that with AI, make this with AI
- 31:26articles like the kind that do well on social media. But I chose not able
- 31:30to that and stick to the cutting edge and try to make that more
- 31:34accessible to people. Because I think ultimately if you don't
- 31:38have something that brings the frontier to
- 31:41people will always be like dependent on
- 31:45whatever handouts that big tech companies are willing to provide as opposed to building
- 31:49their own alternatives. So
- 31:52democratization to me is extremely important. And
- 31:56that's why like when we spoke about this, that was
- 32:00like a more personal resonance. So we decided
- 32:03like, hey, let's try to build something here. He was the head of innovation
- 32:07at a pretty large law firm, like a massive law firm actually.
- 32:11So he had already tested Harvey Legora. At that time they were called
- 32:14Layup, Axton, et cetera. And none of them were that good. And they were not
- 32:18that good because again they were at that time just stuffing things into
- 32:22language models or they were trying simple rag and none of that was working.
- 32:27So as we started solving for legal,
- 32:31like what problems do you have? We identified these variables. And
- 32:35then I think as I started talking to people about how we were solving it,
- 32:39we realized that this problem kind of extends way beyond
- 32:42legal because Claude code again for coding
- 32:46agents is the same story. It is not able to track your
- 32:50state over time. It's not able to compound over time, which is why you waste
- 32:53a lot of tokens relearning stuff. 90%,
- 32:57it's between 70 to 90% of your cloud port tokens. Your
- 33:00usage goes into rereading something it's already learned,
- 33:05which is an absolutely insane problem to
- 33:09have currently. And what we realized
- 33:12is our systems can start to solve that. So for instance, we've released a free
- 33:16McP open source it called the Blackboard. It's on the
- 33:20GitHub. If you use our Stateful Swarm McP, the Blackboard McP,
- 33:24your token cost will go way down and you'll be able to see how your
- 33:28AI is reasoning through things, what it looks at and that guides
- 33:31our system to be evolved over time. There's a lot of this
- 33:36kinds of similar questions here that we could be solving. And this is why
- 33:41we think that this is the perfect place to stick your flag in and then
- 33:44expand your area. Because all of AI right now
- 33:48needs to get better ROI on their
- 33:52inputs and we believe that this is the best way to do.
- 33:55Interesting. What would be your
- 33:59advice to someone who wants to get a startup but
- 34:02not be another one of the, the people that are just
- 34:06another, you know, as you said, YC kind of API
- 34:10vibe. Coders like, what would be your advice to them? They want to
- 34:14build something impactful. What would be your advice to them?
- 34:20I would say it depends entirely on
- 34:25one. You have to look at where your strengths are
- 34:29because startups in themselves have.
- 34:32There is no startup, it doesn't exist. It's different
- 34:36startups, very individual. For
- 34:39instance, if you're a very good salesperson, if
- 34:43you're a very good GTM person, you might want to consider
- 34:48doing something that has a bit of a consumer motion
- 34:52because that's how you can. You have the ability to grow your stuff very
- 34:55quickly. Contrary, on flip side, if
- 34:59you're somebody that's really, really good with foundational work, if you're
- 35:03very good at making these big breakthroughs and you're like
- 35:07an industry expert that comes in with connections, you want to do something that
- 35:12will play to those trends. So the first most important part about a startup would
- 35:15be to know yourself and think about who you are
- 35:19and what kind of a thing you'd like to be. Because
- 35:24ultimately every startup ends up being a reflection of its leaders.
- 35:28And you want a company, you want a process that compounds
- 35:32your strengths while minimizing your weaknesses as opposed to doing what?
- 35:36Trying to do everything and fail them. And I think like an example of that
- 35:40is something like Cluli, for example, is a
- 35:43startup that
- 35:48I don't think they understood the market very well, they didn't understand what their own
- 35:52strengths were, etc. So they
- 35:56go viral on social media, people look at their clips, etc.
- 36:00On social media but the amount of investment they have to put in
- 36:03for that when you compare to the return of does the buyer actually buy
- 36:08is pretty negligible. They get a lot of user
- 36:11headspace retention but they're not Coca Cola. So you know if, if
- 36:15I were a company like Cluli I would have, I would think about
- 36:19either don't try to sell to enterprises as a marketing solution. Like
- 36:22we have note takers here, none of them are Cluli. I have never
- 36:26met somebody personally in marketing and sales etc. That
- 36:30uses Cluli and I'm pretty connected with a lot of the CRM top
- 36:33CRM startups. I'm pretty connected with Salesforce, HubSpot,
- 36:37etc. I have a pretty good insight into what GTM people are
- 36:41using and I have never met or heard of anybody say
- 36:44clueless Enterprise is what I really really love in
- 36:48the world. Everything I know about Cluli comes from the few people
- 36:52that use them for consumer reasons. So that kind
- 36:55of I think thinking about where you should be,
- 36:59what your strengths are, what you want to play to and then maximizing that is
- 37:03extremely important. The second thing is also just to know your
- 37:06exit. What are you doing this for? Why are you doing this?
- 37:10Because otherwise you will probably have a lot of conflicts in
- 37:14your life because you know
- 37:19this is something that if you want to make it work especially
- 37:23nowadays with AI where investors are pretty
- 37:26unless you're like a template founder which is like you're from Stanford,
- 37:30you from Palantir, you've raised a bunch of money for other
- 37:34startups before or you worked at another big startup before,
- 37:38you're not going to VCS aren't going to look at you twice. So you need
- 37:41to have growth, you need to have something other than that to
- 37:46stand out to them. And how do you get to that something? You kind of
- 37:49have to figure things out. Cloud code will make a cloud code and on
- 37:53make it so that on the surface building features becomes very easy. So
- 37:57there's a lot of there's a big flood of copycats, there's a big flood of
- 38:00other things people doing it so you can just do a startup for the
- 38:04sake of doing a startup to get that experience in but
- 38:08you're not going to both it's not going to impact you as
- 38:11much and it's not going to help the
- 38:15your Startups probably not going to succeed unless you know, you're really
- 38:19willing to put a lot into it. So you have to figure out what it's
- 38:23that you're willing to put in. When do you leave? When do you walk out?
- 38:26What's your minimum exit? Because that will teach you.
- 38:31I can give you a lot of insight. Otherwise you're just going to be like
- 38:34going with the friend and not going in any particular
- 38:38direction. Interesting.
- 38:42Where can folks find out more about you and what you're
- 38:46up to? The substack is the most
- 38:51active place I'm in. Just the chocolate milk cult leader
- 38:55on substack is my substack handle. Or if they
- 38:58look for artificial intelligence made simple by the bunch, they should find it
- 39:02pretty easily. Okay, that has all my social
- 39:06media links but also LinkedIn. If you just google me,
- 39:10you should be able to find my work. Okay.
- 39:15No, I taken a quick browse through your your substack.
- 39:18It's pretty cool. And most of it's free. There is a subscribe
- 39:22option too from what I can tell, but. And you're based in. In New York
- 39:26City. That's cool. I grew up there,
- 39:30so. But I also saw that you went to Rochester,
- 39:33right? I was. You weren't. You went, but you
- 39:37studied in Rochester Institute Technology. Is that what it is? Cool.
- 39:41No, it's a great school, people. I know a lot of smart people to come
- 39:44out of there. Plus Wegmans is headquartered up there, if memory serves.
- 39:48So you probably bought more than your fair share of chocolate milk at a Wegmans,
- 39:51I would imagine. Not as much as I would have
- 39:55liked, honestly. I didn't spend a lot of time in Rochester,
- 39:58surprisingly enough, because Covid and I was
- 40:02traveling and I was doing other things. So I actually didn't spend
- 40:06a lot of time physically in Rochester. Okay.
- 40:09Yeah. The pandemic, I think threw off a lot
- 40:13of what we would call normal things. Right? Like
- 40:17normal life experiences. Very cool. So I
- 40:21will definitely make sure that those are in the show notes and any parting thoughts?
- 40:27I think 1 thought I try to leave people with
- 40:31generally is that the AI
- 40:34space is a lot more open than you would first
- 40:38think. And there are probably a lot more
- 40:41aspects for innovation than people are realizing. I think
- 40:45people look at what a lot of big labs do and they get locked into
- 40:51I want to build a model, I want to do post training, I
- 40:55want to do something else. And then they end up throwing
- 40:59their attention there. But if you take a
- 41:02step back and try to look at the larger space, like we
- 41:06don't understand neural networks very well. What we're doing with reasoning, like
- 41:10we don't have inspectable reasoning, we don't have a lot of other stuff that
- 41:14other people have not solved yet. So
- 41:18if there is a problem that you really care about and you'd like to solve
- 41:21it, it's actually a really good
- 41:25time. And a lot of this will not require a lot of money to take
- 41:29a step back and say what is the industry ignoring and focusing
- 41:32your attention there? Because I do think sometimes
- 41:36people can be a bit narrow minded in what AI research looks like and what
- 41:40would AI researcher should do. And that's just a function of the
- 41:43fact that most influencers are not. The reason I laughed at the
- 41:47influencer comment earlier is because I don't. I'm not actually interested in
- 41:51being a content creator. I share my research online but
- 41:54my first job is to do research. Most influencers don't
- 41:58actually are pretty disconnected from the field. They're they actually
- 42:02rely entirely on whatever is public opinion
- 42:06to shape their thoughts. And that's why like most people are
- 42:10only exposed to three, four ideas or three, four big trends that
- 42:14are happening. But in this under the surface, like if you start digging into
- 42:18what problems are there to solve, you realize very quickly that
- 42:22pretty much anything is open. So that would just be my general
- 42:25opinion is that people are
- 42:29severely underestimating how open AI is and
- 42:33where all the areas they can come in and make a difference. So if there
- 42:36is anything, just look for those gaps and
- 42:40see what they can do there. Don't listen to all this
- 42:45hype around permanent underclasses and that AI will take
- 42:49everything and there's no point because Claude will take
- 42:52a job because we're not really ever going to be there.
- 42:57Yeah, we see this every time there's a major
- 43:00massive hype wave, right? Like I'm old enough to remember the dot com boom and
- 43:04the dot com crash, right? It certainly you can still
- 43:08walk into anywhere in America or most places around the world and go into a
- 43:11retail store, right? They still exist. Malls aren't what they
- 43:15used to be. But by the same token retail still
- 43:19is a thing. It really changed in a lot of ways.
- 43:23It evolved but the world didn't end for retail, brick and mortar and all
- 43:27that sort of thing, right? No, you're right. Like, and I like, I like the
- 43:30way you frame that is it's open in an opportunity space kind of way. Like
- 43:33I think you're right. I think we're very early on this and if you think
- 43:36about it, all the startups that we are, that are household
- 43:40names today are
- 43:4410, 15 years old. Maybe like Uber Lyft. Just look at
- 43:47your phone. Right. Most of the apps there, Amazon's probably the oldest
- 43:51of the crew and Google too. Right. But beyond that, a
- 43:55lot of the apps that we use, new services, Doordash,
- 43:58Instacart, these are not. These are relatively. And this
- 44:02was what the reason why I'm showcasing them is that when the dot com boom
- 44:06and bust happened, it was it. That was it. There was no more technology startups
- 44:09ever again. Right. It's the kind of the vibe of the early 2000s, but
- 44:13clearly that didn't happen. So I like the
- 44:16optimistic approach you have.
- 44:21Yeah, I just think people tend to be
- 44:24very quick to diminish what, yes, they could be
- 44:28capable of. I think people seem to be looking for
- 44:32excuses for not this, but I
- 44:35do think that there is a lot that can
- 44:39be done if you're so inclined to do it.
- 44:44No, that's a good way to. I like that. I like that approach. It's very
- 44:46optimistic. Right. It's very growth centric and opportunity seeking
- 44:50as opposed to stirring up your hands and waiting for your
- 44:54ubi. So with that,
- 44:57we'll end the show. That was great. Thank
- 45:01you for having me. Hey, no problem. This was great. Definitely curious about it.