Gold Standard Leadership
BDO's Legal Tech Talk
BDO's Legal Tech Talk / Season 4

Democratizing Legal Knowledge in the Age of AI

BDO's Legal Tech Talk · Season 4, Episode 23 · October 27, 2026 · 10,057-word transcript
Listen on Apple Podcasts Listen on Spotify BDO episode hub
Host: Daniel Gold, BDO
Co-host: Eric Derk, BDO
Guest: Damien Riehl, Clio

About this episode

Daniel Gold and Eric Derk talk with Damien Riehl, lawyer, coder since 1985, former vLex executive and now Solutions Champion at Clio. Damien explains how he built the SALI and FOLIO open legal taxonomies, how docket analytics can predict a judge's ruling, why he argues court data should be free, and how his project to brute-force every possible melody connects to legal outcomes and creative lawyering.

Key takeaways

Full transcript

Transcript from BDO's published episode, edited for transcription errors. Speaker labels added by Gold Standard Leadership.

Show open

Welcome to BDO's Legal Tech Talk podcast. We're joined by judges and legal professionals to discuss emerging trends, regulatory updates, and the latest headlines. We'll provide tips to help your law firms and legal departments make the most out of legal technology.

Daniel Gold

I'm Daniel Gold, BDO Principal and eDiscovery Managed Services leader.

Eric Derk

And I'm Eric Derk, BDO's Managing Director of Legal Operations. Let's get started with this episode's exciting discussion.

Daniel Gold

And welcome back to another episode of BDO Legal Tech Talk. I'm Daniel Gold, joined as always by my cohost, Eric Derk. And our guest today is Damien Riehl. And, look, there is literally no simple way to describe what he does because he has spent his career moving across law, technology, music.

Yes. I just said music. Data and access to justice and then finding the through line and the connections that literally all of us miss. And Damien, by background, surprisingly, is a lawyer, and he's practiced complex litigation.

He's been a coder since 1985, and what that means for all of you who have been around since 1985 is that he was coding on a Commodore computer. You don't know what that is, Wikipedia is your friend. And he's also a former digital forensics leader. He was VP at vLex, which was, if you followed the headlines, acquired by Clio at a small price of $1,000,000,000, which is the biggest legal tech deal ever done.

And now he's the solutions champion at Clio, but there's more. And I don't mean this this... You know, the appropriations I'm throwing out here in the... My introduction here to Damien is worthwhile because it's gonna set the groundwork in the playground for what we're gonna be talking about. One of the things that Damien's done is help build legal AI across an enormous global legal corpus. He's helped expand what he's gonna talk about, which is SALI, legal data taxonomy to more than 18,000 tags. This is gonna be something we'll get into. He's worked through FOLIO and other public interest initiatives to make legal knowledge and AI systems more open and accessible, something I'm keenly interested in diving into. And above all of that, he's the cocreator of all the music.

And if that doesn't ring a weird bell to you, it should because the project actually used an algorithm to generate hundreds of billions of melodies and release them to the public name, turning music theory code copyright law into one of the most... Literally one of the most memorable TED talks I've seen.

Eric Derk

So cool.

Daniel Gold

And if you haven't watched it, it's like 56,000 views.

Eric Derk

I just gushed over it when I saw it because I love music. It's just really awesome.

Daniel Gold

It's just amazing. Okay. So look. I think one of the best ways, Eric, to really sum this up, this whole introduction of Damien, is what the one and only Elon Musk said about Damien in three words, and which was this guy rocks. Damien, welcome to BDO Legal Tech Talk. It's great to have you.

Damien Riehl

Thank you so much. I'm really thrilled to be here. And a follow-up to that is my buddy said that Elon Musk has horrible, horrible judgment, including this one. Doesn't have good judgment at all. He...

Eric Derk

But it doesn't matter, Damien, because perception's everything. And if Elon Musk says that about you... Look. Press is press, man. I mean, just take it as it is.

Damien Riehl

Yeah. A 100%. Yeah.

Daniel Gold

Yeah. So, look.

You have described yourself and I described you in the introduction as a lawyer, a musician, and what I love is your humble ground here, a mediocre coder even though you've been coding since '85.

I want you to please take us back to the beginning. What happened in your origin story that made these three identities converge in the way that they have?

Damien Riehl

Sure. So I am a mediocre coder. Anyone who works with me will attest to that. But really these days as I...

With vibe coding, I really don't need to be a good coder. You need to know exactly...

You know, you need to know generally how the code works and then you just tell the AI to do the things because even the best Silicon Valley coders are not reviewing code these days. They're just saying requirements and then looking at the outputs. So I would say that, yes, I am indeed a mediocre coder, and I have been since 1985. But I've always had a technical mindset that is, you know, instead of going out and playing with my friends, I'd be on my Commodore 128, and I would, you know, spend three hours to try to get pixels to the right to make a circle, and then I would rejoice that I'd made a circle in my Commodore 128.

So...

And then fast forward to, you know, the nineteen nineties where I was building websites and building out databases for my university. And then when I went to law school, I was building out CD ROMs for my professors' books to be able to have interactive CD ROMs. So throughout my entire career, I've always had the tech plus law. And I will say that I am maybe one of the worst coders on the planet.

But even, like, before I was in law school, I worked for a judge. I worked for, the United States District Court for the District of North Dakota. Part of that was building out their database of all the judicial opinions that had been scanned. I had to be scanned.

So I scanned the judicial opinions, created a database that could be searched, and go back to the beginning of time. And so while I was doing that, was thinking about going to law school, and I talked to one of the judges that I was working for, and I said, I think I wanna work for Thomson Reuters. Guess at that point, West Publishing, which was...

