Ctrl+K
Importing…
Select Project
Subjects
Select a project first
Select a subject to start

Select or create a subject to start chatting

Context Picker
CLI API
0 tokens
Select a project to see available context
0% ~15s
~0 tokens · Sonnet · CLI mode
Issues
Notes
No documents yet

Select or create a project to get started

Due Diligence Report
AI-generated comprehensive due diligence analysis

Add instructions, requirements, or context that apply to every section.

Drop a .docx or .txt here or click to browse
Loading…
Original Document

Drop original .docx here
or click to browse
Revised Document

Drop revised .docx here
or click to browse
LDDR Builder
Select a project to start building a Legal Due Diligence Report.
Precedent Library
Past deals with full document suites — searchable reference for new LDDRs
Loading deals...
Clause Playbook
Standard negotiation positions, fallback strategies, and red lines
Quick Notes
Voice brain dumps captured from mobile — raw notes and thoughts
AI Studio
Prompt engineering, AI pipeline management, and feedback
PROMPTS
Select a prompt to edit
Start with the Lawyer Persona — it affects every AI call.
Prompt Engineer AI
Reads all prompts · suggests improvements
A− A+
Prompt Engineer AI
I have full context of all your prompts. Ask me to improve them, spot gaps, or draft new rules.
Ctrl+Enter to send
Edit Project
Archive Project
Drafts 0
No drafts yet for this project.
Email Workshop
Approach
Select an email from the dropdown, or paste below.
Write a new email from scratch. Fill in what you know — Claude will draft the full email.
Paste your draft below. Select an approach above to tell Claude how to improve it.
Your Draft — paste / type here
Claude's Draft
Fill in the left panel, select an approach,
then click Generate

     

TLegal Suite — How It Works

