# Draft an agreement from your contract templates

Describe the deal (parties, scope, price, term and anything unusual) and a first draft is assembled from the contract templates and approved clauses you upload. Anything the terms don't settle is marked [TO CONFIRM] instead of filled in, and a list of deviations from your templates is added. A legal reviewer then records whether it is ready after edits or needs redrafting; the choice is recorded in the run and nothing is sent. It is a draft for a lawyer to check, not legal advice.

**Use cases:** Legal and compliance, Sales

**Tags:** contract drafting, agreement, MSA, SOW, services agreement, contract templates, clause library, legal review, human in the loop

[Create this agent](https://seclai.com/agent-examples/create/agreement_draft_from_templates)

## How it starts

Trigger: dynamic input.

## What it needs

- **Contract templates source** — Where your contract templates and approved clause library live. Upload them after the agent is created.
- **Contract templates knowledge base** — The knowledge base drafts are assembled from.

## Steps

- Find the matching template and clauses
- Draft the agreement
- Legal review
- Show the draft