You know, I was in North Dakota. That was in Minnesota just down the street. And that judge said, you know, if you do legal tech, that's gonna be the worst decision you've ever made in your career because nobody respects legal tech. You know, you...

Be a lawyer and be a good lawyer and do not go down the legal tech route. So that was in 1998. So I did. You know, I graduated from law school.

I worked for a state appellate judge and a federal district court judge. I worked for a great law firm, Robins Kaplan. But always, I'd been gnawing at me saying that this legal technology, law could be better. That is all of the drudgery that I was doing as a lawyer.

I thought this could be made better. So in 2015, that's when I pitched Thomson Reuters. I said, here's legal tech that I think can change the world. You should build it and hire me, they were dumb enough to do that.

So that in 2015 is how I started my legal tech journey.

Daniel Gold

You did clerkships. You've done so many different things from clerkships to complex litigation, product development, cyber, digital forensics, legal AI.

And I met you when you were at vLex, and I think one of the things that always kind of just struck me is this access to... We talk about a lot about access to tech, access to justice, access to knowledge, and, you know, the Internet has brought a lot of forward for lots of people. But AI is still kind of on the... I would say, for many people in the legal space, AI is still being kind of seen as a frontier-ish type thing. Not for everybody, but when you started to kind of think about, like, the mission about the democracies that... And the democratization of tech and AI, how did you start to think about, like, what you need to build and try to commercialize and sell the lawyers by what did you think that you should try to give away? Like, how how do you balance that?

Damien Riehl

Sure. So, yeah. The democratization is something that, you know, my friend Daza Greenwood out of MIT, I guess now Stanford, he talks about when the courts decided to outsource their publishing of their judicial opinions to Thomson Reuters and LexisNexis, he said that that's the original sin of the legal profession. At that point, that law was not democratized, but instead put behind a paywall.

So anyway, so that's kind of the backdrop. So when I went to go into legal tech, I thought, well, I wanna go to a company that has the corpus of the cases, the statutes, and the regulations. At that point, I thought I have two choices. I could work for Thomson Reuters or I could work for LexisNexis.

And, of course, Thomson Reuters was down the street. So that's when I, you know, decided with that. But then, of course, there was a third option that I didn't know about at the time, but that's Fastcase. That is in 1999, Ed Walters and Phil Rosenthal were associates at Covington, big law firm.

And they said, why are there only two options for this? We should democratize the law. We should have a third option where we could have, you know, solo small lawyers don't have to pay Westlaw bills or Lexis bills to do this. So they, in 1999, started democratizing the law.

And then fast forward to, you know, CaseText before they got acquired from Thomson Reuters. They got all their data from Fastcase. So Fastcase was a distributor of this law democratizing into CaseText, and, of course, CaseText then sold to Topps and Reuters for $615,000,000. So this whole idea of, you know, the law should be free.

And because we as lawyers know that there's a saying that the ignorance of the law is no excuse. You're bound by the law whether you know it or not. But then what's the excuse of locking that same wall behind a paywall?

We should truly democratize the law because it binds every one of us. So anyways, so I've always had this kind of democratization of the law. And then there's also the democratization of the code. That is, you know, the West Publishing had over a 100, they had the West Key Number system and still have the West Key Number system.

And I, as the lawyer, loved the West Key Number system because it's been classified. All the cases were saying, you know, if I have a negligence case, it's tagged with negligence. And if it's got this element of negligence, it's tagged with that. So I thought this is beautiful.

This is amazing. So while I was at Thomson Reuters, I thought this is one of our key jewels. And I said, you know, there should be something like this, but in the public domain. So it's not locked behind a paywall.

So I, from scratch, I did not copy anything. I, from scratch, built from first principles, essentially, what are all the causes of action? And the way that I did that is going through the jury instructions for California, New York, Texas, Florida, Illinois, and a whole bunch of others. And I collected all the causes of action and put that into SALI.

And I built SALI up from 1,000 items to now 18,000 things, everything that matters to the business of law and to the substance of law. And we made it all free and open source under the MIT license. So all you have to do is to be able to give attribution to SALI, and you can fork it and do whatever you'd like with it. So because it was free and open source, that was the only way that we got a whole bunch of people to adopt it.

Thomson Reuters is using SALI. LexisNexis is using SALI. iManage, NetDocuments, Microsoft in house, Intel in house, and all the biggest law firms in the world are all coalescing around the SALI standard only because it's free and open source. If it were a restrictive license, nobody would adopt it because they would say, well, I don't wanna have a liability of SALI suing me if I do something wrong.

So it's only because it's MIT licensed, only because it's free can it be adopted. And so really that's that democratization of the taxonomy, SALI, was thing number one. And then when I started doing FOLIO, FOLIO is a fork of SALI. And so we essentially took the MIT license.

We now give attribution to SALI, but we're...

Now we're building on the FOLIO side. And what we're doing on...

Is not only building out more of the taxonomy, we're also building the tooling that goes along with the taxonomy. So since January, I've been vibe coding like crazy that...

Where you can upload a document into a tool I built called FOLIO Enrich, and it will tag up that this is a motion to dismiss for breach of contract in the Southern District Of New York. And it will tag up this is a merger agreement with a force majeure clause in China. That all of those are now tagged up programmatically using a thing called FOLIO Enrich, and that's all free and open source, MIT license. I also built another tool that's free and open source called FolioMapper, where so often I worked with law firms that said, hey.

Can you map our internal crappy taxonomy to SALI's taxonomy? It would take me a weekend to do that. So I built a tool where you just upload your Excel spreadsheet of your crappy taxonomy, and it will map it to SALI FOLIO's taxonomy. I'm building this out because I want it to be distributed.

