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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
Google Online Security Blog
Google Online Security Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Simon Willison's Weblog
Simon Willison's Weblog
T
Threat Research - Cisco Blogs
C
CXSECURITY Database RSS Feed - CXSecurity.com
L
Lohrmann on Cybersecurity
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Forbes - Security
Forbes - Security
P
Palo Alto Networks Blog
Schneier on Security
Schneier on Security
S
Schneier on Security
T
Tor Project blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
WordPress大学
WordPress大学
The Hacker News
The Hacker News
Hacker News - Newest:
Hacker News - Newest: "LLM"
罗磊的独立博客
Application and Cybersecurity Blog
Application and Cybersecurity Blog
F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
C
Check Point Blog
Stack Overflow Blog
Stack Overflow Blog
Blog — PlanetScale
Blog — PlanetScale
雷峰网
雷峰网
S
Security @ Cisco Blogs
PCI Perspectives
PCI Perspectives
Spread Privacy
Spread Privacy
W
WeLiveSecurity
SecWiki News
SecWiki News
A
About on SuperTechFans
H
Help Net Security
博客园 - 司徒正美
Recent Commits to openclaw:main
Recent Commits to openclaw:main
爱范儿
爱范儿
S
Securelist
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
月光博客
月光博客
Jina AI
Jina AI
博客园 - 叶小钗
Vercel News
Vercel News
阮一峰的网络日志
阮一峰的网络日志
Recent Announcements
Recent Announcements
S
Secure Thoughts
The Cloudflare Blog
美团技术团队
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

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 Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
How to Run Multiple AI Agents Without Losing Control
Michael O · 2026-04-29 · via DEV Community

Most people who try running multiple AI agents at once end up in one of two failure modes.

Either the agents contradict each other constantly, or nothing gets done because no one is "in charge" of anything. The whole stack just produces noise.

I've been there. Three agents all doing different parts of the same task with different context. One agent writing a tweet that contradicts what another one just posted. An ops agent making decisions that the content agent has no idea about.

It's chaos in slow motion.

Here's what actually works. Not theory. The actual system I use to run a multi-agent stack as a solo founder while working full-time.


Why Multiple Agents Break Down

Before getting into the fix, it helps to understand why this falls apart.

The core problem is context isolation. Each agent you spin up starts with whatever you give it and nothing else. It doesn't know what the other agents know. It doesn't know what decisions got made yesterday. It doesn't know your brand voice, your current priorities, or what's already in motion.

So you end up with five smart specialists who have never met each other, all trying to build the same thing from different blueprints.

The second problem is no clear hierarchy. When every agent is equal, they all optimize for their own lane. The content agent cares about engagement. The SEO agent cares about keywords. The ops agent cares about efficiency. Without a layer that ties these together, you get three partially correct outputs that don't serve any single goal.

The third problem is no shared source of truth. I covered this in detail in what a source of truth document is for AI systems. But the short version: if your agents are pulling context from different places, they will drift. Fast.


The Three-Layer Stack

The system I use has three layers. Each one solves a different problem.

Layer 1: The Orchestrator

One agent runs everything. It doesn't do the work itself. It routes, prioritizes, and synthesizes. Think of it as the GM, not the player.

The orchestrator has full context: current goals, active projects, what got shipped, what's in progress, what the priorities are for this week. Every other agent reports to it and takes direction from it.

In practice, this means the orchestrator gets the morning briefing, routes tasks to specialists, and reviews outputs before they go anywhere.

Layer 2: The Specialists

These are your worker agents. Each one has a tight scope.

One handles content. One handles growth and replies. One handles ops and scheduling. One handles research. One handles code if you need it.

Each specialist has deep context for its domain but limited visibility outside of it. The content agent knows the voice guide, the post history, and the content calendar. It doesn't know what the SEO agent is doing. That's fine. The orchestrator handles the coordination.

Layer 3: The Shared Memory System

This is the layer most people skip and it's the reason everything else breaks without it.

