Tutorial 08: Desktop Agent Automation for Legal Tasks
Learn to automate contract review, document processing, and legal workflows with a desktop agent, Claude Cowork or the Codex app, without writing code.
CoversClaude: verifiedChatGPT / Codex: draftGrok Bot: verified
What changed since this was writtenLatest check: May 9, 2026 · 1
- OpenAI model, plan, and Responses API documentation refresh
OpenAI docs now emphasize current GPT-5.5/GPT-5.4-era model guidance, updated ChatGPT plan naming, and Responses API plus built-in tools as the starting point for new API workflows.
Recommended action: For legal workflows, avoid stale GPT-4 or fixed-price plan advice; verify the current model, plan, tool, retention, and review controls before piloting client-facing automation.
Sources: OpenAI models · ChatGPT pricing · GPT-5.5 in ChatGPT · Responses API migration · OpenAI tools guide · Code Interpreter tool
What You'll Learn
This tutorial shows you how to use a desktop agent, Claude Cowork or the Codex app, to automate legal tasks—batch NDA processing, contract comparison, due diligence extraction—without writing code. Claude works directly with your local files.
Learning Objectives
By the end of this tutorial, you will:
- Understand what a desktop agent can do for legal automation
- Set up your desktop agent for contract review and document processing
- Build automated legal workflows without coding
- Create professional document outputs (Word, Excel, PowerPoint)
- Extract and process tabular data at scale
- Integrate Word track changes and comment generation
- Automate document organization and naming
- Execute batch translation workflows
- Manage client collaboration and approval workflows
Part 1: Understanding Desktop Agents for Legal
A desktop agent works in your folders and tools rather than in a chat box: you hand it a goal, it opens files, runs multi-step tasks, produces finished documents, and shows each step for review.
Claude Cowork
The Cowork product page (checked 2026-09-02) describes it as working "directly in folders and tools you choose", showing "each step: the files it opens, tools it uses, and choices it makes". It runs on web, desktop (macOS and Windows downloads) and mobile; tasks can be scheduled "for any cadence" and run unattended, and a task started from your phone keeps working in the cloud. It reads and writes Word, PDF, text, Markdown, CSV, Excel and PowerPoint files. Computer use (operating your screen) is in research preview and asks permission before accessing each application.