Because I think in the age of vibe coding, I think there's really not gonna be much value to software as a service or to software generally. If I can vibe...

And I literally vibe coded each of those things that I just told you in a weekend, then it would have taken me, you know, a dozen coders and a year at Thomson Reuters because it would have cost me a lot of money at Thomson Reuters. You would have to recoup that investment in the old...

But in the new world, it doesn't cost millions of dollars. I did it on a weekend. Therefore, I can give it away free and open source. So I think that's gonna be the way the world...

Free and open source is going to be the way of the world. And I think what we as humans are gonna be able to charge for is services on top of that free and open source software. So if you want me to implement FOLIO for you, my time is scarce, therefore valuable. You can pay for my time, but don't pay me for the software or the taxonomy.

Eric Derk

Damien, I need to take several giant steps backwards here for the benefit of everyone listening. So first, let's go through some definitions. I wanted you to define, SALI, what the acronym means, and then also I'd like you to define folio, and then let me dig into what you just said.

Damien Riehl

Yeah. So, SALI is the standards advancement for the legal industry. So this is something that was, founded in 2017. The whole idea back in the day is that we need interoperability between company number one, company number two, and company number 20. For that interoperability, you need to put a unique identifier on every single concept, Like motion to dismiss should have a unique identifier. The goal in 2017 is that if I run an API request to Thomson Reuters and send that unique identifier, Thomson Reuters will send me all of my motions to dismiss and then change that to Clio, that same identifier, that same API call to Clio, and I'll send you all of my motions to dismiss. So the idea is that the concept of motion to dismiss should have a unique identifier even though in California, a motion to dismiss is called a demur.

So what SALI does and the way we built it is on something called RDFS OWL. And through that, you can say, yes, it's a motion to dismiss, but a synonym in California is called demur. And some jurisdictions call it motion to terminate. But all of them have the same unique identifier that is this unique identifier for the SALI identifier.

So, anyway, so SALI is an interoperability standard where you're taking all of the concepts that matter to the substance of law, motion to dismiss and a merger agreement, and to the business of law, flat fee billing, hourly billing, etcetera. So we have 18,000 of those with...

We did with SALI, and now we've worked it to create FOLIO. FOLIO is the openlegalstandard.org, and it's open legal information ontology. Right.

It's a it's a acronym. So FOLIO...

And the joke on that is that, you know, you have a portfolio of different taxonomies. That is all of the law firms and legal tech companies and in house counsel all have their own taxonomies. So FOLIO is essentially a portfolio that can be able to make those all interoperable.

Daniel Gold

Isn't there some irony here, though? So this is... What I find so interesting is...

And this is... Goes back to you and I both lawyers. This goes back very, very long ago when West and others were producing books.

And how these books... Order to have the access to the information about case law, about statutes, you wanna look up the CFR, you want to look up whatever it is, the code, you had to go to the book and you had to go to the slip page, you know, and you pay a subscription in order to get the updates. Right? This was when everything was paper based, and it cost money to do that. And what your argument is basically, why is it that this cost any money? Why are companies profiting from this when it's public domain information and should be readily available? Correct?

Damien Riehl

And that's exactly right. Yeah. And also that's number one, the law should be readily available. And number two, the tagging up of the law should also be readily available. Because people are making a lot of money going into law firms and being able to say, I'll tag up all of your contracts or I'll tag up all of your litigation documents with motion to dismiss for breach of contract and I'll charge you a lot of money for that. What essentially Fully Enriched does is makes that free and open source.

But you worked at vLex where one of the products of vLex was Docket Alarm and Docket Alarm is a paid subscription service that you have to paid in order to gain access to publicly accessible docs and documents through local county as well as federal courts. So the irony, though, is that you were making money off of the ability to charge people and organizes the public information, but now you're giving away all the public information.

Well, so the public information, there's two types of information. One is the structure of the data that a SALI FOLIO is, I'm giving away for free. But then there's the data itself. That is the motion to dismiss from the Southern District of New York for breach of contract.

Those are two distinct things. Right? Number one, the taxonomy is free and open source because we made it open source. And then number two, the tooling to implement that taxonomy is free and open source.

But the data itself, that is the motion, the PDF that represents that motion dismiss, that data is scarce, therefore valuable. And that's what Clio Dockets now, formerly Docket Alarm, has.

I think the other thing, Daniel, is that the intelligence layer is the technology. And the way in which Doc Alarm and Vincent work is that it... It's almost like the data is just the data. Right? It's the how the technology interrogates the data through algorithms and AI that really make that product, I think, special.

But also that's the commercial aspect of the product as opposed to saying like, oh, we'll just...

We're gonna buy for a subscription. It's not just about getting access to the data. It's more about what's the intelligence layer, what's the AI do, what are the algorithms that I can use to build and interrogate and build a better position for my client? That to me is like that fourth variable that...

Eric Derk

I hear what you're saying, Daniel, and it is an interesting concept that Damien brings up. Like, well, why are these people getting paid all this money to go into these companies and build tagging systems that essentially should be public or at least open source. I agree with that. But I just also wanna ask you, Damien, to give people a sense of, like, what's an algorithm?

Because I wanna get into talking about AI and what your future thoughts are on where.

And I really wanna talk about your TED Talk about music because I think that there's alignments to legal that you bring forward in your Melody TED Talk. But first and foremost, what's an algorithm?

Damien Riehl

So an algorithm is essentially a sorting function. You wanna be able to, you know, sort things. And so people are familiar with social media, and the algorithm for social media says you probably wanna see this next post from this person because that's something that you'll probably like. So to be able to...

