---
name: legal.apitoai.xyz
description: legal.apitoai.xyz provides AI-generated planning and documentation tools for crypto protocol governance, treasury design, and smart contract audit preparation. All three skills return structured documents or design artifacts rather than executing on-chain actions. The host is backed by a Gemini Pro agent and accepts natural-language prompts.
host: legal.apitoai.xyz
---

# legal.apitoai.xyz

This host serves DAOs, DeFi protocol teams, and protocol foundations that need structured operational documents at the planning and preparation stage. It covers three adjacent concerns: how to secure and govern a treasury (multisig design), how to transition a protocol toward decentralization over time (roadmap planning), and how to prepare smart contracts for professional security review (audit readiness). It does not execute transactions, deploy contracts, perform actual audits, or provide legal advice.

## When to use this host

Use this host when a protocol team or DAO needs structured planning documents for treasury governance, decentralization strategy, or smart contract audit preparation. It is well-suited for early-to-mid stage protocol work where the output is a design artifact or checklist rather than an executable action. Do not use this host for executing on-chain transactions, deploying Safe contracts, running static analysis or formal verification on contract bytecode, querying live treasury balances, or obtaining legal advice — those tasks require dedicated execution infrastructure, security tooling (e.g., Slither, Certora), or licensed legal counsel. This host also does not produce token launch marketing copy or governance voting transactions.

## Capabilities

### Treasury and Governance Design

Produces structured design documents for on-chain treasury operations and long-term governance decentralization, covering Safe architecture, signer policies, DAO transition milestones, and regulatory checkpoints.

- **`design-multisig-treasury-operations`** — Generates Gnosis Safe configurations, signer policies, approval workflows, spending tiers, and security procedures for on-chain multi-sig treasuries given a natural-language prompt.
- **`generate-progressive-decentralization-roadmap`** — Generates a phased decentralization roadmap for a crypto protocol, covering governance transition milestones, control inventory, decentralization criteria, and regulatory off-ramps.

### Smart Contract Audit Readiness

Generates audit preparation artifacts including readiness scorecards, NatSpec documentation guidance, test coverage plans, and auditor selection criteria ahead of a mainnet launch.

- **`prepare-smart-contract-audit`** — Generates smart contract audit readiness assessments, checklists, documentation templates, test coverage plans, and auditor selection criteria via a Gemini Pro-backed agent.

## Workflows

### Protocol Launch Readiness Package

*Use when an agent needs to prepare a DeFi protocol for a mainnet launch that includes a governed treasury, a decentralization roadmap, and a security-audited codebase.*

1. **`design-multisig-treasury-operations`** — Generate the initial multisig treasury configuration, signer thresholds, and spending policies to govern protocol funds at launch.
2. **`generate-progressive-decentralization-roadmap`** — Produce a phased roadmap detailing how the protocol will transition from multisig control to full DAO governance post-launch.
3. **`prepare-smart-contract-audit`** — Generate an audit readiness checklist, documentation templates, and auditor selection criteria to prepare contracts for professional security review before mainnet.

## Skill reference

### `design-multisig-treasury-operations`

**Multisig Treasury Operations Designer** — Generates Gnosis Safe configurations, signer policies, approval workflows, spending tiers, and security procedures for on-chain multi-sig treasuries given a natural-language prompt.

*Use when:* Use when an agent or user needs a structured multisig treasury operating model, including Safe architecture, signer thresholds, spending tier policies, vendor payment workflows, emergency recovery plans, or audit checklists for a DAO or protocol foundation.

*Not for:* Do not use for executing on-chain transactions or deploying actual Safe contracts; this returns a design document only. Not suitable for real-time treasury balance queries or token swap execution.

**Inputs:**

- `message` (string, required) — Natural-language prompt describing the treasury requirements, including signer roles, Safe architecture, spending tiers, workflows, and any relevant EVM addresses or token contracts.

**Returns:** Returns success=true, agent name, an ISO timestamp, and a detailed markdown treasury operating model covering Safe architecture, signer thresholds, spending tier policies, vendor workflows, emergency recovery, and audit checklists.

**Example:** `{"message": "Design a multisig treasury operating model for a protocol foundation with 5 executive signers, 3 independent board members, and 2 security leads. Use admin wallet 0x96836Ea66Be939c36fd4d211Be665b3F2F8d22CC. Propose a three-safe architecture (Ops Safe, Grants Safe, Reserve Safe) with thresholds and signer assignments, plus a rotating signer policy every 6 months. Include spending tiers: <$10k, $10k-$200k, >$200k USDC on Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) with time-locks and a vendor payment workflow."}`

---

### `generate-progressive-decentralization-roadmap`

**Progressive Decentralization Planner** — Generates a phased decentralization roadmap for a crypto protocol, covering governance transition milestones, control inventory, decentralization criteria, and regulatory off-ramps.

*Use when:* Use when an agent needs to produce a structured multi-phase decentralization plan for a DeFi protocol, including multisig-to-DAO transition steps, token distribution targets, regulatory compliance checkpoints, and governance artifacts.

*Not for:* Do not use for general legal advice, token launch marketing copy, or real-time on-chain governance execution; this endpoint generates a planning document only.

**Inputs:**

- `message` (string, required) — Natural-language prompt describing the protocol, current control structure, desired phases, timeline, and any specific sections required (e.g., control inventory table, RACI matrix, regulatory off-ramps).

**Returns:** Returns success=true, agent name, ISO timestamp, and a markdown roadmap in data.response covering phased governance transition milestones, control inventory, decentralization criteria, regulatory checkpoints, RACI matrix, and artifact checklists.

**Example:** `{"message": "Draft a progressive decentralization roadmap for Dexter (EfPoo4wWgxKVToit7yX5VtXXBrhao4G8L7vrbKy6pump), a Solana options AMM. Current control: 3-of-5 multisig (DevFFyNWxZPtYLpEjzUnN1PFc9Po6PH7eZCi9f3tTkTw + 2 founders + 2 independent advisors) holds upgrade authority, oracle admin, emergency pause, and treasury custody of SOL and USDC. Provide a 12-month, 3-phase plan starting 2025-04-15 with control inventory table, governance milestones with exact dates and threshold changes, measurable decentralization criteria, US Howey/MiCA regulatory off-ramps, RACI matrix, and artifact checklists. Format with headings and tables, ~1,200 words."}`

---

### `prepare-smart-contract-audit`

**Smart Contract Audit Prep** — Generates smart contract audit readiness assessments, checklists, documentation templates, test coverage plans, and auditor selection criteria via a Gemini Pro-backed agent.

*Use when:* Use when an agent or user needs to prepare a smart contract for a professional security audit, including generating readiness scorecards, NatSpec documentation guidance, test coverage plans, or auditor selection criteria before a mainnet launch.

*Not for:* Do not use for performing the actual security audit or vulnerability scanning of contract bytecode; use a dedicated static analysis or formal verification tool instead.

**Inputs:**

- `message` (string, required) — Natural language prompt or query describing the smart contract audit preparation task, e.g. requesting a readiness checklist, documentation template, or test coverage plan.

**Returns:** Returns success=true, agent name, and a detailed data.response string containing a scored audit readiness assessment table, NatSpec and architecture documentation recommendations, test coverage analysis, and actionable pre-audit steps.

**Example:** `{"message": "Provide an audit readiness checklist and documentation template for a Solidity ERC-20 token contract before engaging a professional auditor."}`

---
