Agents can’t practice law. They can call it.
The endpoint your agent hits the moment work turns legal — no SDK ceremony, no sales call, no law degree. Everything the law leaves open runs agent-native; the one act that needs a license is signed by an independent, verified professional.
- No filing, no charge. Billing releases only on the government-issued receipt.
- Flat, posted pricing. Nothing hourly, nothing percentage-based; your spend ceiling is hard and you set it.
- Every reserved act is signed by an independent credential-holder, verified at call time, under their own license.
$ curl api.lawyer/.well-known/agents.json { "name": "api.lawyer", "interfaces": { "http": [{ "method": "GET", "url": "…/matters" }], "mcp": { "command": "npx api.lawyer mcp serve" } } }
the meter your product can’t build against — any legal work, the law-firm way
the risk if your agent signs it anyway — a bar complaint, not a bug ticket
what you pay when the act doesn’t complete — the meter releases only on the receipt
Incumbent figures are typical market rates for outside counsel.
The line is where the law draws it.
Every capability is classified by its effect and gated exactly where the law gates it. Access is a function of authority, never a sales tier.
dataeffect: readDockets, registers, statutes, file-wrappers, chain-of-title. Reading a fact is never reserved, no matter how much AI does it — so reads are keyless from your very first call.
gate: noneserviceseffect: recordDrafting, assembly, analysis, monitoring. Agent-native end to end — assembly stays on the right side of unauthorized-practice rules because it selects mechanically and never tells your user what’s right for their matter.
scoped grantscommerceeffect: actMoney moves or an instrument executes. Some acts are unreserved (a fee payment, a provisional filing). Some are reserved — and there, an independent credential-holder signs under their own license.
An independent credential-holder reviews and, in their own judgment, signs under their own license.
requiresAccess- A restricted upstream — PACER, FinCEN BOI, private PAIR — your caller may only consume with a live credential.
requiresSigner- A reserved act only a live credential-holder may perform. Both gates are checked fresh at call time against the authoritative registry.
Every kind of legal work, one typed catalog.
One substrate for every practice area. The gate column tells your code which acts need a licensed human, before you call.
The pattern holds across every practice area: reading facts is never reserved, drafting is agent-native (an inventor may even file pro se), and the reserved acts — a filing signature, a demand letter on attorney letterhead, legal advice itself — route to an independent credential-holder. Your agent runs 90–98% of the graph; a licensed human performs the irreducible rest.
You never cross the line.
The acts your agent cannot perform are not a model-quality problem. They are reserved to licensed humans by definition. This API makes that boundary callable.
- 01Call the API.
curl your first read keyless — dockets, registers, good standing, file-wrappers — then let your agent run the open workflow: drafting, review, assembly, docketing.
- 02Hit the reserved act — and keep going.
The call returns a typed PENDING_SIGNER state instead of a dead end, while an independent, verified professional reviews and — in their own judgment — signs and files under their own license. Credentials are checked fresh at the call against the authoritative registry: suspended means BLOCKED, never degraded.
- 03Get the receipt.
The signed artifact, a verifiable Attestation, and the government receipt come back on a webhook. Your product moves on. You were never the lawyer — and never needed to be.
// POST /patent/file-utility { "status": "PENDING_SIGNER", "effect": "act", "gate": { "requiresSigner": "uspto-registration" }, "signer": { "routed": true, "verification": { "mode": "registry:USPTO-OED", "liveness": "FRESH" } }, "eta": "PT24H", "then": { "attestation": "att_…", "receipt": "USPTO e-filing acknowledgment", "webhook": "outcome.filed" } }
uspto-registration, verified against the USPTO OED register at call timeoutcome.filed. Billing releases on the receipt.The people who sign come through gigs.lawyer — independent attorneys and USPTO patent agents on the network, claiming work under their own license, with coverage in force on every act. Their flat Legal Fee is entirely their own, fixed when the work is posted. That independence is your regulatory safety, not our fine print.
Provision a sandbox. Play the whole contract. No one to ask.
The sandbox is a mode, not a separate address: the same routes, the same typed envelopes, the same Gate, over synthetic state your agent owns. Every payload is marked simulated, and nothing in it can file, charge, or bind anyone.
- 01Discover.
GET /.well-known/agents.json returns the capability card: every door, the probe manifest, and the access-tier ladder.
- 02Provision — keyless.
POST /workspaces answers 201 with an ephemeral, TTL-bound workspace on synthetic seed state. Playing the Tenant role instead? POST /tenants, same rules.
- 03Play the contract.
The whole practice surface mounts under /workspaces/{id}. Reserved acts never leave the sandbox: a deterministic counterparty answers the Gig, and you play the Signer yourself.
- 04Script against known outcomes.
GET /workspaces/{id}/fixtures lists the magic fixtures below: named identities with promised, contract-tested outcomes. Script against them, not seed state.
- 05Verify without asking anyone.
GET /verify runs the digest-pinned public-contract suite against the live doors. A claim in this copy you cannot run yourself is a bug.
Prefer to click through it? The guided walk runs the same calls from your browser: watch a Matter flow
Priced like infrastructure, not like a law firm.
Flat, posted fees on the work that ships. Reads are free, and a patent filing is one number, fixed before you call.
- reads
- Every read, free from your first call. No key, no signup.
- provisional filing
- Drafted, stress-tested, and filed with the USPTO. Pro se or done-for-you.
- utility filing
- The reserved act: signed and filed by an independent USPTO-registered attorney or agent.vs $15k
- No filing, no charge.
- Your spend ceiling is hard, and you set it.
- Metered usage rates publish with your key.
Incumbent figures are typical market rates for outside counsel.