agent-fungibility
The philosophy and practical benefits of agent fungibility in multi-agent software development. Why homogeneous, interchangeable agents outperform specialized role-based systems at scale.
Best use case
agent-fungibility is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. The philosophy and practical benefits of agent fungibility in multi-agent software development. Why homogeneous, interchangeable agents outperform specialized role-based systems at scale.
The philosophy and practical benefits of agent fungibility in multi-agent software development. Why homogeneous, interchangeable agents outperform specialized role-based systems at scale.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "agent-fungibility" skill to help with this workflow task. Context: The philosophy and practical benefits of agent fungibility in multi-agent software development. Why homogeneous, interchangeable agents outperform specialized role-based systems at scale.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/agent-fungibility/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How agent-fungibility Compares
| Feature / Agent | agent-fungibility | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
The philosophy and practical benefits of agent fungibility in multi-agent software development. Why homogeneous, interchangeable agents outperform specialized role-based systems at scale.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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: | Approach | Description | |----------|-------------| | **Specialized Roles** | Assign distinct roles (tester agent, backend agent, committer agent, etc.) | | **Fungible Agents** | All 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 - 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 --gmi=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 | Property | Specialized Agents | Fungible Agents | |----------|-------------------|-----------------| | **Failure handling** | Complex | Simple | | **Scaling** | Requires role balancing | Just add more | | **Replacement** | Need matching specialist | Any agent works | | **Single point of failure** | Yes (each role) | No | | **Coordination overhead** | High | Low (via beads + mail) | | **Human involvement** | Ongoing | Front-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.
Related Skills
azure-quotas
Check/manage Azure quotas and usage across providers. For deployment planning, capacity validation, region selection. WHEN: "check quotas", "service limits", "current usage", "request quota increase", "quota exceeded", "validate capacity", "regional availability", "provisioning limits", "vCPU limit", "how many vCPUs available in my subscription".
raindrop-io
Manage Raindrop.io bookmarks with AI assistance. Save and organize bookmarks, search your collection, manage reading lists, and organize research materials. Use when working with bookmarks, web research, reading lists, or when user mentions Raindrop.io.
zlibrary-to-notebooklm
自动从 Z-Library 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。
discover-skills
当你发现当前可用的技能都不够合适(或用户明确要求你寻找技能)时使用。本技能会基于任务目标和约束,给出一份精简的候选技能清单,帮助你选出最适配当前任务的技能。
web-performance-seo
Fix PageSpeed Insights/Lighthouse accessibility "!" errors caused by contrast audit failures (CSS filters, OKLCH/OKLAB, low opacity, gradient text, image backgrounds). Use for accessibility-driven SEO/performance debugging and remediation.
project-to-obsidian
将代码项目转换为 Obsidian 知识库。当用户提到 obsidian、项目文档、知识库、分析项目、转换项目 时激活。 【激活后必须执行】: 1. 先完整阅读本 SKILL.md 文件 2. 理解 AI 写入规则(默认到 00_Inbox/AI/、追加式、统一 Schema) 3. 执行 STEP 0: 使用 AskUserQuestion 询问用户确认 4. 用户确认后才开始 STEP 1 项目扫描 5. 严格按 STEP 0 → 1 → 2 → 3 → 4 顺序执行 【禁止行为】: - 禁止不读 SKILL.md 就开始分析项目 - 禁止跳过 STEP 0 用户确认 - 禁止直接在 30_Resources 创建(先到 00_Inbox/AI/) - 禁止自作主张决定输出位置
obsidian-helper
Obsidian 智能笔记助手。当用户提到 obsidian、日记、笔记、知识库、capture、review 时激活。 【激活后必须执行】: 1. 先完整阅读本 SKILL.md 文件 2. 理解 AI 写入三条硬规矩(00_Inbox/AI/、追加式、白名单字段) 3. 按 STEP 0 → STEP 1 → ... 顺序执行 4. 不要跳过任何步骤,不要自作主张 【禁止行为】: - 禁止不读 SKILL.md 就开始工作 - 禁止跳过用户确认步骤 - 禁止在非 00_Inbox/AI/ 位置创建新笔记(除非用户明确指定)
internationalizing-websites
Adds multi-language support to Next.js websites with proper SEO configuration including hreflang tags, localized sitemaps, and language-specific content. Use when adding new languages, setting up i18n, optimizing for international SEO, or when user mentions localization, translation, multi-language, or specific languages like Japanese, Korean, Chinese.
google-official-seo-guide
Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation
github-release-assistant
Generate bilingual GitHub release documentation (README.md + README.zh.md) from repo metadata and user input, and guide release prep with git add/commit/push. Use when the user asks to write or polish README files, create bilingual docs, prepare a GitHub release, or mentions release assistant/README generation.
doc-sync-tool
自动同步项目中的 Agents.md、claude.md 和 gemini.md 文件,保持内容一致性。支持自动监听和手动触发。
deploying-to-production
Automate creating a GitHub repository and deploying a web project to Vercel. Use when the user asks to deploy a website/app to production, publish a project, or set up GitHub + Vercel deployment.