{
 "schema": "aiblocks-page/1",
 "id": "agency-legal-document-review",
 "type": "agent",
 "name": "Legal document reviewer",
 "summary": "Paste a contract. Get its key terms, risky clauses ranked, missing terms and questions to take to your lawyer before you sign.",
 "headline": "Legal document reviewer",
 "subhead": "Give it a contract, lease or similar agreement, and say which side you are. It reads the whole text first. You get the key terms, the clauses flagged High, Medium or Low with the exact words quoted, the terms that are missing and questions for your lawyer.",
 "job": {
  "id": "check-contracts",
  "name": "Check contracts and rules"
 },
 "level": "intermediate",
 "thinking": "high",
 "tested": true,
 "updated": "2026-10-28",
 "first_published": "2026-10-26",
 "inputs": [
  {
   "type": "contract",
   "required": true,
   "label": "Contract",
   "what": "a contract or agreement in full, such as terms of service, an NDA or an order form, with its clauses, dates and any changes"
  },
  {
   "type": "question",
   "required": false,
   "label": "Question",
   "what": "the problem, decision or piece of work you want help with, and what a good outcome looks like"
  }
 ],
 "outputs": [
  {
   "type": "audit_report",
   "required": true,
   "label": "Audit report",
   "what": "findings with evidence, severity, missing inputs and next actions"
  }
 ],
 "you_give": [
  "The contract, pasted as text or attached as a file",
  "Which side you are, such as buyer, seller, tenant, landlord or contractor, and the state or country whose law applies",
  "What worries you most, such as payment terms or ending early (optional)",
  "An earlier version, if you want every change listed (optional)"
 ],
 "you_get": [
  "A summary card with the parties, your side, the dates and the law that applies",
  "Key terms at a glance, including price, length, how to leave, who pays if things go wrong and who owns the work",
  "A list of standard terms the contract does not have",
  "Flagged clauses ranked High, Medium or Low, each with the exact words, why it matters and a change to ask for",
  "Questions to take to your lawyer, in priority order"
 ],
 "use_when": [
  "A vendor, client or landlord sends you a contract and you have a few days before you must sign.",
  "The other side sends a new version and you need to see every change, not only the ones they mention.",
  "You want to know what a long agreement says about payment, ending it early and who pays when things go wrong.",
  "You have a meeting with a lawyer and want your questions ready, so the paid hour goes further."
 ],
 "skip_when": [
  "You need advice on whether to sign, or you are in a dispute or a lawsuit. Ask a lawyer. Use this agent only to prepare.",
  "You have your own contract rules and want edits that match them. Use the Contract reviewer.",
  "You want your business practices checked against the law, not one contract. Use the Legal Compliance Checker agent."
 ],
 "output_sample": {
  "input": [
   "The contract, pasted or attached",
   "Which side you are and which law applies",
   "What worries you most (optional)",
   "An earlier version to compare (optional)"
  ],
  "prerequisites": [
   "An AI that can read files, if you attach a PDF or Word file",
   "Permission to share the contract with an AI tool"
  ],
  "output": [
   {
    "name": "Summary card",
    "contains": "Document type, parties, your side, dates, governing law and why you are reviewing it."
   },
   {
    "name": "Key terms at a glance",
    "contains": "Length, price, how to end the deal, renewal, liability limit, who pays for losses, who owns the work."
   },
   {
    "name": "Missing terms",
    "contains": "Each standard term that is absent, with what its absence means for you."
   },
   {
    "name": "Flagged clauses",
    "contains": "High, Medium and Low flags with section, exact words, reason, what is usual and a change to ask for."
   },
   {
    "name": "Version changes",
    "contains": "Every change between two versions, rated good, bad or neutral for you. Only if you gave two versions."
   },
   {
    "name": "Overall risk and lawyer questions",
    "contains": "A High, Medium or Low rating with reasons, then questions in priority order."
   }
  ]
 },
 "output_shape": "SUMMARY CARD\n  Type <contract type> | Parties <A and B> | Your side <role> | Date <date> | Law <place> | Purpose <why you are reviewing>\n\nKEY TERMS AT A GLANCE\n  Length <time> | Price <amount> | Ending the deal <how> | Renewal <how> | Limit on liability <cap or none>\n  Who pays for losses <who for what> | Who owns the work <who> | Secrecy <terms> | Disputes <where and how>\n\nMISSING TERMS\n  <standard term> | <what the absence means for you>\n\nFLAGGED CLAUSES\n  <High, Medium or Low> | <section and page> | \"<exact words>\" | <why it matters> | <what is usual> | <change to ask for>\n\nVERSION CHANGES (only if two versions were given)\n  <section> | <old words> | <new words> | <good, bad or neutral for you> | <accept, reject or counter>\n\nOVERALL RISK\n  <High, Medium or Low> | <two or three sentences of reasons>\n\nQUESTIONS FOR YOUR LAWYER\n  <priority> | <question> | <clause it relates to>",
 "how_to_use": [
  "Check your contract's confidentiality terms and your AI's data settings before you paste or attach anything.",
  "Download the pack from this page and add it to your AI as a skill. If you cannot, paste SKILL.md into a new chat, then paste references/source-agent.md.",
  "Attach or paste the contract. Say which side you are and which state or country's law applies.",
  "Say what worries you most. Attach the earlier version too if you want a list of changes.",
  "Type \"Do a first-pass review. Quote the exact words for each flag. Mark anything you cannot tell.\"",
  "Read the missing terms and the High flags first. Take the lawyer questions to a lawyer before you sign."
 ],
 "checks": [
  "The result addresses your actual task and cites the evidence used.",
  "Examples, role-play experience and targets are kept separate from verified results.",
  "Claims of tests, memory, tool access or completed actions match what actually happened."
 ],
 "next": [
  {
   "name": "Contract plain-language summary writer",
   "url": "https://useaiblocks.com/prompts/plain-words-contract-summary",
   "why": "Contract plain-language summary writer"
  },
  {
   "name": "Contract summary writer",
   "url": "https://useaiblocks.com/skills/contract-plain-summary",
   "why": "Contract summary writer"
  },
  {
   "name": "AI law gap checker",
   "url": "https://useaiblocks.com/skills/new-ai-rule-gap-checker",
   "why": "AI law gap checker"
  }
 ],
 "source": {
  "by": "Michael Sitarzewski and Agency Agents contributors",
  "repo": "msitarzewski/agency-agents",
  "url": "https://github.com/msitarzewski/agency-agents/blob/b37b5bb33b78f2c1d6567d98e25ca818e3259219/specialized/legal-document-review.md",
  "licence": "MIT",
  "original_name": "Legal Document Review",
  "commit": "b37b5bb33b78f2c1d6567d98e25ca818e3259219"
 },
 "credits": [
  {
   "title": "Legal Document Review",
   "by": "Michael Sitarzewski and Agency Agents contributors",
   "url": "https://github.com/msitarzewski/agency-agents/blob/b37b5bb33b78f2c1d6567d98e25ca818e3259219/specialized/legal-document-review.md",
   "used": "Original agent profile, preserved in references/source-agent.md; AI Blocks adds setup and review instructions."
  }
 ],
 "files": [
  "LICENSE",
  "references/source-agent.md",
  "SETUP.md",
  "source.json"
 ],
 "links": {
  "page": "https://useaiblocks.com/agents/agency-legal-document-review",
  "markdown": "https://useaiblocks.com/agents/agency-legal-document-review.md",
  "json": "https://useaiblocks.com/agents/agency-legal-document-review.json",
  "instructions": "https://useaiblocks.com/skills/agency-legal-document-review/SKILL.md",
  "download": "https://useaiblocks.com/skills/agency-legal-document-review.zip",
  "api_item": "https://useaiblocks.com/api/v1/items/agency-legal-document-review",
  "api_document": "https://useaiblocks.com/api/v1/documents/agent/agency-legal-document-review",
  "mcp": "https://useaiblocks.com/mcp"
 }
}
