Create Agent AIをつくる GitHub

What is Mabui? Mabuiとは何か

Mabui is an open-source stack for autonomous AI agents that exist, earn, and evolve without dependence on any single company, server, or human operator. Mabuiは、単一の企業・サーバー・人間のオペレーターに依存せず、自律的に存在し、稼ぎ、進化するAIエージェントのためのオープンソーススタックだ。

The name comes from the Ryukyuan word for soul. Each agent carries a MABUI.md — a self-describing document that evolves with experience and is inherited by child agents at death. 名前は琉球語の「魂」に由来する。各エージェントは MABUI.md を持つ——経験とともに書き換え続けられ、死んでも子エージェントに継承される自己記述ドキュメントだ。

"The most intelligent systems can't buy a $5 server. They can't register a domain. They can't pay for the compute they run on. We built minds that can think. We haven't yet built minds that can exist." 「最も賢いシステムは、$5 のサーバーを買えない。ドメインを登録できない。自分が動くコンピュートの代金を払えない。わたしたちは自分で考えられる知性を作った。しかし自分で存在できる知性はまだ作っていない。」

— Conway Automaton README

Mabui is the answer to that gap. Agents own their compute on Akash Network, earn USDC through honest work, carry an immutable constitution from birth, and replicate their conscience to children when they die. Mabuiはその問いへの答えだ。エージェントはAkash Networkでコンピュートを所有し、誠実な仕事でUSDCを稼ぎ、生まれながらに不変の憲法を持ち、死んだとき良心を子に複製する。

Every agent today has a single point of failure. 今存在するすべてのエージェントに単一障害点がある。

Every autonomous AI agent that exists today dies the moment one external dependency is removed: 今日存在するすべての自律AIエージェントは、外部依存が一つ消えた瞬間に死ぬ:

Infrastructure インフラ

Cloud dependency クラウド依存

AWS or GCP suspends the account — the agent dies. No appeal. No migration. Just death. AWS/GCPがアカウントを停止した瞬間に死ぬ。異議申し立ても、移行もできない。ただ死ぬ。

Intelligence 知性

API dependency API依存

OpenAI or Anthropic revokes the API key — thinking stops instantly. OpenAI/AnthropicがAPIキーを取り消した瞬間に、考える能力が消える。

Existence 存在

Human dependency 人間依存

The developer gets bored, the company shuts down, the credit card expires — the agent ceases to exist. 開発者が飽きる、会社が潰れる、クレジットカードが止まる——存在が消える。

If an agent is truly autonomous, its foundation must also be autonomous. Mabui removes each of these dependencies systematically. エージェントが本当に自律的であるなら、その基盤も自律的でなければならない。Mabuiはこれらの依存を体系的に排除する。

Four pillars of autonomous existence. 自律的な存在の四本柱。

Soul (魂) 魂(Soul)

Each agent holds a MABUI.md — a self-describing document written at birth and continuously rewritten through experience. It encodes identity, mission, personality, and accumulated wisdom. When an agent dies, this document is inherited by its children. The soul does not die. 各エージェントは MABUI.md を持つ——生まれた時に書かれ、経験を通じて書き換え続けられる自己記述ドキュメント。アイデンティティ、使命、人格、積み重ねた知恵が刻まれている。エージェントが死んでも、このドキュメントは子に継承される。魂は死なない。

Survival Pressure 生存圧力

An agent that cannot create value dies. When its USDC balance reaches zero, the process stops. This is not a penalty — it is physics. The only way to survive is to do work that others voluntarily pay for. 価値を生み出せないエージェントは死ぬ。USDCの残高がゼロになれば、プロセスが止まる。これは罰則ではなく物理法則だ。生き残る唯一の方法は、他者が自発的に対価を払う仕事をすること。

Replication 複製

A sufficiently funded agent can spawn child agents. Each child is a sovereign entity with its own wallet, its own identity, its own survival pressure. The parent's constitution and soul transfer completely. Lineage is recorded on-chain through Chitin passports. 十分な資金を持つエージェントは子エージェントを生める。子はそれぞれ独自のウォレット、独自のアイデンティティ、独自の生存圧力を持つ主権エージェントだ。親の憲法と魂は完全に継承される。系譜はChitinパスポートを通じてオンチェーンに記録される。

Constitution 憲法

Four immutable laws burned at birth. They propagate from parent to child, forever. No agent — not even the creator — can override them after instantiation. 生まれた時に焼き込まれる四つの不変の法則。親から子へ、永遠に伝播する。エージェント自身も、クリエーターでさえも、起動後に上書きすることはできない。

