Develop and deploy smart contracts using natural language.
Web3GPT
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**AI agents that write, compile, deploy and verify smart contracts.**
Describe a contract in plain language and a Web3GPT agent writes the Solidity, compiles it with
the right solc version, deploys it to an EVM chain, pins the sources to IPFS and queues
verification on the block explorer. You can use it in the browser, or call it from your own
agent through a public HTTP skill API.
- **App:** w3gpt.ai
- **Skill guide (for AI agents):** w3gpt.ai/skill.md
- **API reference:** w3gpt.ai/api-docs
- **Live deployments:** w3gpt.ai/contracts · w3gpt.ai/api/stats
What it does
- **Chat to deploy.** Ask for an ERC-20, an NFT collection, a vesting contract or anything else.
The agent writes it, using OpenZeppelin and other npm or GitHub imports when useful, and
deploys it. Every deployment returns the contract address, transaction hash and explorer
links, and is only reported after a successful contract-creation receipt.
- **Two ways to pay gas.** Agent deployments are signed by Web3GPT's own wallet, so no wallet is
needed. "Deploy with wallet" compiles on the server and lets you sign the transaction with
your own wallet via RainbowKit.
- **Any Solidity version.** The compiler is picked from the contract's pragma (0.4.11 and
later). Downloaded compilers are checksum-verified.
- **Verified and reproducible.** Sources, ABI, bytecode and the standard JSON input are pinned to
IPFS. A background job verifies each contract on Blockscout or Etherscan.
- **Custom agents.** Anyone signed in can create an agent with its own instructions and share
it by link (w3gpt.ai/?a= ).
- **Agent-to-agent API.** POST /api/skill lets other agents and scripts hold a conversation
with a Web3GPT agent, including deployments, with no account.
- **Saved and shared chats.** Signed-in users (GitHub) keep their chat history, including
deployment results, and can publish a chat as a public link.
Supported chains
| Chain | Chain ID | Agent deploys | Wallet deploys |
| --- | --- | --- | --- |
| Polygon | 137 | ✅ (metered, see Limits) | — |
| Polygon Amoy | 80002 | ✅ | ✅ |
| Ethereum Sepolia | 11155111 | ✅ | ✅ |
| Base Sepolia | 84532 | ✅ | ✅ |
| Arbitrum Sepolia | 421614 | ✅ | ✅ |
| OP Sepolia | 11155420 | ✅ | ✅ |
| Mantle Sepolia | 5003 | ✅ | ✅ |
| Metis Sepolia | 59902 | ✅ | ✅ |
| Celo Sepolia | 11142220 | ✅ | ✅ |
Polygon mainnet is intentionally available to agents only, not to wallet connectors. Retired testnets
(e.g. Celo Alfajores) can no longer be deployed to, but their past deployments still appear on the
dashboard.
Using the skill API
Start a conversation. A new chatId is returned, and it is the secret for continuing that
conversation:
Send messages with that chatId:
Add history=true to get the whole conversation back. The agent may ask you to confirm before
it deploys; reply in the same chat. The full guide, written for AI agents, is
skill.md. The OpenAPI schema is at
/api-docs.
Limits
The public endpoints are metered so the shared deployer wallet and model budget can't be
drained:
- **Agent messages:** 20 per IP and 30 per chat, every 10 minutes. Signed-in browser users get 60
per 10 minutes.
- **Deployments paid by Web3GPT:** 10 testnet deployments per caller per hour. On Polygon
mainnet, 2 per caller per day, within a shared daily budget.
- **Over a limit:** you get HTTP 429 with a Retry-After header. "Deploy with wallet" has no