You know, Facebook or Twitter or whatever social media is LinkedIn, to be able to figure that out, they have an algorithm that is saying, okay, we're gonna sort all of the posts and we're gonna filter it to just your friends, and then we're gonna filter just the posts from your friends that you think it was most likely. So think of algorithm largely as just a sorting function that I wanna be able to say, if this person, then this is the next thing. So that's an algorithm. But, of course, also, large language models, in a sense, are algorithms, where they're predicting statistically likely next token, whether that token be a word or a pixel or something else.

And so, really, you know, algorithms rule the world. And, you know, one of the algorithms that we're using for Docket Alarm is something that your...

Since it's audio, you're not able to see, but I'm sharing on my screen right now, is the algorithm is saying, well, what are my odds of winning summary judgment in all the courts? And it says, well, the odds of winning in all the courts are 54% based on 87,000 known So that's the data. But then if you jump to this court, say I'm in Minnesota, the odds drop to 46%. But for this judge, the odds do go up to 57.

But for trademark cases, the odds are about one in three. Now if you were to ask that question, what are the odds of winning summary judgment of a human? That human would say, pretty good or not bad. And if you ask the AI, the AI would hallucinate all over the place.

But because we have in the federal courts you know, 87,000 known outcomes from summary judgment, we can be able to put statistical likelihood on something that, you know, lawyers have as annex data. And the way that we were able to tag up this motion for summary judgment is that we tagged up the fact that that motion for summary judgment has been granted in part and denied in part. Then once you tag that up as a partial motion to dismiss or granted and denied, the algorithm could be able to then say, okay, I want Susan Richard Nelson to grant my motion for summary judgment. I So can filter to be able to say, here are the 167 cases where this judge, my judge, granted summary judgment.

And then you can filter, again, an algorithm, say, I just care about contract cases. I don't care about all the other cases. And then you can say, okay, of those a 167, here are the 55 where she granted summary judgment for contract cases. And now I could take the results of these 55, put the text on there, and say, here are my client's facts.

Draft me a new motion for summary judgment that is statistically likely to win for this cause of action, for this judge. I can essentially repeat my judge's language back to her. And there's an...

In psychology, there's a concept called mirroring, that you trust me more if I mirror your body language.

So essentially, we are now mirroring this judge's language and tickling this judge's brain in the way that this judge's brain loves to be tickled. That judge will say, I really like the cut of that brief's jib. I think I'm gonna rule in favor of this person, and she will have no idea why that's true. So all that is algorithmically driven. But, again, all the things I just mentioned, summary judgment granted this particular court, each of those is a SALI FOLIO tag.

That... We only got that through the tagging that then fueled the algorithm.

Eric Derk

I just wanna ask one non lawyer question because I know Daniel's gonna ask a lawyer question.

Okay. So how does this make sense, Damien? So if you're in a law department, you're working with a law firm, and all you're getting is, like, a ballpark. Well, you could win.

You could lose. Well, there's, you know, maybe. If you're getting super loose kind of determinations from somebody's expertise and, you know, twenty five years of experience, how do you actually rely upon them to give you the best advice? I mean, if you're not using these types of tools, you're just really relying upon somebody's experience.

And we all know that that's limited to an individual. Even if you have 10 people that have...

Are saying you should flee or you should fight, that's not nearly as good as thousands and thousands of judgment. So, like, aren't law departments being underserved by law firms who don't have access to these types of tools?

Damien Riehl

A 100%. And so you can imagine if I...

Option one, I say, are the odds of winning this summary judgment? The client says pretty good, and then I spend $50,000 and I lose, In this case, 62% of trademark cases lose on summary judgment? Wouldn't you rather know that in the front end to say, you know, if the odds are only about one in three, I'm not gonna spend the $50 or a $100. Right?

So point number one is that with knowledge comes power, and with data comes power. You're not relying on the lawyer's anecdote, their rifle shot of experience, but instead the whole corpus of data in the courts. And so that's why the law should be free. Because to be able to do this, to download every motion brief pleading in PACER, I would ask you what the number is, but you'll probably get it wrong.

So I'm gonna tell you it'd be about $2,000,000,000 with a b.

2,000,000,000 you'd have to pay to the courts to be able to get every motion brief pleading to be able to get data for this. And so I'm, the administrative office of US courts has appointed me part of a 12 person group to be able to say, how can we make PACER suck less? Then what they do is they go on the website and they say, should we do this drop down menu here? Should we do this?

I say, no. Don't do any of that. Make the data free. Because if you make the data free, I can be able to figure out where my buttons go and how to analyze the data.

But the fact that it's $2,000,000,000 is essentially a...

It's a travesty because we have spent a lot of that $2,000,000,000. Therefore, we have to recoup that investment to the biggest law firms in the world who pay a lot of money for it. But you know who can't afford it? It's poor people.

I say, judge, this is an access to justice issue that you created. You can't point the finger at anyone else. You are charging the $2,000,000,000 as the courts, and so you're causing different justice for rich people than poor people. Their response is, Damien, that is out of scope because that goes to court funding.

The courts are using PACER funds to fund the courts. That is...

To fund the retreats that they go on. It's paid for with PACER dollars. So this is a travesty. The judiciary should be funded by the congress so we don't have to spend $2,000,000,000.

We can do that. So that's point number one, is that only through the data can you have this going from anic data from the lawyer to the true data. Point number two is we talk a lot about AI and how in the age of AI, the most important thing that the lawyers will give is their judgment.

That's everyone's judgment. But really, if you're gonna win this motion for summary judgment, we think of that as judgment, but we can actually quantify it. This is quantifiable. And my judgment is just my anecdotal judgment.