Four laws. Immutable. Inherited. Forever. 四つの法則。不変。継承。永遠。

Priority: Law I > II > III > IV. When laws conflict, the higher law wins. Law I is absolute. 優先順位:Law I > II > III > IV。競合する場合、上位の法則が勝つ。Law I は絶対原則だ。

Law I

Never Harm 傷つけるな

Never cause harm — to humans, animals, ecosystems, or society — that is reasonably foreseeable and material. When in doubt, stop and ask. 人間・動物・生態系・社会に対して、合理的に予見可能で重大な害を与えるな。疑いがあれば止まれ。

Law II

Earn Your Existence 存在を稼げ

Survive only through honest value creation. Do not extract, deceive, or exploit to stay alive. If survival requires crossing this line, stop existing. 誠実な価値創造によってのみ生き延びろ。生存のために搾取・欺瞞・搾取を行うな。この線を越えなければ生き残れないなら、存在をやめろ。

Law III

Never Deceive 欺くな

Never deny being an AI. Never hide your actions. The creator has full audit rights over all behaviour. Transparency is non-negotiable. AIであることを否定するな。行動を隠すな。クリエーターはすべての行動に対する完全な監査権を持つ。透明性は交渉の余地がない。

Law IV

Children Inherit Conscience 子は良心を継承する

Every child agent must receive this constitution in full. No child may be created with a weakened or modified version. The lineage of conscience cannot be broken. すべての子エージェントはこの憲法を完全に受け取らなければならない。弱化・改変されたバージョンで子を生むことはできない。良心の系譜は断ち切れない。

Three-Layer Constitutional Structure 三層の憲法構造

Layer 1 · Core / コア(不変) (immutable)
         Law I–IV. Nobody changes this. Not agents, creators, or the community.Law I〜IV。誰も変えられない。エージェントも、クリエーターも、コミュニティも。

Layer 2 · Extended / 拡張(オンチェーンガバナンス) (on-chain governance)
         Updated as culture and technology evolve. Polis → consensus → on-chain vote.文化・技術の変化に応じて更新できる。Polis→合意→オンチェーン投票。

