Associates function essentially as agents: they receive a high-level task from a partner, research case law, summarize, and draft — and Harvey is building systems that mirror that workflow.
Gabe explains that the first day they got GPT-4, co-founder Winston spent 14 hours redoing associate tasks in a hacky agentic way, giving them the early intuition that the direction of legal AI is toward agentic systems that mirror how associates work — getting a task from a partner, researching, summarizing, and drafting. ✦ AI generated
Gabe Pereyra · No Priors · 2025-12-05 · original ↗
plays this moment only · 6:46 — 7:53
“Do you do that from a legal perspective or is that something that's a little bit more in the future where code is today?”
And actually, like when I was at DeepMind, a lot of the RL research I did was that. And so when we first got access to GPT-4, we had the very strong intuition of, okay, you're going to be able to string a bunch of these model calls or eventually do things like reasoning models where the full agent is differentiable. And even the first day we got access to GPT-4, Winston went in his room for 14 hours and just redid a bunch of his associate tasks. And when I looked at the work he was doing, it was essentially like this hacky agentic where he said, okay, I would need to go look up this case law, summarize it, take that summary, use it to draft. And so seeing him do that gave us the intuition very early on of that's the direction this is going. And you can kind of think of associates as agents. They get this task from a partner that's, hey, I have this high-level case strategy. I want to see if I can find a bunch of case law that supports it. Can you go research that, look it up, cite it, write me a memo? And so a lot of the systems we're starting to build look a lot like that.
verbatim transcript · starts at 6:46
(00:00:06) Gabe, thanks for doing this. (00:00:08) Of course. (00:00:08) Yeah, thanks for coming. (00:00:09) Maybe we can just start with, like, for anyone who hasn't heard of Harvey, what is the company? (00:00:14) Can you talk about the scale and who you serve today? (00:00:16) At Harvey, we're building AI for law firms and large in-house teams. (00:00:21) We're almost at 1000 customers, 500 employees. (00:00:24) Started about just over 3 1/2 years ago. (00:00:28) And so (00:00:29) been kind of scaling quickly since then. (00:00:30) And kind of you guys were some of our OG seed investors. (00:00:34) So yeah, good to be here. (00:00:36) Maybe from a most basic perspective on the product, why is it not just, you know, Copilot or ChatGPT or Claude? (00:00:44) Yeah, I think that's how the product started. (00:00:46) So when we first raised from OpenAI, we got access to GPT-4 and (00:00:52) I think GPT-3 to GPT-4 was such a big model jump that the intuition at the time was just give the model to lawyers and have them play with it. (00:01:01) And I think that industry was so text heavy that you got so much value from just interacting with the models. (00:01:10) And then I think as soon as you gave it to lawyers, you also ran into all of the sharp edges of the models of they hallucinate, they're not connected to a bunch of our context. (00:01:20) And so I would say the past, the kind of first two years of the company were how do we build essentially the IDE for lawyers around these models that connect it to all of the contexts you need to be productive as an individual lawyer. (00:01:33) But I would say in the past year and going forward, the big problem we're solving is not how do you make individual lawyers more productive? (00:01:40) It's how do you make a team of lawyers working on a client matter more productive? (00:01:44) And more importantly, how do you make an entire law firm working on thousands of these client matters (00:01:49) more productive and more profitable. (00:01:52) And so I think when you get to that scale, a lot of the problems you're solving are not just model intelligence problems. (00:01:57) They are these orchestration, governance, and kind of all of the enterprise product problems that you run into at scale. (00:02:04) You've also been broadening from just law firms into enterprises and to big companies using you in concert with both their in-house legal teams and external counsel. (00:02:12) Can you talk more about that and how that's been evolving as well? (00:02:15) Yeah, so we started selling to the largest law firms. (00:02:19) And something that started happening about a year and a half ago was these law firms started showing Harvey to their clients. (00:02:26) And their clients both wanted to collaborate more effectively with their law firms, and they also wanted to use this directly in their in-house departments. (00:02:34) So we recently announced, we signed Walmart, we're working with AT&T, a bunch of these Fortune 500 large private equity firms, Global 2000, kind of the largest consumers of legal services. (00:02:47) And what we're starting to build is a platform for the in-house teams to do the work that they do internally. (00:02:54) So things like contracting and this long tail of all of the legal operations you need to do that you typically don't send out to law firms, but also the collaborative tissue of, I'm working on a large transactional litigation. (00:03:08) I need outside expertise. (00:03:10) I want to securely share this data with my law firm. (00:03:13) And there's a lot of (00:03:14) technical problems there around security data privacy that we want to solve so these law firms and their clients can collaborate effectively? (00:03:22) I think for, we have a largely technical audience, but also most people don't know exactly what legal workflow looks like. (00:03:31) I think before we really started working together, I imagined it as just like, well, what do you mean? (00:03:35) I like e-mail my lawyer and he thinks about it and reads a document and then sends something back, right? (00:03:40) And there's like redlining involved somewhere and maybe there's negotiation. (00:03:44) Can you paint a picture of just what workflow means to you guys? (00:03:48) Yeah, and I think a lot of people, when they think about legal, they think of consumer legal. (00:03:53) And so I have a lease and I need to get input on that. (00:03:57) That's completely different than what these massive law firms are doing. (00:04:01) And so I think a really good example of what these firms are doing that, I mean, you guys will be familiar with, and I think a lot of (00:04:08) people in the startup space will be familiar with is what law firms do for venture capital firms or private equity firms. (00:04:16) And so VCs, PE firms, they do 2 main things. (00:04:20) You raise money and you invest it. (00:04:22) And so the mainly. (00:04:23) And we do podcasts. (00:04:24) And podcasts, which is actually important, but there's less legal work there. (00:04:28) And the important things you need to do there are fund formation. (00:04:31) So how do I structure the entity that is going to hold all that money? (00:04:35) And it sounds easy, but if you're a large private equity firm, you have a sovereign wealth fund that comes in and they say, we need to structure it in this way because of tax implications. (00:04:44) Then you have a pension fund that has these other requirements. (00:04:47) And so it ends up being this incredibly complex process of (00:04:50) How do you draft the limited partnership agreement, which can be 100 pages? (00:04:54) Every investor that's investing, you can have 100, and they all have side letters that modify that. (00:04:59) And you need to understand if I modify it this way, it's going to have these implications. (00:05:03) And a lot of it is the project management that also goes around coordinating all of these products if you're raising, you know, a billion dollar fund. (00:05:10) And then once you've created that fund, there's all the investments you do out of that fund. (00:05:14) And so, for example, when we did any of our series, you need to get a data room, we share a bunch of data, you look at that, you need to understand the contracts we have to make sure that the revenue we say we have is actually structured in the way we've claimed. (00:05:29) And are there litigation, all these things. (00:05:32) And so it's this massively complex process of (00:05:35) understanding, and I think one analogy you can think of understanding a code base, but the code base is all of these contracts and all this legal work. (00:05:44) And I think the reason legal is so difficult is the workflows aren't structured. (00:05:50) So the same way with programming, it's really hard until these models to build tools for programmers. (00:05:55) You basically just had an ID and then programmers did stuff in all the different languages, but you didn't have like, oh, here's a tool for Python, here's a tool for C. (00:06:04) Legal is kind of the same way. (00:06:06) And so I think a lot of why you're seeing traction in programming and legal is I think there's a lot of analogies of these workflows, of they're so text heavy. (00:06:15) and the workflows, until you had these models, you couldn't structure them in the way I think you can now. (00:06:20) So one of the directions that people are going on the coding side is to build things that are being called like agentic. (00:06:25) And it's very early on in terms of what agentic means, but basically being able to deconstruct a logic tree in terms of what are the set of actions that you need to take in a certain situation. (00:06:34) And then having the AI agent go back and sort of check each one of those items, do it, go on to the next item, double check it against the prior one. (00:06:42) Do you do that from a legal perspective or is that something that's a little bit more in the future (00:06:45) where code is today. (00:06:46) Yeah, we're starting to do this now. (00:06:48) And actually, like when I was at DeepMind, a lot of the RL research I did was that. (00:06:55) And so when we first got access to GPT-4, we had the very strong intuition of, okay, you're going to be able to string a bunch of these model calls or eventually do things like reasoning models where the full agent is differentiable. (00:07:08) And even the first day we got access to GPT-4, (00:07:12) Winston went in his room for 14 hours and just redid a bunch of his associate tasks. (00:07:17) And when I looked at the work he was doing, it was essentially like this hackeogentic where he said, okay, I would need to go look up this case law, summarize it, take that summary, use it to draft. (00:07:28) And so seeing him do that gave us the intuition very early on of that's the direction this is going. (00:07:34) And you can kind of think of associates as, (00:07:37) agents. (00:07:37) They get this task from a partner that's, hey, I have this high-level case strategy. (00:07:42) I want to see if I can find a bunch of case law that supports it. (00:07:45) Can you go research that, look it up, cite it, write me a memo? (00:07:49) And so a lot of the systems we're starting to build look a lot like that. (00:07:52) And (00:07:53) I think one interesting direction that the coding labs, the research labs are going is building these RL environments where you deploy these agents and they can interact with a code base and see if they can pass unit tests. (00:08:05) And in legal, that RL environment is a client matter. (00:08:09) So you have all of the context of a fund formation, an acquisition, a litigation, and the models are starting to learn (00:08:17) Let me go in the document management system and see if I can find this, go in the data room or do case law research, get feedback from a partner. (00:08:25) And so I think that research direction is super, super interesting. (00:08:28) It's really interesting you make the associate analogy, because I remember when I led your guys' Series B, which I think was maybe two years ago now, it was a while ago, I called a lot of your big customers and talked to the head of the law firm or talked to the head of some of these institutions. (00:08:43) And one of the things that I thought was really striking is, number one, they were adopting legal software, which before was really hard to sell into them. (00:08:49) And because of what you were doing, being so striking and important, they were adopting you really fast. (00:08:53) The second is, they weren't... (00:08:56) threatened by it. (00:08:57) And I thought, oh, they'd be threatened because it may augment or eventually replace certain aspects of law, et cetera, or help sort of change that dramatically. (00:09:05) And one of the insights they kept bringing up that I thought was really interesting is they said, as we think ahead, as this sort of AI tooling and agentic workflow spread through Harvey and companies like you, how do you think about the future of a law firm? (00:09:18) Because instead of hiring 100 associates, of which you assume 10 will be partners eventually, maybe you only need 50, maybe you only need 20. (00:09:25) And so are you even hiring enough people to know who'd be a great partner? (00:09:28) Yeah. (00:09:29) Because you're going to shrink the set of people that are needed to do certain tasks over time. (00:09:32) Right now, that isn't true. (00:09:33) It's augmentation, it's expanding business, but that could happen in the long run. (00:09:37) How do you think about the future of law or what law firms will look like or the evolution of all that? (00:09:41) Yeah, this is a great question. (00:09:43) I think it's changed a lot in the past couple of years. (00:09:47) I think something we are starting to talk with law firms a lot is (00:09:51) how do we think of training the future generation of partners where to your point, these law firms have these leverage ratios where you have a lot of associates, but much less partners. (00:10:00) And there is value to that because not everyone is going to become a partner. (00:10:04) And part of going through that process is how you find, oh, this is the person that I would trust to do this very complex acquisition because they've gone through that experience. (00:10:13) And so I think the part I'm optimistic about is if I think about, (00:10:18) Over 10 years ago, when I learned to program, it was super painful, right? (00:10:23) Like you had to go on Stack Overflow. (00:10:25) It was hard to learn multiple languages because you're like, okay, I'm just going to like learn Python. (00:10:28) I'm going to learn TensorFlow or something. (00:10:30) It was just like hard to even learn that. (00:10:32) It was hard to ask questions. (00:10:33) When I was at Google, you don't want to ask a bunch of questions because people would be like, oh, you don't know that. (00:10:38) You get stuck all the time. (00:10:39) Yeah, exactly. (00:10:39) And now with the models, it's like programming is so (00:10:43) fun to learn because you can just be like, here's how to write this in Python, translate it. (00:10:47) Why is it written this way? (00:10:48) And you can learn this so much more quickly. (00:10:51) And we see lawyers doing that with Harvey, where they'll say, generate this merger agreement. (00:10:56) Why did we structure it that way? (00:10:57) And so we're already starting to see some of that. (00:11:00) But I think the really big opportunity for law firms is how do they take all of the internal partner feedback and data that they've created and use that to start training? (00:11:10) I think that's one big piece. (00:11:11) I think another conversation we're having is, to your point, how do you just generally start restructuring firms? (00:11:18) I think this is 1 where we have some intuitions, but a lot of it is going to depend on the firm, the region, the size, their specialty, the types of clients they serve. (00:11:28) I think one of the things that's very challenging with law firms is (00:11:32) They are really a collection of all these practice areas. (00:11:35) And so the firms that specialize in litigation look different than the firms that specialize in large transactions versus like mid-sized transactions. (00:11:43) And usually the big firms do a collection of these. (00:11:46) And so a lot of what we're spending time is practice area by practice area. (00:11:49) Can we go and sit with, here's the fund formation group and their private equity clients and start thinking about what that would look like in terms of the workflows, the staffing, the pricing, (00:12:00) And I think it is a really interesting problem where a lot of the value in the product and the platform is not just the product itself, but how do we help enable these firms to transform? (00:12:13) And so when you think about it from that perspective, like our goal is how do we make these law firms more profitable? (00:12:20) And it's not just a product problem, it's thinking about their holistic business and where do we fit in kind of that bigger picture. (00:12:26) Yeah, it's really interesting because when you look at the set of functions that a partner fills, (00:12:30) And I'm thinking in particular of consulting firms and less about law firms, simply because I'm a little bit more familiar with consultancies. (00:12:37) Some of it's the pattern recognition, the high level thinking, the strategy, and then part of it is like the sales and really being able to make that client connection. (00:12:45) And so it's interesting to your point, think about more broadly, how can AI augment all parts of their business versus just the legal workflows. (00:12:51) Yeah, and to your point, I don't think that part changes where it's like when we think of the, like we're now (00:12:57) larger consumers of legal services. (00:12:59) And when we think of the best partners we've worked with, I don't think the models are doing what they do anytime soon. (00:13:05) And I think what's interesting is I think the role of law firm partners actually doesn't change that much in the same way I don't think the role of very senior engineers changes with this because you're largely delegating work. (00:13:17) And what you're getting paid to do is here's the high level strategy, here's the right abstractions. (00:13:22) go write the code or do the legal research to help me do it, and I will interface with the client. (00:13:27) And so I think that my guess is that doesn't change too much, but some of the lower level functions do change because of this technology. (00:13:35) One of the things that you said that I thought was interesting, like in another conversation that we were having was that there's an analogy that you could make between like a great senior partner, like a Gordon Moody type, and like a distinguished engineer working on systems at Google. (00:13:49) Right? (00:13:50) I think for a more technical audience or just a general business audience that doesn't really know what Gordon Moody does, they might assume what Allad said, which is like, isn't like 50% of that like his network, right? (00:14:00) Or his reputation. (00:14:02) But what you were pointing out is like there's expertise and the ability to predict like a sequence of arguments that is going to like get you to the answer you want or manage risk. (00:14:11) Exactly. (00:14:12) How does that translate to an RL environment or a task for you? (00:14:17) Yeah, that's a good question. (00:14:18) So for maybe for background context for the audience, Gordon Moody was a partner at Wachtel, which is one of the top transactional firms in the world that joined us early on and is now an advisor. (00:14:29) And (00:14:31) kind of the analogy I was giving is why is a senior distinguished distributed systems engineer at Google so valuable? (00:14:40) And a lot of it is the experience they have architecting these systems that none of this is public. (00:14:46) This won't go into the models for a long time. (00:14:48) And so if you're building search at Google, these people can just point out, hey, if you build this system this way at this scale, it's going to collapse for some reason that is super not intuitive. (00:14:58) And (00:14:59) One of the examples that Gordon talked about early on was he was a part of when Michael Dell took Dell private and then restructured it and took it public again. (00:15:11) And this was like a multi-year, super complex financial and legal restructuring of an incredibly large business. (00:15:20) And what he, when you talk with him, is incredibly good at, it's the same feeling as when you talk with a very senior engineer, where he can just, he has the whole picture of this legal entity in his head. (00:15:31) At the time, they had to do the largest debt offering of all time. (00:15:34) They had to create, they had to invent a new financial instrument. (00:15:37) And so it's just understanding if I need to raise this much money to do this part of the transaction, (00:15:42) this is how I would structure it. (00:15:44) And so a lot of the value he brings is not just the relationship, but it's just that technical understanding of how you architect these things the same way that how you architect like very large software projects. (00:15:56) And I think when that translates to an RL environment, part of what is missing from the public models is the process (00:16:06) of looking at one of these entities and figuring out, given all of the context of, I want to do this merger, this is the right way to structure it, just that process. (00:16:18) That's a reasoning trace, right? (00:16:19) Like for an expert, just like it would be in code. (00:16:21) Yeah, and if you looked at that data set for one of those transactions, it would be, client comes to Gordon, says, I want to do this large merger acquisition, and then there would be meetings and emails talking about, okay, this is the background of the two companies, (00:16:36) roughly how we would structure them. (00:16:38) These are all the things we need to look into. (00:16:40) And a lot of the data would be Gordon giving these tasks to associates to say, okay, look into these risk factors of similar transactions we've done. (00:16:48) They would do research and say, okay, maybe we could structure it this way. (00:16:52) And then he would point out this really subtle thing that, hey, actually in this case, if you structured it this way, this thing's going to happen. (00:16:58) But none of that shows up. (00:17:01) all you get from these public mergers is like an SEC filing. (00:17:05) And so you do see the final result, but most of the value or what you need, I think, to eventually improve these models is the decision-making process, the same way you need these reasoning traces to train these models to do kind of any of these reasoning tasks. (00:17:20) One of the, as you mentioned, like the labs are all very focused on RL scaling in (00:17:29) like coding and math domains. (00:17:30) I think those is like highly verifiable, right? (00:17:33) Not perfectly so, but like how do you think about the appropriateness of like law for RL, given it's not as easily verifiable? (00:17:42) Yeah, this is one of the biggest problems. (00:17:43) And I remember we had conversations early on when we were trying to figure out what is the right evaluation structure. (00:17:49) So I think the hardest thing about legal is most of these tasks are very long form text generation. (00:17:57) And so there are definitely subsets of legal work that are super verifiable of go in this data room and just find all the change of control provisions that you can kind of build these traditional data sets. (00:18:08) But for something like generate this merger agreement, it's really hard to just give some binary like this is good or this is bad. (00:18:16) And I think this has been like a big research problem, like with all the labs we work with and also internally, there is just this open question of how do you build (00:18:24) that reward function. (00:18:25) And if you think of what that reward function is at the law firms, it's the partners, right? (00:18:29) Like at the end of the day, there is no way to verify this besides the senior partner who's done a bunch of these said, yeah, this looks pretty good. (00:18:37) And so internally, these law firms have a bunch of data of here's all the edits that went into this and the feedback. (00:18:43) And so we are starting to think about how do you use that to train these reward functions. (00:18:48) But I would say that is one of the really big problems. (00:18:52) But I think one of the interesting things is, I think you actually have the same problem in programming, where I think in the short term, programming is verifiable, where you can look at unit tests. (00:19:03) But once you get into real software engineering, like the unit, there is no unit test. (00:19:07) It's like I deployed system design. (00:19:09) Yeah, it's like I deployed this and a million users used it for six months and it didn't crash. (00:19:14) And so you get, and it's like mergers are the same where it's like, you can make sure the filing is correct, but at the end of the day, it's like three years later, the companies are still merged and they didn't take on litigation they didn't expect or something like that. (00:19:26) And it's like, that is eventually the really valuable human experience, right? (00:19:30) That's what you pay really good software engineers or really good lawyers. (00:19:33) where they have that decade-long track record of they can build these systems and they haven't fallen apart. (00:19:39) And a lot of these stuff, the same way you can't unit test, it's like hard to verify. (00:19:43) So it is, I think, this really interesting open research problem. (00:19:46) One thing that you guys are doing on sort of the other end from pushing the bounds of what Harvey products and the models can do is like just get them deployed. (00:19:58) And you recently started this for deployed engineering force. (00:20:03) This is confusing to me because I'm like, well, you're not necessarily like an application building company, which is how people have traditionally thought of FTE. (00:20:11) Like, why are you doing this? (00:20:13) I would say the model that we're operating under is not a full Palantir, let's go into the code base and kind of build custom software. (00:20:23) I would say this is closer to like Sierra's agent engineering program, but what we're starting to run into a lot is (00:20:32) I think early on we did a really good job of building a horizontal platform. (00:20:36) We did not that much customization for customers in the sense of building specific things for specific customers. (00:20:45) I think the thing that was nice about legal was we could build things like Workflow Builder and things into the product that would let customers customize the product. (00:20:55) And then for very large customers like PWC, we did some customization. (00:21:00) But now we're getting to the point where when we're starting to talk with law firms about, hey, we want to take a bunch of this data and help you build a model or build agents. (00:21:09) There is some amount of, we need to go in this environment, into your environment and figure out how to connect all the data. (00:21:15) We're starting to connect to a lot of their business systems, so their billing systems, governance systems. (00:21:21) And then especially when we start working with the Walmarts, the very large banks, the Fortune 500, (00:21:27) They're much less standardized than these law firms. (00:21:30) And so there is just this massive amount of work where we go to a large bank and they say, we don't have any document management system for our legal department. (00:21:37) Can you just build us one? (00:21:39) And there is a massive amount of demand of, we just want smart technical people to sit here and help us think about (00:21:49) our business and our operations and how we should start mapping that into Gen. (00:21:54) AI systems. (00:21:55) And for us, it's a really good way to figure out the roadmap where, for example, Blue Owl is like one of the fastest growing private equity firms that we recently started working with. (00:22:06) And (00:22:07) They, we meet with them all the time and they're just like, there's all these things that we feel like we could map into Gen. (00:22:13) AI. (00:22:14) We don't quite know what it's going to look like, but let's just sit together and figure it out. (00:22:18) And so I would say that's a lot of the genesis of the program of how do we just get more people that can work with all these customers and start kind of paving the way of some of these new roadmaps in different verticals. (00:22:28) Yeah, I think what you're describing too is a very standard enterprise playbook. (00:22:33) And I think in Silicon Valley, people almost forgot because of the SaaS era. (00:22:37) that if you're Oracle, if you're Dell, if you're IBM, if you're any of these larger organizations, this is how you sell software. (00:22:44) Exactly. (00:22:45) Right? (00:22:45) You have a platform, you have a bunch of customization around it. (00:22:47) People have bespoke data sets. (00:22:48) They may not always have the ability internally or enough people to implement certain connectors or systems. (00:22:53) Right. (00:22:53) And this is like the standard way to do it. (00:22:55) And then as you do it over and over again, you start repeatedly turning that into part of the platform. (00:22:58) Right. (00:22:59) And I think a lot of these started with doing something that resembled FD, and then you get big enough that you get this like implementation. (00:23:07) ecosystem. (00:23:08) There's all these third parties that will come in and implement. (00:23:11) They'll be like the certified like vendor or whatever. (00:23:14) Exactly. (00:23:14) And I think the interesting thing we're actually starting to see is law firms are starting to do this for their in-house clients. (00:23:20) So they're starting to go and take Harvey and go to their clients and say, hey, buy Harvey and we'll help you build all the workflows and implement it because we have the scale and the expertise to build this where typically these in-house teams, the smaller ones don't have like the budget or the in-house to build this. (00:23:36) And so I think there is kind of a lot of that could be a good revenue driver for the law firms that you work with in terms of a new line of business that they can offer. (00:23:43) Yeah, and some of them are starting to think about it that way. (00:23:45) Yeah. (00:23:46) I was really struck by, it wasn't, I don't know if it was day zero, you can correct me, but it was within the first year where the very first version of Harvey was really an individual lawyer productivity tool, right? (00:23:57) I'm an associate.
- ·Legal associates mirror the agentic workflow: receive high-level task from a partner, research, summarize, draft
- ·Harvey's early intuition came from Winston's 14-hour GPT-4 hack session redoing associate tasks
- ·Harvey is building systems that replicate this partner-to-associate pattern
- ·Partner gives high-level case strategy to associate
- ·Associate researches case law, summarizes findings, drafts a memo
- ·Harvey's systems are designed to mirror this exact task chain