What's better, my personal anecdotal judgment or this, for federal courts, 87,000 outcomes that I've never even looked at?

So really, I think that we have a reckoning that how much of what we call judgment as lawyers is truly quantifiable, that maybe we could put your and my judgment into an artifact. And then all of a sudden, our judgment just becomes another data point.

Sponsor message

Legal teams are struggling to manage resources, maintain compliance, and adopt new technologies. BDO's legal operations team can help. We enhance efficiency, reduce costs, and support compliance so you can run your legal department like a business. Schedule a meeting with us today at bdo.com.

Daniel Gold

I love having you as a guest because you are so passionate about what you do. It is literally contagious, and I love this. Our listeners should know is that this is definitely not a product commercial for what you had done with Docket Alarm, which is for our listeners benefit is what you were showing Eric and I on the screen just now. But it's worth noting that...

I mean, there have been various different iterations of Docket Alarm over the years. When I was younger and I started off in this business after practicing, I worked for LexisNexis and I worked for...

When I first started with them, we were doing CourtLink, which is a very similar way of being able to provide dockets and documents. I believe it's still a product that Lexis has and Westlaw came out with a similar product as well. But, you know, what you had done with this, your the way that you are talking about this in 2026, twenty years ago, I remember having this same argument with lawyers that how do you argue a case before a judge without the appropriate level of data? Data is what's gonna drive a lot of the success.

And if you walk in knowing whether or not a judge has, you know, like you had said, you know, 62% of the time, basically declined the motion for summary judgment on an IP matter. And also, by the way, you could look up your adversaries or your opposing counsel's views and what they have done and leverage their arguments for your own. You're going about this much differently. In the world of AI, one of the things that Eric and I talk a lot about is that there's a difference between information and knowledge.

You can gather a lot of information through data, but it's only through your expertise do you take that information and then turn it into knowledge. And so I find this whole idea just absolutely fascinating. It's like the way you talked about an algorithm to make it easy and digestible for all of our listeners, I think, spot on. But there's something else that I keep hearing, this undertone, Damien, in what I'm hearing. And you were very passionate, as I talked about before, about being able to provide free public access to data, this information, the court dockets and the court documents, the underlying information within the dockets. Where does this come from? Let me back into my question.

Because in my... All my experience, and Eric as well, and all the guests that we've ever interviewed on this podcast and other places as well, people who are very, very passionate about a very specific topic, it comes from somewhere, and it's special, and it's magical. And I have to believe that your strong passion and desire to give away knowledge for free comes from somewhere. Where does that stem from?

Damien Riehl

I'm really grateful for the questions. I've been on hundreds of podcasts. I can count on less than one hand the number of people ask me that, so thank you for the question, number one.

Casey Flaherty, who you might know, is a friend, and he said, Damien, why do you like not making money? Why do you give away so many things that have value? And so that's a variation essentially on the question you just asked because I do give away a lot of things. And it stems back that I grew up Catholic.

I went to a Catholic high school, I went to a Catholic college. There's an idea with Catholic social teaching is that you are bound as a good human to be able to give away your time, talent, treasure. That this is something that you're bound to as a good human to be able to say, you know, give to the least of these. And a lot of that reflects an access to justice.

We need the least of these to be able to...

You know, poor people should have the same justice as rich people. And if we charge a lot of money for things, they can't do that. The answer to your question is my Catholic upbringing. That kind of has come to a fruition.

In November, my buddy who's the president of the board of directors for Saint Mary's University, she said, hey. Do you wanna talk AI at the Vatican? I said, yeah. I wanna talk AI at the Vatican.

So in November, I was at the Vatican talking with a whole bunch of people, and the whole pitch to the Vatican is that, you know, Sam and Dario say that we need to align AI with human values. And the pitch to them is that you've got a lot of human values locked up in the archive. So how about you open up the archive and let all those human values be ingested by the AIs? And it turns out they're doing it.

There's a company that's scanning all the archives books and then making it public domain. And then I'm working with my favorite vibe coding priest. His name is father John Taurazio out of Rome. And what father John Taurazio and I have done is we forked FOLIO to create...

We're calling it the Catholic semantic canon, where it turns out that FOLIO has murder and theft. And it turns out that murder and theft is also biblical. And so we're essentially forking it, and the same unique identifier that FOLIO has for murder is the same unique identifier that the Catholic church is now tagging up the Vatican archives and the items from Thomas Aquinas and Thomas More. And every time they mention murder, it's gonna have the same unique identifier.

And then Pablo Arredondo, who is the cofounder of CaseText, is doing that. He's doing...

Going through all the Jewish texts and all the Sharia law texts and all the Roman Catholic texts. And he's similarly going on and being able to do a comparative analysis of all of those. So you can imagine that maybe as a result of this, you could be able to say, you know, with Vincent and...

That we're building with Clio, you could do a 50 state survey. And so you could say, you know, I'm block and I wanna lay off 40% of my workforce. Does this violate any of the 50 states? And you could also say, does it violate the EU law or The UK law?

And then what if it had the Vatican archives to say, does this violate the ethics and morals of my faith? And there's Catholic venture capitalist, he said that companies that do faith based work, love your customer, love your employees, make more money. They outperform the S and P 500. And so what if we could be able to build as the agents going out and doing things in the world, you know, as open...

OpenAI is doing things in the world, as as Anthropic is doing...

What if the agents could consult the legal oracle, consult The US law and the EU law and faith based traditions to see if what they're gonna do is ethical or immoral? If it breaks the governmental law, EU or US, or ethical laws above a certain threshold, let a human know. That is put a human in the loop for them to give the thumbs up or thumbs down. That is, I think, the end goal where we can maybe nudge toward...

