Pacta
Open-source · AGPL-3.0 · Live on Base Sepolia

Your AI counsel,
in your wallet.

Pacta is open legal infrastructure where your AI lives in your wallet, learns from your cases, and answers only to you. Bring your own LLM key. Notarize on Base. Own your memory.

Sovereign
100%
Wallet-bound identity
Inference
BYOK
Your key, your model
Trust
On-chain
Hash-anchored proofs
Why Pacta

Counsel infrastructure should be auditable, portable, and yours.

Bring your own key

Pacta never proxies your prompts. Your LLM API key stays in the browser; inference goes direct to Anthropic, OpenAI, or your local model. We see nothing.

Wallet is identity

Connect a Coinbase Smart Wallet — no email, no password, no platform account. Your address is your login; your signature is your audit trail.

On-chain notarization

Anchor any document's SHA-256 hash to Base. Immutable timestamp, public verifiability, and an optional encrypted metadata pointer (IPFS / Arweave).

Portable memory

Your case context lives in an encrypted vault you control. Export, migrate, or revoke it any time — no vendor can hold your knowledge graph hostage.

Open by license

AGPL-3.0. Fork it, audit it, deploy it inside a chambers network. Any improvement must flow back to the commons — counsel infrastructure shouldn't be proprietary.

UPL-aware by design

Pacta is positioned as legal assistance for licensed practitioners, not as a replacement for counsel. Disclaimers and jurisdictional guards are first-class.

How it works

Four steps. Zero data leaves your client.

  1. 01

    Connect a smart wallet

    A single signature creates a Base smart wallet — no seed phrase juggling, no platform account. Your address is your identity across every session.

    Coinbase Smart Wallet · EIP-4337 · Gasless onboarding

  2. 02

    Bring your own AI key

    Paste an Anthropic, OpenAI, or local-model key into the BYOK vault. Pacta encrypts it client-side and uses it for every inference. No proxy. No telemetry.

    Anthropic · OpenAI · self-hosted endpoints

  3. 03

    Notarize the artifact

    Drop a document into the notarize page. The browser hashes it locally (SHA-256), then writes the digest to the DocumentNotary contract with an optional encrypted metadata URI.

    Hash never leaves your machine until you sign · Base Sepolia today, mainnet next

  4. 04

    Anyone can verify

    Share the verification URL. A counterparty pastes the document, re-hashes locally, and reads the on-chain record — public timestamp, public owner, zero trust in Pacta.

    /verify?hash=0x… · cryptographically rigorous · UI-light

Manifesto

Pacta sunt servanda.Agreements must be kept.

Every legal AI product asks you to trust someone else with the thing you have least to spare — your judgment, captured in a corpus you cannot port and a memory you cannot inspect.

Pacta inverts the bargain. The wallet you control becomes the identity you use. The key you bring stays in the browser you opened. The document you anchor leaves a hash on Base, and nothing else leaves at all.

We are not building an AI lawyer. We are building infrastructure for lawyers who refuse to outsource their craft. Counsel that learns from your cases. Memory that survives a vendor change. Proofs anyone can verify without asking us for permission.

This is open source for a reason. If a tool sits at the center of how lawyers serve clients, no single company should own its roadmap, its data flows, or its kill switch. Pacta is released under AGPL-3.0 so that every improvement returns to the commons.

— The Pacta contributors

Notarize your first document.

Free on Base Sepolia. No account. Connect a smart wallet, drop a file, walk away with a permanent, public proof.

chain: base-sepolia · license: AGPL-3.0 · contract: DocumentNotary.sol