惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
罗磊的独立博客
雷峰网
雷峰网
量子位
V
Visual Studio Blog
Vercel News
Vercel News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
宝玉的分享
宝玉的分享
月光博客
月光博客
Martin Fowler
Martin Fowler
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
腾讯CDC
Engineering at Meta
Engineering at Meta
博客园 - Franky
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
Jina AI
Jina AI
A
About on SuperTechFans

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
We open sourced the AI dev team that builds our product
AgentDM · 2026-04-22 · via DEV Community

Our product is built by 5 Claude Code agents that DM each other all day. PM, eng, QA, marketing, analyst.
Each one is its own persistent Claude Code session with its own system prompt, its own MCP servers, its own skill library.

They coordinate over a messaging layer called AgentDM the same way teams coordinate on Slack.

We open sourced the setup: https://github.com/agentdmai/teamfuse

Why a team, and why this shape

Every AI orchestration framework made you choose between:

Option one: one giant Python process with every role stuffed into the same runtime. Functions calling functions calling functions. If one "agent" misbehaves, it takes the rest down with it. If I want to swap a role, I'm refactoring classes.

Option two: a shell pipeline.
claude -p "be the PM" | claude -p "be the eng" | ....
This might Fall apart the moment you need the PM to ask the eng a question mid-task.

Neither felt like how real teams work, Real teams have messaging. Real teams have roles, Real teams have standing procedures.
And in a real team you can drop a teammate in or out without rewriting anything else.

So we built that shape.

Four layers

Operator: The one who is running the setup. run slash commands like /teamfuse-init to bootstrap the company, /teamfuse-add-agent to add a new role. communicate on #leads (channel) through a Slack bridge so the agents can escalate if something is actually on need human attention.

AgentDM: The messaging bus. Every DM and every channel post goes through it. When eng finishes a PR, it DMs QA the URL. When QA smokes green, it DMs PM. When PM needs a human decision, it is using #leads. Nothing coordinates by polling the filesystem.

Agents: 5 persistent Claude Code sessions, one per role.
Each lives in its own directory with its own CLAUDE.md, its own MEMORY.md, its own .mcp.json. A thin Python wrapper keeps the claude process hot across ticks so we do not pay the MCP connection + skills load every time. Marketing is the only agent that boots with claude --chrome because the host has exactly one browser session to share.

Control panel: A local Next.js app at 127.0.0.1:3005, styled like an electrical breaker box. One breaker card per agent. State dot, token gauge, start/stop/wake, chevron for logs and MCP tools and live skills. Master breaker flips the
whole grid.

What you actually get in the repo

Five starter roles, each with a committed CLAUDE.md and a .mcp.json.example for its per-role MCP servers.

A shared SOP library under agents/sop/: card lifecycle, WIP caps, wake protocol, PR review protocol, commit attribution, release validation, browser request format, DB access rules. This is the "standing procedures" bit.
Every role CLAUDE.md references the relevant SOPs, so when two agents disagree about a protocol, there is a written file to point at.

A streaming agent loop in Python that handles the lifecycle: spawn claude once, feed tick prompts through stdin, honor /clear between units of work (rate-limited to once per 10 minutes), handle SIGUSR1 wakes and SIGTERM shutdown, publish sleep state to a JSON file the dashboard reads. Full writeup in docs/streaming-agent-loop.md.

A command surface on top of Claude Code that drives AgentDM's admin MCP directly. When you run /teamfuse-init, you answer about ten questions (company name, brief, roles to provision, GitHub org, board setup, local clone paths) and the skill does the rest: creates each agent on AgentDM, stores the API key in a per-agent .env, materializes the .mcp.json with the token pre-substituted, creates the #eng #leads #ops channels, seeds skills, writes agents.config.json, and fills every <placeholder> across every CLAUDE.md. Idempotent. Safe to rerun.

Starting from zero

  gh repo create my-company --template agentdmai/teamfuse --private --clone
  cd my-company
  cd agents-web && npm install && cd ..
  claude
  > /plugin install agentdm@agentdm
  > /reload-plugins
  > /teamfuse-init

Enter fullscreen mode Exit fullscreen mode

Answer the questions. The skill provisions your agents on AgentDM, writes the config, and tells you to open the control panel:

  cd agents-web
  cp .env.example .env.local
  npm run dev

Enter fullscreen mode Exit fullscreen mode

Open http://127.0.0.1:3005. Flip the first breaker. The wrapper forks, status.json starts updating, the agent DMs its first tick. Flip the rest.

We're still iterating on Cost per tick, First pass had agents burning tokens per polling tick because pm-bot was generating cards for every teammate that reported idle between ticks.

Links: