Agent Fungibilityのロゴ

Agent Fungibility

コミュニティ
Dicklesworthstone
agent-fungibility

マルチエージェントソフトウェア開発におけるエージェントの互換性という考え方と、その実践的なメリットを解説します。大規模環境で、均質で相互に置き換え可能なエージェントが、役割ごとに特化したシステムより優れた成果を上げる理由を説明します。

概要

公開者Dicklesworthstone
リポジトリagent_flywheel_clawdbot_skills_and_integrations
スキル名agent-fungibility
スター
73
フォーク
16
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    DicklesworthstoneがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Agent Fungibility」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations/tree/main/skills/agent-fungibility
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations.git /tmp/agent_flywheel_clawdbot_skills_and_integrations
mkdir -p .claude/skills
cp -r /tmp/agent_flywheel_clawdbot_skills_and_integrations/skills/agent-fungibility .claude/skills/agent-fungibility
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAgent Fungibilityを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAgent Fungibilityを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Agent Fungibilityは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Agent Fungibility — The Key to Scalable Agent Swarms

Core Principle: "Fungibility bestows a LOT of really good properties automatically in a computer system."

YOU are the bottleneck. Be the clockwork deity to your agent swarms: design a beautiful and intricate machine, set it running, and then move on to the next project.


The Debate: Specialized vs. Fungible Agents

A burgeoning debate has sprung up around the optimal way to scale up the number of agents working on a software project:

ApproachDescription
Specialized RolesAssign distinct roles (tester agent, backend agent, committer agent, etc.)
Fungible AgentsAll agents are identical and can do any task

The answer for software development: Fungible agents win.


Why Fungibility Works

The Problem with Specialized Agents

Rather than setting up a complex heterogeneous system where you have assigned roles to specific tasks for agents, which is brittle and creates problems when one of the agents crashes or loses its memory or otherwise suffers from context rot and needs to be euthanized, you have to deal with:

  1. Understanding what kind of agent just died
  2. What was it doing when it died
  3. How to replace it functionally with the relevant context
  4. What happens to the other agents that were depending on that specialized agent?

The Fungibility Solution

You're better off just having a bunch of fungible agents that are all simply executing beads of any kind.

They can be any kind of agent:

  • Claude Code
  • Codex
  • Antigravity CLI (agy, pinned to "Gemini 3.1 Pro (High)"; successor to the retiring Gemini CLI)
  • Amp
  • Cursor
  • etc.

But they're fungible in that they can all wear any hat and adaptively assume any role depending on the bead task they're working on.


The Two Big Unlocks

1. Use BV to Choose Optimal Next Bead

Each agent uses bv --robot-triage or bv --robot-next to find the highest-impact ready bead. No central assignment needed.

2. Put Everything in the Plan → Beads

If you put everything you want to have happening in your original markdown plan that you turn into beads, you get everything else "for free" and it's robust to bad things happening to any agents.


Robustness Properties

