Learning Library

← Back to Library

Agentic AI for Contract Automation

Key Points

  • Traditional contract and ECM systems store agreements in centralized databases but still require experts to manually locate, read, and extract key terms, making the process slow and inefficient.
  • A common use case involves lease agreements where stakeholders must repeatedly reference specific clauses to determine next actions, highlighting the burden of manual document handling.
  • The emerging paradigm of automated contract processing leverages AI to instantly analyze complex documents—whether multi‑party contracts or simple terms—and surface critical information as soon as the document arrives.
  • By integrating “agentic” conversational interfaces, AI can reason about contract content and interact with users, turning static document repositories into interactive assistants that streamline decision‑making.
  • This AI‑driven approach aims to reduce expert workload, accelerate business workflows, and provide real‑time insights from contracts that were previously buried in manual reviews.

Sections

Full Transcript

# Agentic AI for Contract Automation **Source:** [https://www.youtube.com/watch?v=E0Pd8mUpr-M](https://www.youtube.com/watch?v=E0Pd8mUpr-M) **Duration:** 00:26:30 ## Summary - Traditional contract and ECM systems store agreements in centralized databases but still require experts to manually locate, read, and extract key terms, making the process slow and inefficient. - A common use case involves lease agreements where stakeholders must repeatedly reference specific clauses to determine next actions, highlighting the burden of manual document handling. - The emerging paradigm of automated contract processing leverages AI to instantly analyze complex documents—whether multi‑party contracts or simple terms—and surface critical information as soon as the document arrives. - By integrating “agentic” conversational interfaces, AI can reason about contract content and interact with users, turning static document repositories into interactive assistants that streamline decision‑making. - This AI‑driven approach aims to reduce expert workload, accelerate business workflows, and provide real‑time insights from contracts that were previously buried in manual reviews. ## Sections - [00:00:00](https://www.youtube.com/watch?v=E0Pd8mUpr-M&t=0s) **Understanding Modern Contract Automation** - The speaker outlines current contract management tools—dedicated contract repositories and generic ECM platforms—and explains their limitations while illustrating a lease‑contract use case where automating agreement data informs next‑best‑action decisions. - [00:03:02](https://www.youtube.com/watch?v=E0Pd8mUpr-M&t=182s) **Agentic AI for Document Automation** - The speaker describes how an agentic conversational AI can coordinate multiple specialized bots to automatically extract, reason about, and summarize complex legal documents, dramatically improving subject‑matter expert efficiency. - [00:06:07](https://www.youtube.com/watch?v=E0Pd8mUpr-M&t=367s) **AI‑Powered Orchestration for Contract Automation** - The speaker outlines how a central orchestration hub leverages generative and traditional AI, along with a vector store for metadata, to automatically ingest, index, and process incoming contracts for greater efficiency. - [00:09:12](https://www.youtube.com/watch?v=E0Pd8mUpr-M&t=552s) **AI-Powered Contract Metadata Extraction** - The speaker describes using an AI model and a crawler to ingest contracts, generate searchable metadata (e.g., force majeure, cancellation terms), and store the processed content in a vector store for easy retrieval via the hub. - [00:12:20](https://www.youtube.com/watch?v=E0Pd8mUpr-M&t=740s) **Conversational AI for Contract Retrieval** - The speaker explains that simple keyword searches miss contractual nuances, so metadata‑enriched, contract‑trained AI models must index documents in a vector store, enabling users to query contracts through a conversational hub. - [00:15:20](https://www.youtube.com/watch?v=E0Pd8mUpr-M&t=920s) **AI‑Powered Contract Clause Comparison** - The speaker explains a workflow where relevant contract excerpts are fetched from a vector store and supplied to a large language model with specific prompts to compare and clarify differences between clauses and related obligations. - [00:18:46](https://www.youtube.com/watch?v=E0Pd8mUpr-M&t=1126s) **Integrating Business Rules via Hub** - The speaker explains how a central hub uses AI to combine contract data, business rules, and other systems, automating decision‑making and communication generation. - [00:21:51](https://www.youtube.com/watch?v=E0Pd8mUpr-M&t=1311s) **AI‑Orchestrated Contract Retrieval Workflow** - An AI hub coordinates email, document, CRM, and ERP services in response to user conversational requests for contracts, delivering context instantly and reducing onboarding friction. - [00:25:01](https://www.youtube.com/watch?v=E0Pd8mUpr-M&t=1501s) **Scaling Contract Automation with AI** - The speaker explains how an AI‑driven orchestration hub integrates existing systems (ERP, CRM, business rules) to replace manual scaling, enabling faster, higher‑value processing of complex contractual documents. ## Full Transcript
0:00Hi. Today we're going to talk 0:01about contract automation. 0:03So let's set the stage real quick. 0:06Contract automation 0:08and the processing of, 0:09like, agreements and complex 0:11documents, like contracts, 0:15today exist in various forms of technology. 0:19Most of the time, you will have, 0:23for example, 0:26maybe a contract system. 0:29And, that could be, 0:33where all the agreements go. 0:35They're stored in a database. 0:40So that contract system 0:44would be where the users have to go 0:46to access the content 0:48and deal with any sort of terms 0:50and conditions that would relate to 0:54any particular entity 0:55mentioned in the contract. 0:57Not the best, 0:58but, at least, it's all in one place. 1:00But that's today. 1:01Other systems and other organizations 1:04might have 1:07a system called 1:08Enterprise Content Management. 1:12We'll call that ECM. 1:15And, in an ECM system... 1:17This is far more a generic 1:20workflow and document management system. 1:23And what you find in an ECM system, 1:26really, are just, 1:28kind of, electronic file cabinet 1:30with workflow, records management, and 1:35a lot of the base 1:37functionality 1:37to deal with electronic records. 1:40However, in these two systems, 1:45when it comes to dealing 1:46with contracts, in particular, 1:50there's a lot of instances, really. 1:53Where this video was inspired 1:56was a use case 1:57where contracts and lease 1:59agreements were frequently referenced 2:02in order to determine and, like, next 2:05best action, because there were entities 2:10that were involved, 2:11and properties that were involved. 2:14And, so it was important for the 2:17the contents, or the specific Ts and Cs 2:20of that document, 2:21to be at the hands of the expert, 2:24which, by the way, would have to go in 2:27and access from this system, 2:30or in some cases 2:32this system, to pull the document back. 2:35But here's the thing. 2:37They had to read this with their own eyes, 2:40and take the time to digest 2:44where in the contract 2:45they needed to focus their reading 2:48to extract 2:49the key information 2:50they needed to make a decision. 2:53Well, 2:53in our video today, 2:54we're going to talk about a new paradigm. 2:57And that is really automated 3:00contract processing. 3:02And this is a paradigm that fits really 3:05any sort of complex document. 3:08So, whether it's a lease agreement, 3:10or some sort of terms and conditions between, 3:13either multiple parties 3:16or just a simple two party system, 3:20you really need to have this information, 3:25when it hits the door, 3:26you need to understand what's in it. 3:29It's beneficial 3:31to have these types of insights 3:34because it speeds the process along. 3:37But, with the tools of today, they really 3:41require the subject matter expert 3:44to constantly dig into the document 3:47in order to get that information. 3:49In this new paradigm, 3:51we're going to talk about 3:53how we can automate that 3:56and use AI in the process 3:59to help 4:00the subject 4:01matter expert be more efficient. 4:03Now, there's a term 4:05today called agentic. 4:07You may 4:10read this 4:11term and correlate it to 4:14a type of AI bot or virtual assistant. 4:18But, essentially, 4:20the term agentic is really referring 4:23to some sort of 4:26conversational interface 4:29that allows the 4:33understanding and reasoning 4:36of complex problems in order to carry out 4:40a task, or multiple tasks. And the ability 4:45for AI to reason 4:48through complex type 4:52tasks, really, 4:54kind of, 4:55has been something that has 4:57come of late because we have systems 5:01now that have multiple agents. 5:05So you have bots for certain 5:09types of tasks. 5:10That's all they do. 5:12And, now, you have this new kind 5:14of virtual assistant 5:16that sits on top of those other bots 5:19to sort of coordinate or orchestrate 5:22those activities. 5:24Because many of the things 5:26that we want to automate in business 5:29are more complex than just a simple 5:33single transaction, right? 5:35Doing a lookup, in a ticketing system 5:38to find the status of a ticket. 5:41While that's something 5:41a bot can do today, 5:43we certainly want to do more than that 5:46when we apply AI 5:48to something 5:48that is, it's tied to as much value 5:52as these complex 5:53documents and contracts in particular. 5:56So what you will see 6:01with the enterprise 6:02content management system, 6:03or the contracting system, is... 6:08We have some new roles 6:10or new players in this picture. 6:14So at the foundation, 6:17of virtually any sort of 6:20enhancement or automation today, 6:23is our good friend generative AI. 6:28So... 6:31The AI, 6:33or the large language model, 6:35or the traditional AI, has power today 6:39to really decipher and 6:44go multimodal from image 6:47recognition, image 6:49generation, audio 6:50generation, audio understanding, 6:53and, definitely, free flowing 6:56text understanding and text generation. 7:00And that's the piece that we will use 7:03from AI in this particular scenario. 7:06The other thing that's at play here 7:09is an orchestrator, 7:12or an orchestration hub. 7:14So we're just going to call this "the hub". 7:20So, 7:21when you have... 7:23and as I mentioned before, 7:24the agentic concept, 7:26you have lots of different bots 7:29and lots of different, 7:30what we'll call, skills that sit inside 7:35or are controlled by, the hub. 7:38And one of the primary skills 7:42is the ability for the hub 7:45to leverage AI 7:49when it makes sense. 7:50So, in this scenario, 7:53what we're going to see 7:54is a flow that allows you to leverage 7:58generative AI and traditional AI 8:01throughout the process 8:03to make it more efficient. 8:05So. 8:07We'll 8:09grab our contracts 8:12as they hit the door. 8:14They'll either be still stored 8:17into our contract system 8:19or into the ECM system. 8:22And what we'll find 8:26is that, as these 8:29documents arrive, 8:32we'll have... 8:38a triggering event 8:40that will put 8:45our documents... 8:51into our vector store. 8:56Now, the vector store has a purpose. 8:59And, in this scenario, it will contain 9:04all the metadata about the documents, 9:08but also all the contents 9:10of those documents. 9:12And the metadata that we will create 9:17will be helpful in determining elements 9:22of the contract, 9:23because we'll have a model 9:26that when the documents are ingested... 9:31So we're just going to put 9:33this model here. 9:39Okay. 9:40And then we'll put this model here. 9:45And, 9:47with these models, 9:50we're going to break up the documents, 9:53and we're going to create metadata, 9:57so that they can be stored 9:59neatly in our vector store. 10:04So, today, you can see in the blue, 10:07we have 10:09places for these documents to reside. 10:12That doesn't change. 10:13What does change is now 10:17these documents are being siphoned off 10:23and the contents of those documents 10:26are being processed, 10:29so that they can be searchable and usable 10:33from our hub. 10:36So, once the documents are in the hub, 10:39by the way, our hub also has... 10:46a skill 10:48to retrieve 10:51from the vector store. 10:55So, in this process, 10:59we've now been able to wire up 11:02all the contents 11:03of where our 11:05essential agreements reside today. 11:08So minimal impact. 11:09We have a crawler. 11:15It's a little 11:16crawler that will go out and grab 11:19all of those agreements. 11:23And, sometimes, 11:24the agreements are in contract systems, 11:26they're actually stored 11:27as blobs in the database, 11:29so the crawler actually 11:30has to open the database, 11:32pull that blob, 11:34column out, 11:35that field out, and process it that way. 11:39So, once we get that content, 11:42we run it through our model 11:44to create the necessary metadata 11:47relating to things, like: What's a force 11:49majeure clause? 11:50What are the terms of cancellation? 11:53Those types of "contract" 11:57sections that are fairly common, 12:01the model is going to identify 12:02that, 12:03and it's going to place some metadata 12:05around that text, 12:07so that when we, from our hub, 12:10want to pull back specific sections 12:13of that contract, 12:16that metadata helps us pull it back 12:18much more efficiently. 12:20Because, remember, when it comes to 12:23contracts, 12:25you really can't do 12:27word find or a word search. 12:30That doesn't work. 12:31Because it's the context of the phrase, 12:35or the context of the clause, 12:37in that particular agreement, 12:40that makes all the difference. 12:41And those clauses and phrases 12:43have lots of different 12:44disparate words 12:45in them to describe 12:46or attain the same meaning. 12:50So having even a semantic search, 12:55oftentimes, will leave you 12:58without being able 12:59to locate certain things. 13:01So what you need in 13:02these models are contract 13:06trained traditional AI type models. 13:10Or, you could also, use generative AI 13:13to identify those things as well. 13:16But, either way, we need a model 13:18to create some metadata 13:20before that content goes into the 13:22vector store. 13:22Now, once it's in the vector store, 13:25we have... 13:28this user, 13:30who is over here, 13:33looking at a screen. 13:37And, previously, 13:39the user accessed 13:41either the content, the contract store 13:45system together 13:47with ECM, or they just went into ECM. 13:51Depending on 13:51how an organization has deployed, 13:55they, the management and the access, 13:58we still have a user sitting out here 14:00who's remotely connecting 14:02to accessing these documents. 14:05And, sometimes, 14:07those user interfaces are native, 14:09in the case of the contracting system, 14:13those user interfaces 14:14can be native 14:15to the actual contract system. 14:18However, 14:20when we look at our new workflow, 14:23we're going to connect this user 14:27to our hub. 14:30And we're going to do it 14:32conversationally. 14:33That's where, if you consider... 14:43the conversational aspect 14:45of what previously was probably 14:49a serial workflow of moving documents 14:53through a process. 14:55Now, in this new agentic 14:58type architecture, 15:00we use a chat or, 15:05what we would call, an agent of agents 15:08to leverage 15:11all the skills we have in the hub 15:15to accomplish our contract use cases. 15:18Now, there are multiple contract 15:20use cases. 15:20Many of them, kind of circulate around, 15:24confirming terms and conditions, 15:27looking at dates, as they 15:32become effective and expire. 15:35But a lot of that work can be done 15:39interrogatively through chat. 15:42For example, you can type in: 15:46What's the difference 15:47between the 2023 force majeure clause 15:52and what we have 15:54in the 2024 force majeure clause? 15:57And, what will happen in that scenario... 16:01So, when we have a question, 16:04what happens first 16:07is, step one, 16:10we retrieve 16:11the relevant content 16:14from the vector store. 16:15Now, keep in mind, 16:16the original contracts are still 16:19in the record system. 16:20We haven't changed that. 16:22What we're doing 16:23is we're accessing the content 16:26that we've indexed into the vector store. 16:28Remember, 16:28our model is helping us 16:30get to that content much faster, 16:32because we're identifying things 16:34that are in a contract, 16:35such as parties involved, 16:37terms and conditions. 16:39So we're searching, 16:40including, those types of elements 16:43in our metadata. Okay. 16:45Now. Once we retrieve 16:47that relevant content for the question, 16:51the second thing we do... 16:57is we provide the AI, 17:01in this case, we could say, 17:05you know... LLM. 17:11Because we're doing text. 17:15We would provide that content 17:18to our large language model. 17:21And, then, a set of instructions, 17:26giving the AI 17:30a purpose for the inquiry. 17:33Compare these two clauses. 17:37Provide guidance or information 17:40on what is missing 17:44when comparing one or the other. 17:47A lot of times in contracts, 17:48we really just need to understand 17:51what's changing, 17:53in addition 17:53to what we're on the hook for. 17:57So we can ask multiple questions... 18:00And what the AI will do is will take, 18:02this is what you might see 18:04as a retrieval augmented generation 18:07scenario 18:09that is quite popular, 18:15otherwise known as RAG. 18:19But what the instruction is doing 18:24is we're leveraging 18:26our hub, 18:29and we're taking 18:31the information that we get from the LLM, 18:34and we can now, 18:38with our hub, 18:40evaluate for 18:45business rules. 18:46We'll call this BR. 18:50Now, our business rules... 18:54That could be something that 18:56helps the subject matter expert determine 19:01the best course of action. 19:03Because, inside our business rules, 19:06we have thresholds and conditions 19:09that really are strategic 19:12and can inform the user, 19:15rather than having the user 19:18get information from the contract. 19:20Because today 19:21this is what they have to do. 19:23They have to go to the contract system, 19:25they have to open up the contract, 19:28then they have to read it and digest it. 19:30Then, they either have to reference 19:32the business rules 19:33separately in a different system, 19:36or they have to 19:39pull some sort of expert in to supplement 19:43their expertise around the business rules 19:45in order to have the full context. 19:46But, look at what we have here. 19:49We have a hub 19:52that's bringing all of this together. 19:53So, in step three, 19:57we can evaluate our business rules. 20:00What effects do we have? 20:01What important thresholds are, 20:06you know, present in the context of our query. 20:10And, then, once 20:12that's done, 20:13there could be yet another step 20:15for generating communications. 20:19And what we'll do 20:21is we'll call this "other". 20:28Because "other" 20:30would encapsulate 20:31any other type of function that may 20:34or may not be applicable to this process. 20:38And, once were 20:40exhaustively complete 20:42on touching all the necessary systems, 20:44keep in mind, 20:46the hub is now doing all the integrating. 20:50It's leveraging the AI. 20:52It's leveraging our content, 20:55which is our truth system of record. 20:58It's leveraging applicable business rules 21:00and other systems, 21:04and keeping it 21:07conversational and interactive 21:09with the user. 21:11So what does this mean? 21:13This means that the user has less 21:16complexity, 21:18has less friction, 21:22less cost of time, 21:24because the AI, and the LLM in 21:28this case, is providing summaries, 21:34fact extraction, 21:36as well as comparison, 21:40and all the things that 21:42they would have to do, 21:44this user would have to do, themselves 21:48with their own cognitive ability. 21:51Now, they're getting assisted by the 21:53AI orchestrated by our hub, 21:57and the hub brings in 22:00all the other services. 22:01Could be that we need to send an email, 22:04could be that we need to 22:07pull in other documents as it relates 22:10to our particular agreement. 22:14Maybe there is a record in Salesforce, 22:17or our ERP or CRM system, 22:19that is necessary 22:21to establish the full context. 22:23That's where "other" comes in. 22:25So all of this is triggered 22:30by this one user conversationally. 22:33Saying, I need to process, 22:36or I need to investigate, 22:39this year's agreement, 22:40or last year's agreement. 22:42Or I need to access the agreement, 22:48the lease agreement, for this property. 22:52All of these types of things 22:53are just conversational and can trigger 22:57a multitude of actions. 23:01Simultaneously, by the way, 23:03for our user to bring 23:05the full context to their screen. 23:09Now, what does this do? 23:12As I mentioned before, 23:14this essentially saves... 23:21time. 23:25Okay. 23:27Saving time 23:29means that we have less friction, 23:33we have greater efficiency, and, 23:39I mean, in this particular scenario, 23:42it's more natural. 23:43Because the user is not having to learn 23:46or adapt. 23:47I mean, keep in mind, 23:48this user doesn't stay the same. 23:51There's obviously career churn that 23:55this population of users, 23:57the folks that deal with these contracts 24:00and documents, they can be, 24:05they can move on 24:06to other areas of the business. 24:08And then we have a new person. 24:10And what this new person has to do today, 24:13without the benefit of this orchestration, 24:17is have to really learn 24:20and apprentice under 24:21somebody who knows 24:23and has been doing this. 24:24But this new architecture, 24:27and new approach, not only saves time 24:31but accelerates 24:36value. 24:39Because 24:41this person can be a new person, 24:43or they can be a seasoned person, 24:45and still have access 24:46to the same orchestration of events. 24:49And with the AI model, 24:53tuned for this particular 24:56organization's content, 24:58they can get trusted results. 25:01And, last but certainly not least, 25:05we can scale. 25:08Many organizations have trouble 25:11in complex documents 25:12when they approach scale, 25:15because the only way they can scale 25:17is to actually add people, 25:19because it's really through the subject 25:20matter expert 25:21that this content 25:23is evaluated and adjudicated. 25:25But, if we're able to let the AI help us 25:30along with our orchestration hub, then... 25:35all of a sudden we're moving faster, 25:38we can have stronger value sooner, 25:42and that will allow us to do more 25:46in a shorter amount of time. 25:49So, 25:51in summary, 25:53contract automation 25:55is... 25:58the addition 25:59of an orchestration hub 26:02that leverages key systems, 26:06such as business rules, 26:08your, 26:10you know, 26:10your existing 26:11investments, like your ERP and CRM system, 26:15as well as AI, 26:18both traditional and generative. 26:21All for the complex, 26:23but yet simplistic to the user, purpose 26:27of processing these complex documents.