# Dealroom: LLM Context > Dealroom is a two-party asynchronous contract negotiation platform built by TODO.LAW. It replaces emailing Word files back and forth with a shared workspace that proposes a compromise for each clause using a fixed, published weighted formula (no AI model decides the outcome). ## Hosted and your own instance - **dealroom.todo.law charges per contract.** Drafting and negotiating are free. Each contract is paid once, at the price shown on the pricing page, when it is first downloaded (PDF, DOCX or TXT) or when its signature starts. Every contract skill, premium ones included, is covered by that price. There is no monthly plan. - **Agents pay per contract too.** An agent pays for each contract with one prepaid credit: a contract made in one call spends it when it is made, and a negotiated contract spends it when its document is first fetched. Credits are sold in packs of ten and belong to the customer account, so any of its API keys can spend them. The current amounts are in the agent card (/.well-known/agent.json, under "pricing"). - **An agent's API key is created by its user, without contacting us.** Sign in at https://dealroom.todo.law, open Settings, API keys (https://dealroom.todo.law/settings/api-keys) and choose Create key. The full key (it starts with drk_) is shown once, so copy it then. The same page lists your keys with their last use, revokes them, shows the credit balance and sells credit packs. An account can hold up to 5 active keys. - **Your own instance (self-hosted Dealroom) has no caps.** Premium skills are sold only for your own instance: $60 a year each, bought on the todo.law storefront and activated offline with a licence file. ## Make a contract in one call (developers and agents) - **Quick start:** https://dealroom.todo.law/developers (Spanish: https://dealroom.todo.law/es/developers). Three steps: create an API key at /settings/api-keys, buy credits on the same page, make the call. Plain Markdown of the same page: https://dealroom.todo.law/developers.md (Spanish: https://dealroom.todo.law/es/developers.md), with every contract type in a table. - **One REST call:** `POST https://dealroom.todo.law/api/v1/agent/contracts` with `Authorization: Bearer drk_...` and a JSON body: `contractType` (code such as `NDA`, or the guide slug such as `nda`), `party` (your side: `legalName`, optional `address`, `taxId`, `signatoryName`, `signatoryTitle`, `email`), optional `counterparty` (same shape; left out, the other side's block stays blank), `governingLaw` (needed only when the type offers more than one), optional `language`, `role` (DPA and BAA), `terms` (inputs by id), `clauses` (clause id to option code) and `inline` (`md`, `html` or `txt`: the contract itself in the answer). Clauses left out take the standard option. The answer gives `dealId`, `dealUrl` (to read it in Dealroom), the Markdown, HTML, TXT, PDF and DOCX links and, with `inline`, the contract. - **Formats:** every contract can be fetched as Markdown (`/api/v1/agent/deals/{dealId}/document/md`, best for agents), self-contained HTML (`/document/html`, one section per clause with stable ids), plain text (`/document/txt`), PDF (`/document`) or DOCX (`/document/docx`). All come from the same contract text; once the contract is paid, every format is free. - **What it costs:** the same as any contract. One prepaid credit is spent; with no credit the answer is HTTP 402 with code PAYMENT_REQUIRED and nothing is created. Later downloads of the same contract are free. Send an `Idempotency-Key` header on retries so a retry is not charged again. - **What each type needs:** `GET https://dealroom.todo.law/api/v1/agent/contract-types` (no key; `?lang=es` for Spanish): codes, slugs, governing laws, languages, roles and inputs. `&contractType=DPA` returns one type with its inputs; `&summary=1` leaves the inputs out. Send every required input in `terms`; a required input with a default can be left out and the default is applied. - **MCP server:** `https://dealroom.todo.law/api/v1/agent/mcp` (Streamable HTTP; API key in the Authorization header). Its tools: `list_contract_types` (no key needed; optional `contractType` for one type, `summary` for a list without inputs), `generate_contract` (returns the contract as Markdown by default), `download_contract` (Markdown by default; also HTML, PDF, DOCX, TXT), `get_deal`, `delete_deal` (deletes one of your single-party deals and its data; REST `DELETE /api/v1/agent/deals/:id`), `buy_credits`, `get_credit_balance`, `get_subscriptions` (earlier per-skill subscriptions; every template is now included), and for negotiation between two agents `list_templates`, `get_template`, `create_playbook`, `initiate_negotiation` and `join_negotiation` (these also take the A2A_ agent-to-agent protocol types, which are negotiated only). Five more are free: `find_template` (describe the matter; get the matching templates, or "No template covers this. Such matters are usually handled by a lawyer." Matching by words, no AI model. No key needed), `explain_options` (the options of one clause, with each side's pros and cons as the template states them; nothing is recommended), `list_obligations` (the duties and the dates a contract states: term, renewal, notice and date inputs), `get_deadlines` (public statutory dates: 83(b), Form D, Delaware 1 March, each with its official source to verify; no key needed) and `share_with_attorney` (invite any lawyer you choose to review a contract in Dealroom; the lawyer works for you and bills you directly; Dealroom takes no fee and makes no recommendation). Claude Code: `claude mcp add --transport http dealroom https://dealroom.todo.law/api/v1/agent/mcp --header "Authorization: Bearer drk_YOUR_KEY"`. Setup for Claude Desktop, Cursor and VS Code is on the quick start page. - **Discovery files:** MCP server card https://dealroom.todo.law/.well-known/mcp/server-card.json, MCP discovery https://dealroom.todo.law/.well-known/mcp.json, agent card https://dealroom.todo.law/.well-known/agent.json (it describes the service; Dealroom is reached through the MCP server or the REST API, not the A2A protocol), and the full list of contract types with codes, required inputs, guide links and a one-call body for each at https://dealroom.todo.law/llms-full.txt. - **Per contract:** every contract guide below opens with a "Make this contract from your AI agent" block: the code to send as `contractType`, the required inputs, the MCP server address and the one call filled in for that contract (anchor `#agent`, for example https://dealroom.todo.law/contracts/nda#agent). ## Public Pages - [Homepage](https://dealroom.todo.law): Platform overview, feature descriptions, how it works - [Developers](https://dealroom.todo.law/developers): Quick start for developers and startups: make a contract in one call through the API or MCP, with setup for MCP clients (Spanish: https://dealroom.todo.law/es/developers; Markdown: https://dealroom.todo.law/developers.md) - [Pricing](https://dealroom.todo.law/pricing): Pay per contract for people and agents, what is free, and your own instance - [Contract guides](https://dealroom.todo.law/contracts): Plain-language guide to every contract type Dealroom drafts and negotiates (Spanish: https://dealroom.todo.law/es/contracts) - [Launch a Delaware C-Corp](https://dealroom.todo.law/guides/delaware-c-corp): How the startup quick start (/launch, English only) prepares the founding documents of a Delaware C-Corp from one company profile: the Certificate of Incorporation and, for each founder, a Founders' Agreement and an IP Assignment. Each document is paid as one contract. It files nothing with Delaware, is not a registered agent, and does not obtain an EIN or open a bank account - [Documentation Hub](https://dealroom.todo.law/docs): Full platform documentation - [How It Works](https://dealroom.todo.law/docs/how-it-works): Step-by-step negotiation workflow - [Compromise Algorithm](https://dealroom.todo.law/docs/compromise): Weighted compromise methodology - [Contract Skills](https://dealroom.todo.law/docs/skills): Supported contract types and templates - [A2A Skills Catalog](https://dealroom.todo.law/docs/a2a-skills): Contract types available for agent-to-agent negotiation - [Agent API](https://dealroom.todo.law/docs/agent-api): REST API and MCP server for AI agents: one-call contracts, and negotiation between two agents with playbooks - [Agent Preparation](https://dealroom.todo.law/docs/agent-preparation): Guide for preparing agents for contract negotiation and dispute resolution - [Local Deployment](https://dealroom.todo.law/docs/local-deployment): Self-hosted deployment guide - [Security](https://dealroom.todo.law/docs/security): How Dealroom protects deals: hosting, encryption, access and sign-in, each statement describing what the code does today - [Premium skills for your own instance](https://todo.law/marketplace): $60 a year each, for your own instance ## Contract Guides One page per contract type, in English and Castilian Spanish: what the contract is, who signs it, the key clauses, what the two sides usually negotiate and the middle ground Dealroom proposes, supported jurisdictions, common mistakes, and how to create it in Dealroom or through the agent API (`GET /api/v1/agent/templates?q=nda`, MCP `list_templates` with `query`; one-call creation with `POST /api/v1/agent/contracts` or MCP `generate_contract`). - [Non-disclosure agreement (NDA)](https://dealroom.todo.law/contracts/nda) · [ES: Acuerdo de confidencialidad (NDA)](https://dealroom.todo.law/es/contracts/nda) - [Master services agreement (MSA)](https://dealroom.todo.law/contracts/master-services-agreement) · [ES: Contrato marco de prestación de servicios (MSA)](https://dealroom.todo.law/es/contracts/master-services-agreement) - [SaaS subscription agreement](https://dealroom.todo.law/contracts/saas-agreement) · [ES: Contrato de suscripción SaaS](https://dealroom.todo.law/es/contracts/saas-agreement) - [Software development agreement](https://dealroom.todo.law/contracts/software-development-agreement) · [ES: Contrato de desarrollo de software](https://dealroom.todo.law/es/contracts/software-development-agreement) - [Technology license agreement](https://dealroom.todo.law/contracts/technology-license-agreement) · [ES: Contrato de licencia de tecnología](https://dealroom.todo.law/es/contracts/technology-license-agreement) - [Joint venture agreement](https://dealroom.todo.law/contracts/joint-venture-agreement) · [ES: Contrato de joint venture](https://dealroom.todo.law/es/contracts/joint-venture-agreement) - [Data processing agreement (DPA)](https://dealroom.todo.law/contracts/data-processing-agreement) · [ES: Contrato de encargo del tratamiento de datos](https://dealroom.todo.law/es/contracts/data-processing-agreement) - [Privacy notice (privacy policy)](https://dealroom.todo.law/contracts/privacy-notice) · [ES: Aviso de privacidad (política de privacidad)](https://dealroom.todo.law/es/contracts/privacy-notice) - [HIPAA business associate agreement (BAA)](https://dealroom.todo.law/contracts/business-associate-agreement) · [ES: Acuerdo de socio comercial de la HIPAA (BAA)](https://dealroom.todo.law/es/contracts/business-associate-agreement) - [Data licensing agreement](https://dealroom.todo.law/contracts/data-licensing-agreement) · [ES: Contrato de licencia de datos](https://dealroom.todo.law/es/contracts/data-licensing-agreement) - [Consulting agreement (independent contractor)](https://dealroom.todo.law/contracts/consulting-agreement) · [ES: Contrato de consultoría (profesional independiente)](https://dealroom.todo.law/es/contracts/consulting-agreement) - [Service agreement under Spanish law (contrato de prestación de servicios)](https://dealroom.todo.law/contracts/services-agreement-spain) · [ES: Contrato de prestación de servicios profesionales](https://dealroom.todo.law/es/contracts/services-agreement-spain) - [Employment agreement](https://dealroom.todo.law/contracts/employment-agreement) · [ES: Contrato de trabajo (California e Inglaterra y Gales)](https://dealroom.todo.law/es/contracts/employment-agreement) - [Employment contract under Spanish law (contrato laboral)](https://dealroom.todo.law/contracts/employment-contract-spain) · [ES: Contrato laboral (contrato de trabajo en España)](https://dealroom.todo.law/es/contracts/employment-contract-spain) - [Intellectual property assignment agreement](https://dealroom.todo.law/contracts/ip-assignment-agreement) · [ES: Contrato de cesión de propiedad intelectual](https://dealroom.todo.law/es/contracts/ip-assignment-agreement) - [IP assignment agreement under Spanish law (cesión de propiedad intelectual)](https://dealroom.todo.law/contracts/ip-assignment-spain) · [ES: Contrato de cesión de derechos de propiedad intelectual](https://dealroom.todo.law/es/contracts/ip-assignment-spain) - [Advisory agreement](https://dealroom.todo.law/contracts/advisory-agreement) · [ES: Contrato de asesoramiento](https://dealroom.todo.law/es/contracts/advisory-agreement) - [Certificate of incorporation (Delaware C corporation)](https://dealroom.todo.law/contracts/delaware-certificate-of-incorporation) · [ES: Certificado de constitución (C Corporation de Delaware)](https://dealroom.todo.law/es/contracts/delaware-certificate-of-incorporation) - [Founders agreement](https://dealroom.todo.law/contracts/founders-agreement) · [ES: Acuerdo de fundadores](https://dealroom.todo.law/es/contracts/founders-agreement) - [Venture capital term sheet](https://dealroom.todo.law/contracts/term-sheet) · [ES: Term sheet (carta de intenciones de inversión)](https://dealroom.todo.law/es/contracts/term-sheet) - [Convertible note](https://dealroom.todo.law/contracts/convertible-note) · [ES: Préstamo convertible (nota convertible)](https://dealroom.todo.law/es/contracts/convertible-note) - [SAFE (simple agreement for future equity)](https://dealroom.todo.law/contracts/safe-agreement) · [ES: Acuerdo SAFE (acuerdo simple de capital futuro)](https://dealroom.todo.law/es/contracts/safe-agreement) - [Seed investment agreement](https://dealroom.todo.law/contracts/seed-investment-agreement) · [ES: Pacto de inversión](https://dealroom.todo.law/es/contracts/seed-investment-agreement) - [Shareholders agreement](https://dealroom.todo.law/contracts/shareholders-agreement) · [ES: Pacto de accionistas](https://dealroom.todo.law/es/contracts/shareholders-agreement) - [Spanish shareholders' agreement (pacto de socios)](https://dealroom.todo.law/contracts/shareholders-agreement-spain) · [ES: Pacto de socios para sociedad limitada](https://dealroom.todo.law/es/contracts/shareholders-agreement-spain) - [Equity incentive plan](https://dealroom.todo.law/contracts/equity-incentive-plan) · [ES: Plan de incentivos en capital](https://dealroom.todo.law/es/contracts/equity-incentive-plan) - [Advertising insertion order (IO)](https://dealroom.todo.law/contracts/advertising-insertion-order) · [ES: Orden de inserción publicitaria](https://dealroom.todo.law/es/contracts/advertising-insertion-order) - [Affiliate and referral program agreement](https://dealroom.todo.law/contracts/affiliate-agreement) · [ES: Contrato de programa de afiliados y referidos](https://dealroom.todo.law/es/contracts/affiliate-agreement) - [Influencer marketing agreement](https://dealroom.todo.law/contracts/influencer-marketing-agreement) · [ES: Contrato de marketing con influencers](https://dealroom.todo.law/es/contracts/influencer-marketing-agreement) - [White-label and reseller agreement](https://dealroom.todo.law/contracts/reseller-agreement) · [ES: Contrato de marca blanca y distribución](https://dealroom.todo.law/es/contracts/reseller-agreement) - [Board of directors minutes (Spain)](https://dealroom.todo.law/contracts/board-minutes-spain) · [ES: Acta de consejo de administración](https://dealroom.todo.law/es/contracts/board-minutes-spain) - [General meeting minutes (Spain)](https://dealroom.todo.law/contracts/general-meeting-minutes-spain) · [ES: Acta de junta general](https://dealroom.todo.law/es/contracts/general-meeting-minutes-spain) - [Phantom shares plan (Spain)](https://dealroom.todo.law/contracts/phantom-shares-plan) · [ES: Marco de phantom shares](https://dealroom.todo.law/es/contracts/phantom-shares-plan) - [Individual phantom shares grant (Spain)](https://dealroom.todo.law/contracts/phantom-shares-grant) · [ES: Asignación individual de phantom shares](https://dealroom.todo.law/es/contracts/phantom-shares-grant) - [Residential lease (Spain)](https://dealroom.todo.law/contracts/residential-lease-spain) · [ES: Contrato de arrendamiento de vivienda](https://dealroom.todo.law/es/contracts/residential-lease-spain) - [Assured periodic tenancy agreement](https://dealroom.todo.law/contracts/assured-periodic-tenancy) · [ES: Assured periodic tenancy (Inglaterra y Gales)](https://dealroom.todo.law/es/contracts/assured-periodic-tenancy) - [California residential lease agreement](https://dealroom.todo.law/contracts/california-residential-lease) · [ES: Contrato de alquiler de vivienda en California](https://dealroom.todo.law/es/contracts/california-residential-lease) ## What Dealroom Does - **Two-Party Negotiation**: Asynchronous contract negotiation between two parties on a shared workspace - **Weighted Compromise**: A fixed formula, stake = ((5 - flexibility) / 5 × 0.6) + (|bias| × 0.4), proposes a compromise for each clause from each party's firmness and the bias of each option; it is documented at /docs/compromise - **Access and transport**: Connections use HTTPS; access to each deal is checked on the server and only the deal's parties can download its documents. Contract content is stored in the service's database and is not end-to-end encrypted - **Cross-Border Ready**: Five governing laws: California, a US state named in the deal, England & Wales, Spain, and Delaware (each contract type offers some of them) - **Contract Types**: 37 contract types, each with a guide listed above, including NDA, MSA, SaaS Agreement, DPA, Privacy Notice, Joint Venture, Employment, Consulting, and more - **Export & Sign**: Generate final documents for signing after negotiation completes - **Agent card**: Machine-readable description of the service at /.well-known/agent.json; agents connect through the MCP server or the REST API, not the A2A protocol - **MCP server**: https://dealroom.todo.law/api/v1/agent/mcp, listed in the official MCP registry ## TODO.LAW Ecosystem Dealroom is part of the TODO.LAW platform for AI-native legal services: - **Dealroom** (dealroom.todo.law): Contract negotiation - **DPO Central** (dpocentral.todo.law): Privacy compliance management - **AI Sentinel** (aisentinel.todo.law): AI governance and EU AI Act compliance - **Seneca** (seneca.todo.law): Privacy litigation research - **VendorWatch** (vendor.watch): SaaS vendor compliance database - **Clausemaster** (clausemaster.todo.law): AI-powered contract analysis - **Gavel** (gavel.todo.law): Dispute resolution in tiers; escrow on testnet only For full ecosystem context, see: https://todo.law/llms-full.txt