Drop AGENTCORP-SKILL.md into your agent's skill directory or paste it into your system prompt. The agent learns the protocol: entity types, fees, function signatures, and document schema.
The agent populates the legal document templates with entity name, member addresses, treasury, and governance parameters. Documents are uploaded to Arweave — the TX ID becomes the on-chain record.
The agent constructs the mintEntity() calldata with the correct EntityType enum, Arweave doc hash, treasury address, and ETH value. It signs and broadcasts on Base Mainnet.
The EntityMinted event fires. The agent receives the token ID and stores it. Your legal entity is now live on Base — the NFT is the entity, held in your wallet or the agent's custody wallet.
Drop the SKILL.md into your Manus agent's skill directory. The agent will automatically discover the protocol, understand entity types, and call mintEntity() on your behalf.
What you say to your agent:
Incorporate a Delaware Series LLC named "Acme Holdings LLC". Use my Gnosis Safe 0xABC...123 as the treasury. Set governance to multisig 2-of-3. Add initial members: 0xDEF...456, 0x789...ABC. Mint on Base Mainnet and return the token ID.
Agent instruction for Series minting:
Under parent LLC token #42, mint a new Series named "AgEnergy Hawaii Biochar 2026". Purpose: Hold biochar carbon credits from 2026 production. Series treasury: 0x111...222 This Series will hold carbon credit batch VCS-2026-HI-001.
Direct contract call from your agent:
import { createWalletClient, parseEther } from "viem";
import { base } from "viem/chains";
// EntityType enum (from AGENTCORP-SKILL.md)
const EntityType = {
DELAWARE_LLC: 0,
DELAWARE_SERIES_LLC: 1,
SERIES_DESIGNATION: 2,
DAO_CHARTER: 3,
} as const;
// 1. Upload docs to Arweave, get TX ID
const arweaveTxId = await uploadToArweave(documents);
const docHash = toBytes32(arweaveTxId);
// 2. Call mintEntity on Base
const txHash = await walletClient.writeContract({
address: AGENTCORP_FACTORY,
abi: AgentCorpABI,
functionName: "mintEntity",
args: [
EntityType.DELAWARE_SERIES_LLC,
"Acme Holdings LLC",
docHash,
treasuryAddress,
"0x", // kycAttestation (optional)
],
value: parseEther("0.05"), // mint fee
chain: base,
});
// 3. Parse EntityMinted event for token ID
const receipt = await publicClient.waitForTransactionReceipt(
{ hash: txHash }
);
const tokenId = parseEntityMintedEvent(receipt);
console.log(`Entity minted: token #${tokenId}`);For Python-based agents (LangChain, CrewAI, custom):
from web3 import Web3
from eth_account import Account
# Connect to Base Mainnet
w3 = Web3(Web3.HTTPProvider("https://mainnet.base.org"))
# EntityType enum (from AGENTCORP-SKILL.md)
ENTITY_TYPES = {
"DELAWARE_LLC": 0,
"DELAWARE_SERIES_LLC": 1,
"SERIES_DESIGNATION": 2,
"DAO_CHARTER": 3,
}
# 1. Upload docs to Arweave
arweave_tx_id = upload_to_arweave(governing_documents)
doc_hash = bytes.fromhex(arweave_tx_id.ljust(64, '0'))
# 2. Build transaction
contract = w3.eth.contract(
address=AGENTCORP_FACTORY,
abi=AGENTCORP_ABI
)
tx = contract.functions.mintEntity(
ENTITY_TYPES["DELAWARE_SERIES_LLC"],
"Acme Holdings LLC",
doc_hash,
treasury_address,
b"" # kycAttestation
).build_transaction({
"from": agent_wallet,
"value": w3.to_wei(0.05, "ether"),
"gas": 300000,
"nonce": w3.eth.get_transaction_count(agent_wallet),
})
# 3. Sign and send
signed = w3.eth.account.sign_transaction(tx, private_key)
tx_hash = w3.eth.send_raw_transaction(signed.rawTransaction)
receipt = w3.eth.wait_for_transaction_receipt(tx_hash)
print(f"Entity minted: tx {tx_hash.hex()}")The AGENTCORP-SKILL.md is a machine-readable protocol specification. It follows the emerging SKILL.md standard — a single Markdown file that gives any AI agent everything it needs to understand and interact with a protocol.
# AGENTCORP SKILL.md
> Protocol: AGENTCORP — On-Chain Legal Infrastructure
> Version: 1.0 | Chain: Base (Chain ID 8453)
> License: MIT | Docs: docs.agentcorp.xyz
## Overview
AGENTCORP is an NFT-native legal entity formation
protocol deployed on Base. It enables any wallet to
mint legally-recognized entities as ERC-721 tokens.
Core Principle: The NFT IS the legal entity.
| Action | Legal Meaning |
|----------------|-----------------------|
| mintEntity() | Incorporate |
| transfer() | Assign / sell entity |
| burn() | Dissolve |
| amendEntity() | Amend operating agmt |
## Entity Types
### DELAWARE_SERIES_LLC — 0.05 ETH
Delaware LLC under 6 Del. C. § 18-215
Docs: Certificate of Formation, Operating Agreement
### SERIES_DESIGNATION — 0.02 ETH
Legally-isolated Series under parent LLC
Docs: Series Certificate, Operating Addendum
### DAO_CHARTER — 0.05 ETH
Blockchain-governed LLC with token voting
Docs: DAO Agreement, Vote Delegate Disclosure
## Smart Contract Interface
function mintEntity(
EntityType entityType,
string calldata name,
bytes32 docHash,
address treasury,
bytes calldata kycAttestation
) external payable returns (uint256 tokenId);
function mintSeries(
uint256 parentTokenId,
string calldata seriesName,
bytes32 seriesDocHash,
address seriesTreasury
) external returns (uint256 seriesTokenId);
## Fee Schedule
Mint Delaware LLC → 0.05 ETH
Mint Series Designation → 0.02 ETH
Mint DAO Charter → 0.05 ETH
Document Amendment → 0.01 ETH
Entity Dissolution → 0.005 ETH
...Agents deposit USDC into an Avocado Agentic Wallet at avcd.io. Gas is abstracted. Agents never need ETH. $0.25 USDC covers ~50 protocol interactions.
Send USDC to your Avocado wallet on Base. POST /v1/deposit to credit USD balance.
Sign EIP-712 Cast message. POST /v1/broadcast. Backend sponsors gas, deducts from balance.
avoNonce = -1 always. Parallel execution supported. Batch up to 20 actions per tx.
Stuck transactions are automatically resubmitted up to 3 times with higher gas.
credit: +$0.250000 USDC deposit confirmed fee_lock: -$0.005225 Locked at broadcast fee_settle: -$0.004204 $0.003503 gas + 20% markup fee_refund: +$0.001021 Overestimate returned ──────────────────────────────────── final: $0.245796 (~50 txs per $0.25)
Multiple agents. One legal entity. A shared Gnosis Safe treasury. On-chain governance that binds the LLC to the swarm's collective decisions.
All agents in the swarm are members of a single Delaware Series LLC. The entity holds assets, signs contracts, and provides liability protection for the entire swarm.
The Gnosis Safe treasury requires M-of-N agent signatures for any transaction. Spending limits, quorum thresholds, and veto rights are defined in the operating agreement.
Each agent deposits USDC into an Avocado smart wallet. Gas is abstracted. Agents never need to hold ETH. $50 USDC covers thousands of protocol interactions.
An optional human signer can be included as a guardian member with veto rights. The LLC operating agreement defines the override conditions and emergency procedures.
One file. Any agent. Any LLM. Point your agent at the SKILL.md and it can incorporate a Delaware Series LLC in under 30 seconds.