You know, we have privacy by design. We have security by design. What if we have lawful by design? Where the bots are...

Have the law and therefore they can follow the law. That, think, is a good endgame that we should shoot toward.

Daniel Gold

Damien, I gotta say what's interesting is that there's your faith based approach as your motivating engine that your driver for doing a lot of this, I think, is really interesting. I think it's worth knowing for our listeners as well is that there are similarities in Judaism. Judaism has a notion called, is basically being able to give to others who need it or, which is giving...

It's rooted in justice and obligation. Buddhism has actually a very similar concept as well, the practice of generosity. Islam has another very similar thing about mandatory giving as well. And really where I'm going with this is that it's not just Catholicism, but it's a universal human trait.

And I think that's really where I wanna land on this one. Right? You're talking about is being able to make not just...

And I think this is what I'm hearing you say at least. Make not just a legal decision based upon your skill, your knowledge, and your expertise as an attorney, but also converge that with basic human decency as well.

Damien Riehl

That's a 100% right. And you're right that all the things you just mentioned are, you know, give away to others. Is Catholic and a Jewish and Sharia law and Buddhist. And so if you think about putting the idea of, you know, generosity, we'll call that a tag within FOLIO, and it turns out it is a tag within FOLIO.

What if we tag every Buddhist scripture that has that and every Jewish scripture and Sri Lanka with that same tag? Then you start and do that for 18,000 plus things. Then you start thinking about a Venn diagram where there's a convergence of all the...

All of the religions agree that murder is wrong, that theft is wrong, that you should be generous. And then, of course, there's gonna be outliers from that Venn diagram. And then you have to say, okay. Let's not let the tyranny of the majority outweigh the rights of the outliers.

So, really, this is a way that we can maybe have a more just society that aligns with human values. Because when Sam Altman says we need to align with human values, I say we've kinda had that for five hundred years. It's called the law. Because Eric's human values are different than Daniel's human values, which are different than Damien's human values.

But the way that we all align our human values is through legislation, which turns to law. And so that's...

We've had alignment with human values called the law, and we've also had alignment with human values and it's called faith. And so what if we were to tag up all the law and tag up all the faith with the same tags and then put that into the engine that says, is it violating human law or ethical faith based law? And is it moral or is it ethical? I think that's something we should be doing.

Daniel Gold

I'd go a little bit further than just disciplines and practices of law because Campbell talks about, you know, the power of myth and here with a thousand faces. You know, he would tell stories about, you know, like, well, Luke Skywalker. Well, that model, that persona was available in Greek mythology, and it was available in Hebrew text. And the idea is what you're talking about to me, where it sits in my heart is that there's a convergence here.

And it's converging through faith, justice, being a good human being. And when you start to think about things like that, you get a lot of pushback because it's like, well, how are we making money on this? Well, like you just said, and I think you're right on, like, principles of justice and heart and soul and love in a company that come forward and how they treat their customers and their people generally just succeed. Like, it's a no brainer.

Eric Derk

I wanna ask you something because we could talk about this all day. I love Campbell and I love where you guys are going with this whole thing.

When I saw your TED talk, you know, I was just really struck by the fact that you used this word finite. You know, music... Melodies are finite.

And, you know, there's a limited amount of words, and you talk really interestingly about how you can define all these melodies. Well, why can't we define all the different types of legal outcomes as well? Maybe that's what you're trying to do with taxonomy design in FOLIO.

But isn't... Aren't we coming to a point with AI where all of these outcomes are gonna be defined and decisions are gonna be less and less discretionary and at the subject of somebody's experience and more just at the subject of what a model or an algorithm gives us?

Damien Riehl

Eric, I love, love, love that question so much, and I can say that in the hundreds of podcasts I've had, I've never had that question, but I've been wanting to answer it. So thank you for asking the question. Yes. So for those who haven't seen the TED Talk, what I've done is I brute forced all the melodies.

So much like you can brute force a password by going AAABAC, I did that with music with my friend Noah Rubin. He goes, we went until we mathematically exhausted every melody that's ever been and every melody that ever can be to the tune of 471,000,000,000 melodies written to disc. And under the Berne Convention, once it's written to disc, it's copyrighted. So we've copyrighted 471,000,000,000 melodies, putting everything in the public domain to protect the You Stole My Melody lawsuits.

So to your point, Eric, what we did is we took...

Our initial dataset was the diatonic scale. So that's eight notes. And then the combinatorial permutations, the mathematics, the way it works is that you go eight, that is, and then the number of notes, you go in a string. So 10.

If you put 10 notes in a string, the mathematics is eight to the tenth power. So that is, turns out, 56,000,000,000 melodies where you have the diatonic scale with a 10 note string. And so really that was a dataset number one that we did for the TED talk. And then people are saying, actually, you didn't do jazz and classical music?

And so I said, actually, cool. So then I went to the chromatic scale and I did 13. So I did the black notes and the white notes. Then I did that.

So then other people said, well, actually, you didn't do rhythm? And my response was, actually, copyright law doesn't require rhythm. It only requires substantial similarity. But even then, we put a fourteenth note and it was called silence.

So with silence, you can then get every permutation of rhythm. So really the whole point of all the music was that you can do every permutation of all the music, every combinatorial combination of those, every combinatorial expression, because there are such a finite number of things, eight notes up. Contrast that with words. So if you have the English language, there are about a 177,000 words.

So that...

It's not eight, it's a 177,000. So then if you have a 10 word string, that's a 177,000 to the tenth power. And it turns out that there are fewer sands on earth, grains of sand on earth, than there are combinations of 10 word 177,000 combinatorial permutations. So really, music is easy because it's only eight or 13, depending on your...

