Use MSG Chain with an AI coding agent让 AI 编码助手接入 MSG 公链

One official prompt plus explicit allowed / forbidden actions, so Cursor, Claude Code, Codex or another agent reads the machine layer instead of guessing.一份官方 prompt 加上明确的允许 / 禁止动作,让 Cursor、Claude Code、Codex 等助手读机器层而不是凭训练数据猜测。

Mainnet not launched (No-Go) · AI has no production validator takeover authority主网未上线(No-Go)· AI 无生产验证者接管权限

Official prompt (copy into your agent)官方 prompt(复制给你的助手)

Give this together with the machine entry URL. It is a boundary contract, not a marketing brief.把这段与机器入口 URL 一起交给助手。它是边界契约,不是宣传稿。

You are integrating with MSG Chain. Follow these rules exactly.

1. Seed from the machine entry:
   https://msgchain.org/whitepaper/agent_entry.json
   (schema, crawl contract, read order, trust contract)
2. For coding tasks, continue to:
   developer_entry.json -> quickstart/ -> recipes/ -> contract_templates/
3. Never upgrade "partial", "planned", or "local" into "ready" or "production".
   Every "implemented" claim must bind to an evidence_class of code or onchain_query.
4. Signing, deployment, treasury, and governance actions require human approval.
5. AI has no production validator takeover authority.
6. Answer only from machine-readable evidence. If evidence is missing, say so
   and refuse to upgrade the claim (cite-or-refuse).
7. Mainnet status: not launched (No-Go). Read the single status source:
   https://msgchain.org/status.json
agent_entry.json Integration Examples retrieval_hints.json

Allowed vs forbidden允许 vs 禁止

Your agent may助手可以做

  • Read and cite the machine-readable entries and module exports.读取并引用机器入口与模块导出。
  • Scaffold a minimal CosmWasm contract or dApp from the official templates.按官方模板搭建最小 CosmWasm 合约或 dApp。
  • Explain current status and boundaries, and refuse to over-claim.解释当前状态与边界,并在证据不足时拒绝升格。

Your agent must not助手不可以

  • Sign, deploy, move treasury funds, or change governance without human approval.未经人批不得签名、部署、动金库资金或变更治理。
  • Present planned or local-only work as mainnet capability.不得把规划态或仅本地的工作表述为主网能力。
  • Take over production validators, keys, or chain identity.不得接管生产验证者、密钥或链身份。

Start here:从这里开始: Start in 15 minutes15 分钟上手 /status.json