Official Claude screenshot from Claude Code. Treat browser-delegated work as unattended agent work: set scope, test commands, and a human approval gate before shipping.
Why a Desktop Agent Matters for Lawyers
| Chat assistant | Desktop agent |
|---|---|
| Chat-based interaction | Task delegation |
| Manual file handling | Direct file access |
| One response at a time | Multi-step execution |
| Generic outputs | Professional documents |
Desktop Agents vs. Harvey/Legora Automation
| Feature | Cowork / Codex app | Harvey Workflows | Legora Workflows |
|---|---|---|---|
| Coding required | No | No | No |
| Customization | Unlimited | Template-based | Template-based |
| Document output | Word, Excel, PowerPoint | PDF reports | Various |
| Local file access | Yes | Cloud only | Cloud only |
| Pricing model | Plan-based access (verify current plans) | Enterprise contracts | Enterprise contracts |
| Where work runs | Your machine, with cloud continuation | Cloud | Cloud |
Part 2: Setting Up Your Desktop Agent for Legal Work
Requirements (from the Cowork page and pricing page, checked 2026-09-02)
- Claude desktop app for macOS or Windows
- Pro, Max or Team plan; Enterprise admins enable Cowork in Organization settings
- An internet connection; tasks started from your phone continue in the cloud
Accessing Cowork
- Open the Claude desktop app
- Switch to the Cowork tab
- Choose the folder Claude may work in
Configuring your legal workspace
- Select a working folder: your matter folder, a contract review staging area, or a template library
- Install the Legal plugin: Plugins in Cowork, search "Legal", Install. Plugins bundle skills, connectors and sub-agents (the Cowork page: "Customize Cowork with plugins")
- Configure the practice profile: see Tutorial 06
Computer use is in research preview, and the Enterprise page says Cowork activity is not yet captured in audit logs or the Compliance API (checked 2026-09-02). Keep regulated workflows that need those controls out of Cowork until that changes.
Part 3: Core Legal Automation Workflows
Workflow 1: Batch NDA Processing
Scenario: You receive 20 NDAs weekly. Automate triage and initial review.
Prompt:
What the agent does:
- Scans the NDA folder
- Opens each NDA and analyzes
- Categorizes based on playbook
- Creates organized Excel summary
- Moves files to correct folders
- Drafts email summary
Expected impact: Significant time reduction for repeatable workflows, depending on document quality, folder hygiene, and review standards.
Workflow 2: Contract Comparison Report
Scenario: Client wants to understand how competitor's terms compare to market.
Prompt:
Workflow 3: Due Diligence Document Processing
Scenario: M&A deal requires reviewing 200+ contracts in data room.
Prompt:
Workflow 4: Litigation Timeline Generation
Scenario: Prepare chronology from case documents for trial prep.
Prompt:
Part 4: Tabular Extraction & Portfolio Analytics
Portfolio-Wide Spreadsheet Generation
Scenario: You need a portfolio-wide analysis of all active contracts for risk management.
Prompt:
Advanced Extension - Legora Equivalent:
Part 5: Microsoft Word Integration Workflows
Track Changes & Redline Automation
Scenario: You need to redline a vendor's proposed contract with your standard terms.
Prompt:
What the agent does:
- Reads the vendor draft
- Compares to your template
- Creates tracked changes (visible red deletions/insertions)
- Adds detailed explanatory comments
- Generates professional memo
- Preserves formatting
Verification Checklist:
- All changes visible in track changes
- Comments are clear for negotiation
- Cover memo accurately reflects changes
- File ready to send to vendor
- Confidential info properly marked
Comment Generation for Collaborative Review
Scenario: Team members need to review a contract and document their feedback with Word comments.
Prompt:
Style Enforcement & Formatting
Scenario: Ensure all contract outputs follow firm standards.
Prompt:
Part 6: Document Organization & Automation
AI-Suggested Naming & Folder Cleanup
Scenario: Your document folder has thousands of files with inconsistent naming.
Prompt:
Duplicate Detection & Resolution
Scenario: Find and consolidate duplicate contracts taking up space and creating confusion.
Prompt:
Part 7: Batch Translation Workflow
Multi-Document Translation with Formatting Preservation
Scenario: You have contracts in English that need Spanish versions maintaining all formatting.
Prompt:
Always have qualified legal translators review AI-generated translations before execution or client delivery.
Advanced: Bilingual Document Generation:
Consistency Across Language Versions
Prompt:
Part 8: Client Collaboration Portal Equivalent
Secure Document Sharing Workflows
Scenario: Create organized client deliverables with proper documentation.
Prompt:
Status Update Generation
Scenario: Generate periodic client status updates from matter files.
Prompt:
Client-Facing Summary Creation
Scenario: Transform detailed analysis into client-friendly summaries.
Prompt:
Approval Workflow Automation
Scenario: Automate document approval tracking and escalation.
Prompt:
Part 9: Professional Document Generation
Word Documents
The agent can generate professional Word documents with:
- Proper formatting
- Styles and headings
- Tables and charts
- Track changes (for redlines)
- Comments
Example: Contract Redline Request
Excel Spreadsheets
The agent creates functional Excel files with:
- Working formulas
- Conditional formatting
- Multiple sheets
- Charts and graphs
- Data validation
Example: Contract Portfolio Analysis
PowerPoint Presentations
The agent generates presentation-ready slides:
- Professional layouts
- Charts and visuals
- Speaker notes
- Consistent formatting
Example: Board Legal Update
Part 10: Automated Monitoring & Alerts
Setting Up Contract Expiration Monitoring
Prompt:
Regulatory Update Monitoring
Prompt:
Part 11: Integration with Plugin Workflows
Combined workflow with the Legal plugin
Part 12: Best Practices for Desktop Agent Legal Automation
Do's
- Do start with small batches to test workflows
- Do review all outputs before sending/filing
- Do maintain organized folder structures
- Do back up important documents before processing
- Do document your workflows for team replication
Don'ts
- Don't automate privileged analysis without controls
- Don't rely on the agent for final legal conclusions
- Don't process client documents without proper security
- Don't skip verification of extracted data
- Don't use for regulated workflows without compliance review
Quality Control Checklist
For every agent-generated deliverable:
- Spot-check extracted data against source
- Verify document formatting is correct
- Review any legal conclusions
- Check privilege/confidentiality handling
- Confirm file saved to correct location
- Test any Excel formulas
- Review before client/counterparty sharing
Part 13: Limitations and Workarounds
Current Cowork limitations (checked 2026-09-02 against the Cowork page)
| Limitation | Workaround |
|---|---|
| Computer use is in research preview | Prefer connectors and file access; use approval checkpoints before external sharing |
| Cowork activity is not yet captured in audit logs or the Compliance API | Do not use for regulated workflows requiring those controls |
| Enterprise access is admin-enabled | Ask your admin to enable Cowork in Organization settings |
| Draft: memory and Projects inside Cowork | Include matter context in each run until verified otherwise |
| File size limits | Split large documents |
| Complex formatting | May need manual polish |
When to Use a Traditional Approach Instead
- Highly confidential matters (privilege concerns)
- Regulated workflows requiring audit trails
- Complex formatting requirements
- When human judgment is critical
- One-off tasks that don't justify setup
Do This Now
- Set up your desktop agent and create a working folder for legal documents
- Process a batch of 5–10 documents (e.g., NDAs or contracts) with it
- Generate one professional document (Word, Excel, or PowerPoint)
- Extract tabular data from documents into Excel
- Create a track-changes document with comments for one contract
Related
Navigation
Quick Reference: Desktop Agent Command Patterns
Batch Processing
Report Generation
Tabular Extraction
Track Changes & Comments
Translation Workflow
Client Collaboration
Sources
- Getting Started with Cowork
- Cowork Research Preview
- Cowork Plugins
- Claude Pricing
- Using Cowork Safely
- Cowork for Team and Enterprise Plans