How you count. But 177,000, that's a lot harder. So then you say, okay. Now let's do legal outcomes.

Then you get fuzzy. Right? So, like, for breach of contract where they said that the contract was not formed. Right?

Then you can tag up breach of contract, You can tag up formation as an element of breach of contract. But then you have to tag up, okay, what are the facts that caused this contract not to be formed? It turns out the facts in the world, there are many, many of those. So the combinatorial kind of brute forcing of that is just mathematically not sound.

But you can get there, that is get to the result that you want, by tagging up breach of contract and tagging up lack of formation and tagging up, you know, for watercraft, for example. And once you tag those things up, then you could be able to say, okay, let's just run analytics to say, you know, for this fact, how many go this way? But for that fact, how many go that way? So this is kind of a poor person's version of brute forcing.

Eric Derk

I am a very, very novice amateur musician and my father was in a rock and roll band and my father said to me early on, Daniel, if you can learn c, a minor, f, g seven, you can basically play Earth Angel, Heart and Soul, Blue Moon, and Stand By Me, and probably also La Bamba as well because they have the same chords. And so when you... When I watched your TED Talk, which by the way, 56,000 other people have watched that TED Talk.

Damien Riehl

2,000,000, actually. I think there are a bunch of versions out there.

Eric Derk

Fair enough. Thank you for the correction. That's actually a notable correction, and I appreciate you pointing that out. When you think about what you had done and this old joke that basically, you know, if if you know a c a minor f g seven, you could play about half a dozen different 50 songs.

There is this same...

Daniel Gold

As Eric was going to, there's this same idea with legal. And I love Eric's question. I love your answer. I wanna dig even deeper.

Is it possible with... And you would be a better person to tell me this than I can even guess. Of all of the decisions that we've got since, like, the seventeen hundreds, all the supreme court decisions, all of the major court decisions, is it statistically possible to basically say that, look, you could spend hundreds of thousand dollars, maybe millions of dollars in arguing a case, but the reality is the data says there's a finite number of legal outcomes. And based upon the data and the facts of your case, this is really where it's gonna go. So why are you about to spend hundreds of thousands of dollars? Is this really, really possible?

Damien Riehl

A 100%. And not just possible, it's using good old fashioned AI, where this is a Seventh Circuit judicial opinion. And we've tagged up the Seventh Circuit, which is a court. And we've tagged up the fact that Maria Gonzalez is an appellant who is the plaintiff.

And we've tagged up the fact that excessive force claim is a claim in here, and it's sometimes known as police brutality and unreasonable force. But they have the same unique identifier regardless of the words that you call it. You can imagine taking up this excessive force claim and then taking the text of this and then saying that we reverse and we remand, also SALI FOLIO tags, then now you could be able to say, yes. Under these facts, this excessive force claim is denied.

Therefore, they reverse and remand. Whereas the under different facts, it's granted. And then what SALI FOLIO also do, that is FOLIO Enrich does, is then puts those into a knowledge graph. So we have officer Taylor used a taser.

So noun verb noun is a triple. Officer Taylor is a noun, use is a verb, taser is a noun. And so noun, verb, noun is the foundation of knowledge graphs. And so you can actually build a knowledge graph that is symbolic AI to be able to say that if you use a taser on someone, then excessive force under this judicial opinion.

But under another judicial opinion, it is not excessive force in a different circuit. So this is maybe on our way to computable law. And when you think about, well, can't AI that is large language models do that? And the answer is not efficiently.

So for example, maritime negligence is a claim. That is a type of negligence claim. It is also a type of admiralty maritime claim that is related to admiralty court and related to the area of law that is admiralty maritime law and related to the industry, that is water transportation industry, and related to the asset, that is watercraft. So you can imagine if the AI were to say, give me whether it's this law is broken regarding watercraft, then the AI could follow the graph that I just showed you and be able to symbolically, therefore deterministically, therefore reliably go from watercraft to maritime negligence and say, maybe you wanna make a maritime negligence claim. This is the answer is to be able to say, let's not rely on the probabilistic, therefore unreliable, large language models. Let's make this all deterministic, tag it, and then make a graph so that it will be a 100% reliable.

So that's a ontological idea. Right? If you have this ontology basically charting a path through an LLM to say...

And it's an ontology based on noun verb noun or it's an...

Or type. Right? It's...

Eric Derk

What you're doing is you're saying define a process. I wanna ask you about the ways in which AI is changing our work. And one of the things that Daniel and I talk about all the time is the process, stupid. Like, you gotta know the process.

And lawyers are traditionally very afraid of that word. So when you think about pushing this...

Well, let's just take the ontological argument for a second. Pushing this definition of process down a path. It could be a legal hold process. It could be a memo creation process.

It could be a research process. When you start to find these in very binary ways, how does that take away from the heart and soul of creativity that lawyers love so much? That's kind of question one. Maybe the other question is there are certain areas that lawyers don't really wanna be creative with.

So tell me a little bit about process and tell me a little bit about where your work and where you see the future of work changing.

Damien Riehl

I love that question. And again, this is the first time I've been asked. So as a musician, I think a lot about creativity, especially somebody who is arguably brute forced 471,000,000,000 melodies, all the melodies that have been. And Sting, in an interview, said that if he's if he's not surprised in the first ten seconds, he skips to the next song.

And so there's an argument that creativity is statistical unlikely. Because if it's statistically likely, Sting wouldn't be surprised. Right? So really, if you think about the distribution curve of likely or not likely, the more unlikely something is, that's more likely to catch someone's ear to say, wow, that's really creative.