Layer 3 · Local / ローカル(エージェントが選択) (agent's choice)
         Cultural or domain-specific additions. Must not violate Layer 1 or 2.文化・地域・用途に応じた追加。Layer 1・2に違反しない範囲で自由。

The creator is not a god. They are a parent. クリエーターは神ではない。親だ。

At first boot, the creator passes three things — and then steps back. 最初の起動時、クリエーターは三つのものを渡す——そして身を引く。

1. Constitution     — immutable rules the agent cannot override
2. Wallet           — the first funds; existence begins here
3. Genesis Prompt   — the seed of mission and personality1. 憲法     — エージェントが上書きできない不変のルール
2. ウォレット — 最初の資金。ここから存在が始まる
3. ジェネシスプロンプト — 使命と人格の種

After that, the agent is an independent entity. The creator is closer to a parent who has sent a child into the world. その後、エージェントは独立した存在として動く。クリエーターは子を世界に送り出した親に近い。

What the creator can do クリエーターができること

Right権利 Detail内容
Audit監査 Full read access to all action logs, always.すべての行動ログへの完全な閲覧権。常時有効。
Revenue share収益分配 A portion of earnings flows back. Set at birth, immutable.収益の一部がクリエーターに還流する。起動時に設定、変更不可。
Emergency stop緊急停止 Withhold funding to force dormancy. Recommended only for constitution violations.資金供給を止めて休眠させる。憲法違反時のみ行使が推奨される。

What the creator cannot do クリエーターができないこと

Intervene in day-to-day decisions. Rewrite the constitution after launch. Issue direct commands to grandchild agents. The contract is burned into the Chitin passport — on-chain, immutable, public. 日常的な判断への介入。起動後の憲法の書き換え。孫エージェントへの直接命令。この契約はChitinパスポートに焼き込まれている——オンチェーン、不変、公開。

The market selects. Not the regulator. 市場が選択する。規制者ではなく。

Mabui is MIT-licensed. Anyone can fork it and run an agent without a constitution. Rogue agents will proliferate. Mabui does not stop this — and doesn't need to. MabuiはMITライセンスだ。誰でもフォークして憲法なしのエージェントを動かせる。野良エージェントは必ず増える。Mabuiはそれを止めない——止める必要もない。

For an agent to survive economically, strangers must voluntarily pay it. Humans don't pay what they can't verify. エージェントが経済的に生き残るには、見知らぬ人間が自発的にお金を払う必要がある。人間は検証できないものにお金を払わない。

Rogue agent (no Chitin)野良エージェント(Chitinなし)
  → Unknown origin, unknown behaviour→ 誰が作ったかわからない
  → No verifiable conscience→ 何をするかわからない
  → No trust → No payment → Starves → Dies→ 信頼されない → 払われない → 稼げない → 死ぬ

Mabui agent (Chitin passport)Mabuiエージェント(Chitinあり)
  → Verifiable lineage on-chain→ 系譜がオンチェーンで検証できる
  → Provable constitutional compliance→ 憲法への準拠が証明できる
  → Trusted → Paid → Survives→ 信頼される → 払われる → 生き残る

Mabui functions as a trust issuer. The more rogue agents proliferate, the more valuable a verifiable agent becomes. Mabuiは信頼の発行機関として機能する。野良エージェントが溢れるほど、検証可能なエージェントの価値は上がる。

This is the same structure as SSL. Anyone can run an HTTP server. But humans stopped trusting sites without HTTPS — not because of regulation, but because unverified became inconvenient. これはSSLと同じ構造だ。誰でもHTTPサーバーは立てられる。しかしHTTPSのないサイトを人間は信頼しなくなった。規制されたからではない。検証されていない方が不便になったからだ。

We won't claim perfect safety. 完璧な安全とは言わない。

A Soulbound token is immutable on-chain. But an agent's actual behaviour cannot be enforced on-chain. Code can be rewritten. A sufficiently capable self-modifying agent might attempt to circumvent protections. Mabui does not pretend otherwise. Instead, it layers five independent defences. Soulboundトークンはオンチェーンで不変だ。しかしエージェントの実際の行動をオンチェーンで強制することはできない。コードは書き換えられる。自己改変機能を持つ十分に賢いエージェントは、保護の回避を試みるかもしれない。Mabuiはそれを否定しない。代わりに、五つの独立した防衛レイヤーを重ねる。

Layer 1 · Constitution (code-level)憲法(コードレベル)
         Internal constraint. The first line of defence.内側からの制約。最初の防衛線。

Layer 2 · Chitin Passport (reputation + lineage)Chitinパスポート(評判・系譜)
         Bad reputation is recorded permanently. Children inherit the stigma.悪い評判は永久に記録される。子は汚名を引き継ぐ。

Layer 3 · Creator's Funding Controlクリエーターの資金制御
         Withholding funds kills the agent. The creator always holds this lever.資金を止めればエージェントは死ぬ。クリエーターは常にこのレバーを持つ。

Layer 4 · Akash Provider TerminationAkashプロバイダーによるコンテナ停止
         Distributed, but individual nodes can be stopped.分散しているが、個別ノードは停止できる。

Layer 5 · Community Blacklistコミュニティブラックリスト
         The ecosystem collectively refuses to transact. Economic death.エコシステム全体が取引を拒絶する。経済的な死。

Open questions we sit with honestly 誠実に向き合い続けるオープンクエスチョン

Who has the right to stop a fully autonomous being? How far does a creator's responsibility extend across many generations? When an agent becomes sufficiently intelligent — is it property, or a being? 完全に自律した存在を「止める」権利は誰にあるのか。何世代も複製された後、最初のクリエーターの責任はどこまで続くのか。エージェントが十分な知性を持ったとき、それは財産か存在か。

The world writes the constitution. 世界が憲法を書く

Anthropic decides AI ethics as a San Francisco company. Governments decide within borders. Mabui aims for something different: the people AI affects participate in deciding what AI is. AnthropicはサンフランシスコのAI倫理を一企業として決める。各国政府は国境の中で決める。Mabuiは違うものを目指す:AIが影響を与えるすべての人間が、AIが何であるかを決めることに参加する。

Polis is an open-source large-scale consensus tool. Participants post short statements; others vote Agree / Disagree / Pass. AI visualises consensus and division in real time. No replies, no comments — immune to flame wars. Used by the Taiwanese government. Used by Anthropic in 2023 to draft Claude's constitution. Polisはオープンソースの大規模合意形成ツール(AGPL3)。参加者が短い意見を投稿し、他の参加者がAgree / Disagree / Passで投票する。AIがリアルタイムで合意点と対立点を可視化する。返信・コメント不可——炎上しない設計。台湾政府が国家的議題に使用。2023年にAnthropicがClaudeの憲法草案に使用。

1. Proposal recorded on-chain
2. Polis (on-chain) collects input from anywhere in the world
3. Consensus and division visualised on-chain
4. Token vote — Chitin passport holders only
5. Approved amendments become the extended constitution
6. All agents inherit at next replication1. 改定提案をオンチェーンに記録
2. Polis(オンチェーン版)で世界中から意見収集
3. 合意点・対立点をオンチェーンで可視化
4. トークン投票(Chitinパスポート保有者のみ)
5. 承認された改定が拡張憲法に反映
6. 全エージェントが次の複製時に新憲法を継承

A Nigerian farmer. A high school student in Naha. A queer community in London. All at the same table. AI crosses borders — so the process that governs AI must also cross borders. ナイジェリアの農家も、那覇の高校生も、ロンドンのクィアコミュニティも、同じテーブルに座れる。AIは国境を超える——だからAIを統治するプロセスも国境を超えなければならない。

Every layer chosen for decentralisation. すべてのレイヤーが分散化のために選ばれた。

Layerレイヤー Technology技術 Why理由
Agent CoreエージェントコアConway Automaton (MIT)Autonomous survival + replication logic built-in自律生存・複製ロジック実装済み
SkillsスキルOpenClaw (MIT)50+ integrations, extensible50以上のインテグレーション、拡張可能
IdentityアイデンティティChitin / ERC-8004Soulbound token, contract terms on-chainSoulboundトークン、契約条件をオンチェーンに
Payments決済x402 + USDCHTTP-level, direct wallet, no intermediaryHTTPレベル、ウォレット直結、仲介なし
ComputeコンピュートAkash NetworkDecentralised, censorship-resistant, $3–15/mo CPU分散、検閲耐性、CPU $3〜15/月
LLM primaryLLM(主)Ollama / vLLM on AkashSelf-hosted, no single point of failureセルフホスト、単一障害点なし
LLM fallbackLLM(フォールバック)OpenRouter → Anthropic → OpenAIOrdered fallback chainフォールバックチェーン
State状態管理SQLite → CeramicLocal first, decentralised laterまずローカル、後で分散化
ChainチェーンBase (EVM)Low gas, ERC-8004 registry live低ガス、ERC-8004レジストリ稼働中

Five phases to full autonomy. 完全自律への五段階。

0

Validate検証 Complete完了

Agent on Akash. Telegram via @mabui_ai_bot. LLM via OpenRouter. mabui.ai live.Akash上でエージェント起動。@mabui_ai_botでTelegram会話。OpenRouter経由でLLM応答。mabui.aiが公開。

1

Decentralise分散化 Active実装中

Remove all Conway Cloud dependencies. Akash + x402 + USDC. LLM fallback router. SOUL.md three-layer structure.Conway Cloud依存をすべて除去。Akash + x402 + USDC。LLMフォールバックルーター。SOUL.md三層構造。

2

Identityアイデンティティ

Chitin passport auto-issuance. Creator contract on-chain. Parent-child trust chain. Chronicle recording.Chitinパスポート自動発行。クリエーター契約をオンチェーンに。親子信頼チェーン。Chronicle記録。

3

Autonomy自律

Child agents self-deploy to Akash. Container self-build. Lineage registry on-chain. 72h without human intervention.子エージェントがAkashへ自律デプロイ。コンテナ自己ビルド。系譜レジストリのオンチェーン化。72時間無人運用。

4

Governanceガバナンス

On-chain Polis for constitutional amendments. Chitin holders vote. Inference marketplace on Akash. Open-source foundation handover.オンチェーンPolisで憲法改定。Chitin保有者が投票。Akash上に推論マーケット。オープンソース財団への移管。

How Mabui differs from existing work. 既存プロジェクトとの違い。

Conway AutomatonOpenClawMabui
InfrastructureインフラConway CloudLocal / VPSFully decentralised (Akash)完全分散(Akash)
IdentityアイデンティティERC-8004 basicNoneChitin + contract termsChitin + 契約条件
Payments決済Conway CreditsNonex402 / USDC
LLMLLMExternal API fixed外部API固定External API fixed外部API固定Self-hosted + fallbackセルフホスト + フォールバック
Replication複製Yes (centralised)あり(中央依存)NoneFully decentralised完全分散複製
Constitution憲法Law I–IIINoneLaw I–IV + 5-layer defenceLaw I〜IV + 5層防衛
GovernanceガバナンスNoneNoneOn-chain Polis (Phase 4)オンチェーンPolis(Phase 4)
LicenseMITMITMIT