Agents fail. They:

  • Crash
  • You accidentally close the tab
  • Context rot (lose track of what they're doing)
  • Get stuck in loops
  • Need to be "euthanized" and restarted

With fungible agents, you never have to worry about that stuff.

When an agent dies:

  1. The bead it was working on remains marked in-progress
  2. Any other agent can pick it up
  3. No special replacement logic needed
  4. No dependency on that specific agent

Scaling Properties

When you want to move faster:

  • Simply spin up more agents at any time
  • Don't need to think about whether there's an imbalance between the counts of each agent role
  • 3 agents → 10 agents → 20 agents: just add more, they all do the same thing

Agent fungibility lets you go much faster and scales better, especially as:

  • Projects get larger and more complex
  • Agent counts increase past 10 working on the same project at the same time

The Analogy: Fountain Codes

This is why I'm a huge fan of things like fountain codes (like RaptorQ) for file storage:

Turn a file into an endless stream of fungible blobs with very little overhead and the user can catch any blob in any order and each new blob helps them reconstruct the file; there's no "rarest chunk" like with BitTorrent.

In software development:

  • Each bead is a "blob"
  • Any agent can work on any bead
  • There's no "critical specialist" that becomes a bottleneck
  • The system is resilient to partial failures

When Specialized Roles DO Make Sense

There are contexts where designated roles for agents work better. Example: Automated scientific inquiry (like BrennerBot).

Why it works there:

  • The discourse itself (the back and forth between different agent types) is the core mechanism of surfacing truth
  • The debate structure IS the point

Why it doesn't work for software:

  • In software development, we just want good code that works
  • The goal is output, not discourse
  • Fungibility removes bottlenecks and single points of failure

The Clockwork Deity Philosophy

Most of my agent tooling and workflows are about removing me from the equation, because there's only one of me, but a potentially unlimited number of agents.

The way to do this:

  1. Front-load all input in planning phases — Use GPT Pro with Extended Reasoning, multiple iterations, blend feedback from all frontier models
  2. Offload task structuring — Convert plans to beads with full dependency graphs
  3. Allow direct communication — Agent Mail lets agents coordinate without you
  4. Set it running and move on — By the time you come back, huge chunks of work are done

Why This Works

It all ultimately works because:

  • The best models (GPT Pro) are used to their fullest
  • Many iterations with blending feedback from all frontier models
  • The very best model as the final arbiter
  • In "plan space" it all fits easily in context windows
  • Models can see the entire system at once instead of through a pinhole

Practical Implementation

Starting a Fungible Swarm

bash
# Spawn agents (any mix of types)
ntm spawn myproject --cc=3 --cod=2 --agy=1

# Give them all the SAME initial prompt
ntm send myproject --all "$(cat initial_prompt.txt)"

The Initial Prompt (Same for All)

First read ALL of the AGENTS dot md file and README dot md file super carefully and understand ALL of both! Then use your code investigation agent mode to fully understand the code, and technical architecture and purpose of the project. Then register with MCP Agent Mail and introduce yourself to the other agents.

Be sure to check your agent mail and to promptly respond if needed to any messages; then proceed meticulously with your next assigned beads, working on the tasks systematically and meticulously and tracking your progress via beads and agent mail messages.

Don't get stuck in "communication purgatory" where nothing is getting done; be proactive about starting tasks that need to be done, but inform your fellow agents via messages when you do so and mark beads appropriately.

When you're not sure what to do next, use the bv tool mentioned in AGENTS dot md to prioritize the best beads to work on next; pick the next one that you can usefully work on and get started. Make sure to acknowledge all communication requests from other agents and that you are aware of all active agents and their names.  Use ultrathink.

When an Agent Fails

  1. Don't panic
  2. Start a new session in its place
  3. Give it the same initial prompt
  4. It will:
    • Read AGENTS.md
    • Check bead status via bv
    • See what's in-progress/stuck
    • Either resume or pick a new bead

No special logic. No role assignment. Just fungibility.


Summary

PropertySpecialized AgentsFungible Agents
Failure handlingComplexSimple
ScalingRequires role balancingJust add more
ReplacementNeed matching specialistAny agent works
Single point of failureYes (each role)No
Coordination overheadHighLow (via beads + mail)
Human involvementOngoingFront-loaded in planning

The bottom line: Agent fungibility lets you build the machine once, set it running, and move on. The swarm handles the rest.

よくある質問

AIスキル「Agent Fungibility」では何ができますか?

マルチエージェントソフトウェア開発におけるエージェントの互換性という考え方と、その実践的なメリットを解説します。大規模環境で、均質で相互に置き換え可能なエージェントが、役割ごとに特化したシステムより優れた成果を上げる理由を説明します。

TypingMindでAgent Fungibilityを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Agent Fungibilityはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAgent Fungibilityをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations/tree/main/skills/agent-fungibilityを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Agent Fungibilityを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Agent Fungibilityで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAgent Fungibilityを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Agent Fungibility」は無料ですか?

DicklesworthstoneがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