Every agent reads from the same set of files before doing anything:

  • An identity file that defines who you are, what you're building, and what you sound like
  • A current priorities file that lists the top 3 things in motion this week
  • A decisions log that tracks what got decided and why
  • A context doc for whatever project they're working on

This isn't complicated. It's a handful of markdown files that live in your workspace. The agents read them at the start of each session. They write updates back to the log when something changes.

The result is agents that share a brain even though they run separately. I wrote more about how this memory system works in how to give an AI agent persistent memory.


The Handoff Protocol

The orchestrator-specialist setup only works if the handoffs are clean. Here's exactly how mine work.

Morning routing: The orchestrator reads the priorities file, checks what's in progress, and generates a task list for each specialist. Each task includes the context the specialist needs, the output format, and where the result should go.

Execution window: Specialists run their tasks. They don't make strategic decisions. If something is ambiguous, they flag it instead of deciding.

Review pass: The orchestrator reviews outputs before anything ships. This is where contradictions get caught. If the content agent wrote something that conflicts with the brand positioning, it gets flagged here, not after it's live.

Log update: Whatever shipped, whatever got decided, whatever changed gets written back to the decisions log. Next cycle starts with fresh context.

The whole thing runs on cron jobs and structured prompts. No custom code required.


The Identity File Is the Glue

Every specialist reads the same identity file. This is non-negotiable.

The identity file isn't a personality document. It's a system spec. It tells the agent what this business is, what it's not, who it's talking to, what it sounds like, and what it would never do.

Without this, every agent is making judgment calls based on their own interpretation of the task. Which means you get five different "voices" across five different agents, and the whole thing feels incoherent.

With a shared identity file, the content agent, the growth agent, and the ops agent all operate from the same foundation. They can make different kinds of decisions in different contexts and still produce something that feels like one company made it.

I wrote a full breakdown of how to build one in how to write an identity file for your AI agent.


What Breaks Without This System

I want to be specific about the failure modes so you can recognize them.

Drift. Agents start producing outputs that slowly diverge from your brand, goals, or strategy. Usually starts subtle. Gets obvious fast.

Redundant work. Without visibility into what other agents are doing, specialists duplicate effort. Two agents researching the same topic. Content getting written twice. Time wasted.

Unreviewed decisions. Without an orchestrator layer, specialists start making calls they shouldn't. An agent decides to change the posting schedule. Another agent updates a template it shouldn't touch. Small decisions compound.

Context collapse. Every time you start a new session, agents start fresh unless you give them the shared memory files. This is why the memory system matters. Without it, your "ongoing" agents have amnesia by default.


The Minimum Viable Setup

If you're starting from zero, here's what to build first:

  1. One identity file. Covers who you are, what you're building, voice, non-negotiables.
  2. One priorities file. Updated weekly. Three items max.
  3. One decisions log. Running append-only list of what got decided.
  4. One orchestrator agent. Reads all three files. Routes work to specialists.
  5. Two to three specialists. Start narrow. Content, ops, research.

Don't try to automate everything on day one. Start with the files. Get the memory system right. Add specialists one at a time once the coordination layer is working.

The goal isn't to have a lot of agents. It's to have agents that actually amplify what you're doing instead of creating more work for you.


This Is the Actual AI Co-Founder Model

I've been describing this as a multi-agent stack but it's really the practical implementation of what an AI co-founder looks like.

Not one chat window you open and close. Not a single assistant you prompt for answers. A coordinated system that runs the company alongside you, holds context between sessions, makes decisions within defined guardrails, and surfaces the things that need your attention.

The whole architecture, including how to build it from scratch, is in Build an AI Co-Founder. That's the detailed version with templates, examples, and the exact files I use.

If you're already running one or two agents and finding the coordination messy, the orchestrator layer is usually the missing piece. Add that first. The rest of the stack will start making more sense once there's something managing the flow.


Running multiple agents well is mostly a systems problem, not a prompting problem. Get the structure right and the agents will handle the rest.


Start Building Your Own AI System


Want to build your own AI co-founder?

I'm building Xero in public — an AI system that runs distribution, content, and ops while I work a full-time job.

Originally published at xeroaiagency.com