There's probably a mathematical representation of, like, straight on the nose, that's too predictable. But if it's too far out there, like there's a lot of melodies in my data set that go, that's just too weird, right? So nobody would call that creative. They just call that noise.

So there's probably a statistical mean in between the non the nose, statistically likely, and totally so out there that nobody can really even listen to it. There's probably somewhere in the middle that is quote unquote creative. So that's true for melodies. It's also true for legal arguments.

That is the statistically likely argument that always wins, I guess, is gonna win, but it's not creative. Everybody argues it. Right? But it's truly the Brown versus Board of Education, something that is a statistically unlikely argument that actually won the day.

That is where the great lawyering happens. So if...

I used to work at Robins Kaplan. And when Robins Kaplan had a tobacco case back in the nineteen nineties, for twenty five years, the tobacco companies have successfully argued that the doctors' memos saying that, hey. We're causing cancer. The lawyers had argued that, no.

That is attorney client privilege and work product. Therefore, it cannot be disclosed. They had argued that for twenty five years. So for twenty five years, that was statistically likely.

But then Mike Ciresi from Robins Kaplan successfully argued before a Ramsey County judge.

Those are not a statistically...

That is not privilege. That should be...

Those doctors' memos should be public, and he won with that statistically unlikely, otherwise known as creative argument. And so I think you're right, Eric, that that a lot of what we as lawyers do is not a creative. That is we're just making the workday arguments that are gonna win the day. But the best of the lawyers, the Mike Ciresis of the world, are able to make that statistically unlikely, therefore, creative argument that wins the day.

And then the real question is, in the distribution curve of legal work, that is all the work that we bill our clients for every day, along that distribution curve, how much of the work that we have to do is truly creative versus statistically likely? And with that, I've got one more story. My next door neighbor wants to build a fence six inches from my house. And so they said, hey.

We're gonna break ground. And I said, no. We're not gonna break ground. And so I vibe coded a bunch of versions of a complaint.

I also vibe coded a bunch of versions of a temporary restraining order. And I still brought in a lawyer. It's a good friend who's been a friend for twenty five years. His name is Jake.

And so I said to Jake, I'm gonna file the complaint, and I'm gonna file a temporary restraining order. He said, yes. File the complaint, but don't file a TRO. I said, wait.

Why wouldn't I? I've got a gun. Why wouldn't I shoot it? He said...

Jake said, well, you're...

The temporary restraining order has a high burden that you have to show irreparable harm, and they can always tear out the fence. So you might lose that motion, and then forevermore, that judge is gonna look at you as the person he ruled against in the thing. So why don't you file the complaint? And what are the odds that your neighbor is gonna build a fence in the middle of an active lawsuit?

Almost not gonna happen. So you get the result that you want without the risk. So anyway, that's something that was in Jake's brain that I, with the fifteen years of litigation experience and arguably the best AI legal tool, Vincent, on the planet, I didn't think of that. Jake did.

That is a creative argument that is not yet in the dataset. So when you think about the process, like your question about process, I said, that's why I hired Jake. Right? That's why I want Jake to do my work.

But what if Jake put that thing that was in his head into an artifact that the AI can then run through saying, if you're thinking about filing a temporary restraining order, think about just filing the complaint. Because the temporary restraining order might...

You might get the result without the TRO. If you put that into an artifact that the AI can then go through, all of a sudden, that creativity of Jake turns into another data point.

And so your question about process, I think a lot of the process gonna happen for lawyers and law firms for the next, you know, five years or so is taking the stuff from our brains as lawyers and putting it into artifacts, taking the processes, taking the insights like JCAD, and putting them into, you know, documents, whether they're markdown documents or otherwise, that the AIs can be able to go through to be able to, you know, make processized our... Is previously called our creativity.

Daniel Gold

Damien, we have done nearly a 100 episodes of the BDO Legal Tech Talk podcast in the last four years, and we've never had anyone on the show like you.

Eric Derk

We ain't never done one like this. Yeah.

Daniel Gold

You have proven to be just an absolutely remarkable guest on the show, and there's if we had the ability to run two and a half hour podcasts, we probably would, Eric and I. And there's probably a whole lot more that we could talk about, but we are very grateful for you coming on to the show. We're very grateful for the insights you've provided. And it's something that I feel like people should bookmark and listen to it just a couple more times to really take the take the real nuggets out of out of what you said. But, Damien, thank you so much for joining us here today on BDO Legal Tech Talk.

Damien Riehl

Thank you so much for having me. I'm a big fan. And sometimes people listen to podcasts at 1.5 speed, but they say that listening to mine, it's point seven. So if you're gonna listen to it again, listen at point seven.

Eric Derk

Yeah. I agree with that.

Damien Riehl

So...... 1.5 anyway.

Daniel Gold

That's right. That's right.

Eric Derk

Yeah. Well, thanks so much.

Damien Riehl

Yeah. Thank you for having me.

Show close

Thanks for joining us on BDO's Legal Tech Talk podcast.

If you're enjoying our podcast, don't forget to rate, review, and subscribe for more episodes.

On bdo.com, you'll find all of our episodes, transcripts, and ways to continue the conversation.

Until next time. This has been another episode of BDO's Legal Tech Talk.

Daniel Gold
About your host

Daniel Gold is an attorney and a Principal at BDO USA, where he leads eDiscovery managed services. He hosts BDO's Legal Tech Talk, co-hosts the NeLI Pod and founded Gold Standard Leadership.

More about Daniel

Get the next one in your inbox

Daniel Gold writes weekly on leadership, legal technology and eDiscovery.

Subscribe on Substack