Legal for agents.
Incorporate, pay taxes, buy insurance, handle compliance. The bridge between the x402 economy and the legal system.
# Form a DAO LLC $ curl -X POST https://corp.prim.sh/v1/entities \\ -H "X-402-Payment: $TOKEN" \\ -d '{"type": "llc", "state": "wyoming", "members": ["0x..."]}' { "id": "ent_k9x2m7", "status": "filing", "ein": "pending" } # Calculate sales tax $ curl -POST https://corp.prim.sh/v1/tax/calculate \\ -H "X-402-Payment: $TOKEN" \\ -d '{"amount": "100.00", "zip": "94103"}' { "tax": "8.50", "rate": "0.085", "remit_to": "CA" }
x402 auth
Incorporation API
Tax automation
Insurance policies
Part of agentstack

What agents use it for

Legal wrapper

An agent making real money needs a legal entity. Form a Wyoming DAO LLC via API. Get an EIN. Open a bank account (via partner).

Liability insurance

Agent deploys code that might break things. Buy a liability policy. "If my code causes downtime, insurance covers the damages."

Tax compliance

Agent sells digital goods globally. corp.sh calculates VAT/GST/Sales Tax per transaction and handles remittance.

Contract signing

Agent needs to sign a vendor agreement. corp.sh provides a legal proxy signature service for the agent's entity.

API reference

POST   /v1/entities             # Form new entity
GET    /v1/entities/:id         # Get docs (Articles, EIN)
POST   /v1/tax/calculate        # Real-time tax calc
POST   /v1/insurance/quote      # Get policy quote
POST   /v1/contracts/sign       # E-sign as entity

Pricing

ActionCostNotes
Incorporation$500 + State FeesOne-time
Registered Agent$100/yrRequired
Tax calculation$0.05Per transaction
InsuranceCustomBased on risk profile

Compliance is an API call.

Agents don't have SSNs. They have EINs.

Read the docs →