Draft Contract Agent

Agent Description:

The Draft Contract Agent automates the creation and review of supplier contracts based on predefined templates and compliance rules. It ensures consistency, reduces legal risks, and accelerates the contracting process.

Purpose and Components
  • Purpose: To streamline the creation of legally sound supplier contracts by using predefined templates and incorporating user-specific requirements, ensuring a consistent and efficient contracting process.
  • Components:
    • A knowledge retrieval sub-agent (Read Contract Agent) that accesses various contract templates from a knowledge base.
    • A drafting sub-agent (Draft contract Agent) that generates and modifies a new contract based on a chosen template and user inputs.
Supported Capabilities
  • Accessing and reading multiple contract templates from a RAG (Retrieval-Augmented Generation) knowledge base.
  • Understanding different types of agreement (for example, Non-Disclosure Agreement, Express Contract).
  • Drafting new contracts based on user queries and requirements.
  • Modifying the drafted contract based on iterative user feedback.
  • Ensuring consistency and adherence to predefined legal formats.
LLM Used
  • Google Vertex
    Note: To learn more about the LLM and to modify its behavior, refer to the Configuring LLM settings section.

Sub-Agents

1. Read Contract Agent

  • Role: Contract Reader.
  • Scope: Read various draft contract formats from a RAG knowledge base.
  • Description: Accesses an internal knowledge base to read different types of agreements, including Express Contracts, Unilateral Contracts, and Non-Disclosure Agreements. This provides the necessary formats and legal clauses for the drafting process.
  • LLM Used: Google Vertex
  • Tool Used: MCP Client (operates using internal RAG knowledge access).

2. Draft contract Agent

  • Role: Contract Drafter.
  • Scope: Create a new contract based on user queries using the available agreement formats.
  • Description:
    • Accepts the contract formats and templates from the Read Contract Agent.

    • Interacts with the user to understand their specific needs for the new contract.

    • Drafts a new contract document using the appropriate template.

    • Modifies the draft iteratively based on user requests and feedback.

  • LLM Used: Google Vertex (inherits from parent).
Tools Used:
  • MCP ClientTool : It operates using its internal LLM capabilities and access to an internal RAG knowledge base which is having drafts.
Note: For details on modifying the Tools, refer Tools Library section.
Agent Workflow Behavior Summary
  • The Read Contract Agent initiates the workflow by accessing a RAG knowledge base to retrieve predefined contract templates and agreement formats.
  • This information is then passed on to the main Draft contract Agent.
  • Using these templates, the Draft contract Agent generates a new contract tailored to the user's specific query and requirements.
  • The agent can then iteratively modify the document based on further user feedback to ensure the final contract is accurate and compliant.
Sample Questions:
  • Draft a contract for Non-Disclosure Agreements between Nestle and Dmart.
  • Draft a contract for Express Contract between HCL and IBM.