Setting Up a New Matter
1
Create a Project
Click + New Project in the sidebar. The Setup Wizard opens — name the matter, add parties, select topic threads. The wizard generates your Project Context automatically.
2
Load Documents
Click Documents → Add Document. Upload contracts, emails, term sheets, or paste text. The AI Case Brief generates automatically in the background.
3
Start Working
Select a subject from the left panel and start chatting. The AI already knows your matter — no need to re-explain anything.
Daily Working Routine
Start with Brief Me
Click Brief Me to get an instant AI catch-up — open issues, agreed positions, key risks, recent activity. Use at the start of every session.
Subject Chat
Each subject is a focused AI thread. Ask questions, request drafts, analyse clauses. The AI reads all your documents automatically per query.
Quick Prompts
Buttons above the chat run pre-built prompts: Summarise, Action Items, Legal Risks, Agreed Positions, Draft Clause.
Issues Tracker
Log unresolved legal/commercial points. Assign owners, track status (Open → In Progress → Resolved). Brief Me reads the issues list automatically.
After a Meeting
Upload the recording → Transcribe → Name speakers → Add to Library. The transcript becomes searchable context for the AI like any document.
DD Report
Generate a structured lender due diligence report. Customisable sections, context instructions, and firm template support.
The app has multiple AI systems working together behind the scenes. Understanding what each one does helps you get the most precise answers with the least effort.
Auto Case Brief Auto • Background
Every time a document is added to the library, the AI reads all project documents and generates a structured case brief — parties, key terms, obligations, risks, and current status. This brief is silently injected into every chat message before the AI reads your question. You never need to re-explain the deal. The brief updates automatically as documents are added. It stays concise (~500 words) so it adds minimal overhead but maximum context.
RAG — Retrieval Augmented Generation Per Query
When you ask a question, the app searches every document in your library for the most relevant passages and injects them into the AI's context window alongside your question. This means the AI can answer questions about specific clauses in a 100-page contract without reading the whole thing every time — only the relevant chunks are retrieved. Small documents (under ~500 words) are always loaded in full. Large documents are split into overlapping chunks of ~400 words and the most relevant ones are selected per query using keyword matching. The Case Brief handles the big picture; RAG handles the exact wording.
Context Window Per Subject
Each subject chat keeps up to 80 messages of conversation history in the AI's memory. When a thread exceeds this, the oldest messages are summarised and removed — the AI is told what the thread started with so nothing is lost. A yellow banner appears when this happens. You can always scroll up to see the full history.
Project Context Manual
A manual note you write once per project — deal size, governing law, key commercial terms, your client's position, anything that doesn't change. Injected into every chat alongside the Case Brief. Click Project Context to edit it. Think of it as the AI's permanent briefing sheet that you control.
How they stack:Every chat message the AI receives = System prompt (legal persona) + Case Brief (auto) + Project Context (manual) + RAG chunks (per query) + conversation history (up to 80 messages). Together these give the AI a deep, current understanding of your matter without you doing anything beyond uploading documents.
AI-assisted contract review in a full workspace — edit the document live, chat with the AI about any clause, run AI redlines, and keep a full version history. All changes are tracked automatically so you can always go back.
Opening a Contract for Review
1
Click any .docx in the document library
The document opens in the viewer. Click Review in the top toolbar. The Contract Review workspace opens immediately on the INFO tab — no separate setup page.
2
Fill in the INFO tab
Set Representing (which party you act for), Topic (what you're focusing on — e.g. Negotiate payment terms), and Context (background notes). These fields stay saved across tab switches and session resumes — you only fill them once per session.

Then pick an Opening Analysis card — e.g. Risk Assessment, Payment & Finance, Obligations, Termination — or write your own prompt. The selected card's prompt is editable before sending.
3
Apply & Go to Chat
Click ✓ Apply & Go to Chat. Your Representing/Topic/Context are saved to the session and the selected Opening Analysis prompt is sent immediately — the AI delivers its first analysis. You're now in the CHAT tab with the full document open in the left editor and the AI on the right.
The Contract Review Workspace
Live Word editor (left)
The document is open in OnlyOffice with Track Changes on. Edit directly — every change is tracked. Your edits are saved back to the actual .docx file on disk.
AI Chat (right)
Ask about any clause, request a redline, check obligations, explore risk — in plain language. The AI knows the full document, your brief, and the entire conversation so far.
Quick action buttons
Shortcuts in the chat header: Flag Risks · Obligations · Payment · Termination · IP/Ownership · Liability. Each sends a targeted analysis prompt instantly.
AI Redline
Click AI Redline and type instructions (e.g. Favour our position on payment). The AI generates specific clause edits — these are applied directly into the document as tracked changes via Word. A checkpoint is created automatically before every AI redline so you can always restore.
↻ Sync AI — Keeping the AI in Sync
After editing in the Word editor (accepting/rejecting tracked changes, writing new text), the AI's context can go stale — it still remembers the old document text. ↻ Sync AI fixes this.
What Sync AI does
1. Forces OnlyOffice to save the current document to disk.
2. Creates a version checkpoint (a snapshot of the file at that moment).
3. Re-extracts the document content via Word, detecting whether tracked changes are present:
  • No tracked changes → extracts clean final text.
  • Tracked changes present → extracts final text plus a structured list of all pending revisions (with original → proposed text), so the AI knows exactly what is proposed and what is already accepted.
4. Injects the fresh content into the AI's memory — the next message you send will be based on the updated document.
When to use it
After accepting or rejecting a batch of tracked changes. After editing contract text directly. After a colleague has made edits in Word and you've re-uploaded. Any time you want the AI to "see" the current state of the document before asking a question.
Version History & Restore
How checkpoints are created
A snapshot of the .docx file is saved automatically before every AI Redline (labelled before-ai-redline) and before every Restore (labelled before-restore). You can also create a manual checkpoint any time using ↻ Sync AI. Versions are stored in a _versions/ subfolder inside the project folder.
Viewing and restoring versions
Click the dropdown (next to ↻ Sync AI in the header) to see the full version history with timestamps and labels. Click Restore on any version — the current file is auto-checkpointed first, then replaced with the selected version. The editor reloads with the restored document.
Tracked changes vs. clean restore
If your colleague needs to see the tracked changes (e.g. to send a redlined version externally), do not accept them in TLegal — save the file as-is, export it, and share. Use Sync AI after the colleague returns a clean version. This keeps tracked changes visible for the other party while the AI stays in sync with your working copy.
Sessions & New Session
Save
Sessions are saved automatically
Every contract review is a session stored in the database. The chat history, Representing, Topic, and Context are all saved. Closing the modal and re-opening the document resumes the exact session where you left off — including all chat history.
New Session — explore a different angle
Click + New Session (next to Apply & Go to Chat in the INFO tab) to start a fresh review session for the same document. The old session is preserved in the database — nothing is deleted. Use this to e.g. run a first session focused on Payment Terms and a second on Termination without mixing the chat histories.
Adding Documents
Upload a file
Click + Add Document → Upload. Supports .docx, .pdf, .txt, and .eml. Text is extracted and stored. The original file is saved to your workspace folder.
Import an email
Drag and drop a .eml file onto the Documents panel, or use Add Document → Upload. The EML review modal opens — confirm label, category, and import.
Add a transcript
After transcribing a meeting, click Add to Library in the Transcript tab. It becomes a searchable document the AI can query like any other.
Paste text
Use Add Document → paste content directly into the text area. Good for pasting from web pages, shared drives, or other systems.
Document Labels & Storage
Organised automatically on disk
Every uploaded document is saved to a structured folder on disk: WorkspaceRoot / MatterName / Emails /, Contracts /, Reports /, etc. Set the Workspace Root in Settings to point to your machine or a network path so files are always accessible even if the server is down.
Download original file
When viewing a document, click ↓ Download to retrieve the original uploaded file (.eml, .txt, .docx etc.).
Email quick actions
When viewing an EMAIL document, the action bar shows Extract Actions (pull action items from the email) and Draft Reply (generate a professional reply with multiple tone options). Reply status is tracked per email.
The Precedent Database is a central library of your past PPP projects and reference templates — organised by project type and document structure. It powers template matching (find the closest match to a received document), project summaries (structured data on past deals), and future DD report drafting.
Step 1 — Build the Schema (do this once)
1
Open the Precedents tab
Click Precedents in the top navigation bar. The Precedent Database panel opens with the Schema tree on the left.
2
Add Sectors (Level 1)
Click + Sector at the top of the schema tree. Type the sector name and press Enter. Press Esc to cancel. Recommended sectors to create: Water · Energy · Transport · Social Infrastructure · District Cooling.
3
Add Sub-sectors (Level 2)
Hover a Sector → click + → type name → Enter. Examples by sector:
Water: Desalination · Water Treatment · Bulk Water Supply · Wastewater
Energy: Solar PV · Wind · CCPP · IPP Gas
Transport: Toll Roads · Metro / Rail · Ports
Social: Hospitals · Schools · Accommodation
District Cooling: Sports / Entertainment · CBD
4
Add Contract Types (Level 3)
Hover a Sub-sector → click +. The contract packages within a PPP project. Standard set to create under each sub-sector:
EPC (Engineering, Procurement & Construction) · O&M (Operations & Maintenance) · Concession · Implementation Agreement · Shareholders Agreement · Finance
5
Add Document Slots (Level 4)
Hover a Contract Type → click +. The individual documents within each package. Recommended slots:
Under EPC: EPC Agreement · Performance Bond · Parent Company Guarantee · Schedule of Milestone Dates · Variation Procedure
Under O&M: O&M Agreement · O&M Performance Bond · O&M Parent Guarantee
Under Concession: Concession Agreement · Direct Agreement
Under Finance: Common Terms Agreement · Facility Agreement · Security Trust Deed · Intercreditor Agreement
Edit at any time:Hover any node → to rename (type and press Enter), × to delete (deletes the node and all children). The schema is permanent — build it carefully. Once the structure is in place you rarely need to change it.
Step 2 — Add Reference Projects
1
Click + Add Project
Click + Add Project in the top right of the content area. The project form opens.
2
Fill in project details
Give the project a clear name — include the project name, country and year for easy identification (e.g. Jubail 3A IWP — Saudi Arabia 2021, Taweelah A2 Desalination — UAE 2019, Facility D Solar IPP — Jordan 2020). Select its Schema Category to link it to a Sub-sector (e.g. Desalination under Water).

Key fields to fill:
Country:Saudi Arabia, UAE, Jordan, Egypt, Oman…
Capacity: e.g. 600,000 m³/day (water) or 300 MW (energy)
Sponsors: e.g. ACWA Power / Veolia / Acciona — one per line
Lenders: e.g. IFC / EBRD / Saudi EXIM / NCB Capital — one per line
EPC Contractor: e.g. Doosan Heavy Industries, Acciona Agua
Project Structure: brief narrative — e.g. BOOT structure, 25-year concession, government offtake via NWC, IFC + bilateral lenders, ACWA Power 60% equity
3
Save and repeat
Click Save Project. The project card appears in the grid. Repeat for each of your ~40 reference projects. Once in the system you can filter by clicking nodes in the schema tree — e.g. click Desalination to see only desalination projects.
Step 3 — Add Documents to Slots
1
Select a Document Slot (Level 4)
Click any Level 4 node in the schema tree (e.g. Agreement under Water → Desalination → EPC). The right panel switches to the Template Docs tab and shows all reference documents stored in that slot.
2
Upload documents
Drag and drop .docx or .pdf files directly onto the drop zone, or click the zone to select files. Each document is stored in the precedent library, its text is extracted, and a structural fingerprint is built automatically (article headings, defined terms, clause numbers). This fingerprint is what the matching engine uses.
3
View documents per project
From the Reference Projects grid, click Docs on any project card to see all documents associated with that project across all slots.
How the Schema is Organised (the 4 Levels)
Level 1 — Sector
The broadest category. Create: Water · Energy · Transport · Social Infrastructure · District Cooling. Documents across sectors share almost no structure, so matching never crosses sectors.
Level 2 — Sub-sector
Project type within a sector. Examples: Desalination · Water Treatment · Wastewater (under Water); Solar PV · Wind · CCPP (under Energy); Toll Roads · Metro (under Transport). Reference projects are tagged here. Matching is always scoped to a sub-sector.
Level 3 — Contract Type
The contract package within a PPP deal. Every project has several: EPC (construction contract) · O&M (operations contract) · Concession (project agreement with government) · Implementation Agreement · Shareholders Agreement · Finance (lending documents).
Level 4 — Document Slot
The exact document. Under EPC: EPC Agreement · Performance Bond · Parent Company Guarantee · Schedule of Milestone Dates. Under Finance: Common Terms Agreement · Facility Agreement · Security Trust Deed. Template documents are stored here — matching is always slot-to-slot.
Coming next:Once your reference projects and documents are loaded, the matching engine (Phase 4) will automatically compare any received document against the relevant slot and return ranked matches with similarity scores. The DD report editor (Phase 5) will draft sections using precedents from your library.
Six advanced tools that give you deeper contract intelligence. The Clause Playbook feeds your standard positions into every AI interaction. The other tools help you extract, check, and track obligations, terms, and conditions across your documents.
Clause Playbook
Your Standard Negotiating Positions
The Playbook is your personal clause library — a record of your preferred position, acceptable fallback, and hard red lines for each clause type you regularly negotiate. Click Playbook in the top tab bar to open it.

How it works:Every clause you add is automatically injected into the AI's context during contract review. When the AI analyses a force majeure clause, it already knows your standard position, your fallback, and what you will never accept. This transforms generic AI advice into advice that reflects your practice.

Adding clauses:Click + Add Clause. Fill in the clause type (e.g. Force Majeure), category, your standard position (the language you prefer), fallback (acceptable compromise), and red lines (positions you never accept). The more detailed you are, the more targeted the AI's suggestions become.

Categories:Risk Allocation · Financial Terms · Boilerplate · Governance · Insurance · Termination · IP/Data · Employment · Project Finance · Other.
Obligation Matrix
Extract & Export Obligations
Click Obligations Matrix in the Quick Actions bar during any contract review (WF1, WF2, or WF3). The AI reads the contract and extracts every obligation, undertaking, and commitment into a structured table:

Clause reference (Section 5.2(a))
Obligor (who must perform)
Obligee (who benefits)
Obligation (what must be done)
Deadline (when)
Consequence (what happens on breach)
Category (payment, delivery, reporting, insurance, compliance, notification)

Click Export Word to download the matrix as a formatted Word table — ready to share with clients or include in a DD report.
Defined Terms Checker
Click Defined Terms in Quick Actions. The AI scans the contract and reports on every capitalised defined term:

OK — term is defined and used
Unused — defined but never used in operative provisions
? Undefined — used with capitalisation but no definition found
Inconsistent — defined differently in multiple places

Results appear directly in the chat window. This catches drafting errors that are easy to miss in long contracts — undefined terms, orphaned definitions, and inconsistent usage.
Checklists & CP Tracker
Track Conditions Precedent & Deliverables
Click the button in the workspace sidebar to open the Checklists panel. Each project can have multiple checklists — one for CPs to financial close, one for post-closing deliverables, one for regulatory approvals, etc.

Manual creation:Click + New Checklist, name it, then add items one by one. Each item can have a responsible party and due date.

AI extraction:Click Extract from Doc and select a document (e.g. the facility agreement or CP schedule). The AI reads the document and extracts all conditions precedent, deliverables, and compliance items into a structured checklist automatically. Items are categorised as documentary, corporate, financial, regulatory, insurance, or other.

Status tracking:Each item can be marked as Pending → In Progress → Done → ⏭ Waived. A progress bar shows completion percentage per checklist.
Version Timeline
Track Document Versions
When a contract goes through multiple negotiation rounds, link the versions together. Click Versions in the document viewer header to see and manage the version chain.

• Select another document from the same project to link as a version
• Label each version (e.g. v1, Counterparty Draft 2, Final Agreed)
• Click any version in the chain to jump to that document
• Combine with ⇄ Compare to diff any two versions and see exactly what changed between negotiation rounds
Cross-Project Search
Use the search bar in the top tab bar to search across all projects at once. Type any keyword — clause language, party name, legal concept — and get results from every project in your workspace.

Results show the document name, project name, and a snippet of matching text. Click a result to jump straight to that document, even if it's in a different project. Use this to find "how did we handle force majeure in the Morocco deal?" or "which contracts mention LIBOR replacement?"
Tip:The Clause Playbook is the most impactful tool to set up first. Start with 5–10 clause types you negotiate most often (Force Majeure, Limitation of Liability, Termination for Convenience, Change in Law, Material Adverse Effect, Assignment, Governing Law). Even a few sentences per clause will significantly improve the AI's redlining and review advice.
Tips for Best Results
Be specific in questions
"Summarise risk allocation in the Force Majeure clause of the EPC Contract" gets a far better answer than "what about force majeure?". The more precise the question, the more precise the RAG retrieval.
Keep subjects focused
One legal or commercial topic per subject. Don't mix "Security Package" and "Payment Mechanism" in the same thread. Tight context = precise answers and cleaner records.
Fill in Project Context
Click Project Context and add deal size, governing law, key commercial terms, your client's position. This is sent to the AI on every message and makes every answer more relevant.
Upload documents early
The more documents in the library, the richer the Case Brief and RAG retrieval. Upload everything upfront — contracts, term sheets, emails, meeting transcripts — before starting substantive analysis.
Profile name matters for redlining
Set your name in Settings → My Profile. This name appears as the author on all exported redlined Word documents — important for sending to counterparties.
Workspace Root = her backup
Set the Workspace Root in Settings to a shared network path or her machine. Every upload — documents, videos, exports, redlines — gets copied there automatically in organised folders.
AI usage:The app uses your Claude Max subscription — unlimited usage, no per-token billing. Run as many analyses, redlines, and briefs as you need.
Online
No project
0 subjects
Opus
CLI mode
~0 tokens
v7.11.3
0:00
0 / 0
1.25x