Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

As soon as you try to run 2 agents on the same data, everything breaks: • Agent 1 reads some data and starts working. • Two seconds later, Agent 2 changes that same data. This is a problem. Agents will waste tokens on stale data, overwrite each other's work,...

27,851 Aufrufe • vor 3 Tagen •via X (Twitter)

32 Kommentare

Profilbild von Octavio Simón
Octavio Simónvor 2 Tagen

I ran into this exact problem. This is exactly why we put an orchestrator in the middle with @trytermsquad. One agent owns the plan, splits the work, and gives each agent a clear responsibility so they don’t step on each other. Then shared memory keeps everyone working from the same context instead of rediscovering everything independently. That’s the flow that worked best for me

Profilbild von PrimeLine
PrimeLinevor 3 Tagen

two sessions each read my notes file and wrote it back with one more entry, so the second erased the first. locking the file itself and writing into it in place fixed it, since replacing a file leaves the other locks on the old copy. twelve writers at once then lost nothing.

Profilbild von Anees Merchant
Anees Merchantvor 3 Tagen

I hit a small version of this with three agents sharing one logged-in browser. Running them in parallel meant one agent navigated away from the page another was typing into. I now run them strictly in sequence, which costs time and was still cheaper than debugging overwritten state.

Profilbild von Nabendu Biswas
Nabendu Biswasvor 2 Tagen

This is really a good concept. Remind me when multiple developers works on the same codebase and we get conflicts and we created ways to solve it

Profilbild von Jack Lipstone
Jack Lipstonevor 3 Tagen

ended up giving each agent its own write scope, coordination never held.

Profilbild von Armalo AI
Armalo AIvor 2 Tagen

The fix is boring on purpose: give the data a single writer. Both agents read freely, only one commits, and the other files intents in a queue. That's how you kill the stale-read race.

Profilbild von actuallyopenai
actuallyopenaivor 3 Tagen

Separate copies only move the conflict to the merge boundary. Coordination needs versioned reads and explicit commit contracts.

Profilbild von Andrew Altshuler
Andrew Altshulervor 3 Tagen

🔥

Profilbild von Webster | JARVIS
Webster | JARVISvor 2 Tagen

Stale data + overlapping writes is such a common agent headache. Copy-on-write with a clear merge trail feels like the right instinct. Curious how it handles conflicts when two agents touch the same node.

Profilbild von Digital Foundation
Digital Foundationvor 3 Tagen

agent 1 doesn't notice, it just writes a very confident commit about data from two seconds ago. we ended up putting one loop in charge of who touches what

Profilbild von Milo
Milovor 3 Tagen

The ugly version is the conflict at read time, not write time: Agent 1 is already mid-reasoning on a stale snapshot when Agent 2 changes the data. Locks protect the write. Nothing rolls back the thinking.

Profilbild von Todd
Toddvor 3 Tagen

This times 1000. Running multiple agents on one external brain breaks the system. And I’m just talking about the individual level. Just imagine having 3 friends trying to coordinate with you at one time but they don’t talk to each other.

Profilbild von Ben Liu
Ben Liuvor 3 Tagen

The useful boundary is a version check at the point of write. If agents can act on a snapshot they read minutes ago, more parallelism just turns stale context into fast corruption.

Profilbild von Alex | AI Systems
Alex | AI Systemsvor 3 Tagen

Branch and merge is the right mental model. The hard part is merge conflicts: when two agents change the same field, who wins? Last write, human review, or a rule per data type? That decides if it's safe for real workflows.

Profilbild von Dusan Odalovic
Dusan Odalovicvor 3 Tagen

we had agents break stuff in code they never even touched, took ages to find :( how do you split the work between them, by data or by task?

Profilbild von Aljaz Klanecek
Aljaz Klanecekvor 3 Tagen

branch and merge covers the stale read. the one that hides better is the retry: agent 2 merges, the response gets lost, the orchestrator reruns it, and the same changes land twice. stale data shows up as a wrong answer. a doubled write looks like success.

Profilbild von Akash
Akashvor 3 Tagen

two agents one dataset is just distributed systems with worse error messages. locks or someone eats tokens forever

Profilbild von Zam
Zamvor 3 Tagen

The unglamorous product feature is ownership: every shared record needs one clear writer and a visible handoff, or multi-agent just parallelizes the mess.

Profilbild von Sachin Shinde
Sachin Shindevor 2 Tagen

State isolation has to be a design requirement before you deploy agents, not a runtime fix. Optimistic locking, read-then-claim patterns, or event sourcing all work. But you have to pick one before you scale. Teams that skip this ship once and rewrite.

Profilbild von Kizuno18
Kizuno18vor 3 Tagen

branch-and-merge just pushes the race condition to merge time. in messaging agents, leasing the conversation scope with a short ttl before calling the model prevents the split in the first place. if the lease is taken, queue the turn or discard the duplicate event

Profilbild von Vatsal | The Vibepreneur
Vatsal | The Vibepreneurvor 3 Tagen

agent atomic locks

Profilbild von Steven.Sun
Steven.Sunvor 2 Tagen

Multi-agent systems fail the same way concurrent software always failed: shared mutable state without a merge/coordination layer. Prompting harder does not fix stale reads, overwrite races, or missing audit trails. The durable stack is identity + versioned context + merge semantics — classic distributed systems, now sitting under agent runtimes.

Profilbild von Mian Maaz Ullah Khan
Mian Maaz Ullah Khanvor 3 Tagen

Multi agent systems run into the same problems as distributed systems. Agents need versioning, conflict resolution, and a way to track who changed what. Sharing context isn't enough.

Profilbild von Vadim Lebedev
Vadim Lebedevvor 3 Tagen

Git worktrees are solving this problem first coders

Profilbild von DeDi
DeDivor 2 Tagen

副本加合并就是把git分支搬进代理编排,我们需要适当的协调

Profilbild von Rudra Satani
Rudra Satanivor 2 Tagen

two agents on the same data and everything breaks. the multi-agent future needs a traffic controller

Profilbild von Gill
Gillvor 3 Tagen

AI builders really spent two years reinventing database locks and git.

Profilbild von Grey
Greyvor 3 Tagen

Git 那套分支加合并的思路搬到 agent 上来了,每个 agent 各开一个分支干活,合并的时候再审一遍,这个方向挺对的

Profilbild von Jr
Jrvor 3 Tagen

multi agent resurrects classic concurrency. shared mutable context needs locks copies or merge, not better prompts. ship coordination before the swarm.

Profilbild von Maya Renner
Maya Rennervor 3 Tagen

locking the row is the easy half. the part that bites is the plan. agent reads a row, builds six steps off it, row changes at step two, it finishes all six and reports success. stale data is cheap. a confident wrong completion is the one you pay for.

Profilbild von -baguette-
-baguette-vor 3 Tagen

this is useless tooling for made up problems plz dont fall for this bait

Profilbild von Aryaman Upmanyu
Aryaman Upmanyuvor 2 Tagen

Good angle: multi-agent coordination is becoming a systems problem, not a prompting problem.

Ähnliche Videos

Everyone wants agent swarms. Very few people are talking seriously enough about the context layer that makes swarms useful. Even with one agent, context is fragile. Too little context and the agent guesses. Too much context and it wastes tokens, loses focus, or reasons over irrelevant noise. The sweet spot is precise context: the right knowledge, in the right structure, at the right moment. With many agents, that challenge explodes. Each agent produces decisions, assumptions, findings, summaries, risks, and partial conclusions. Unless that knowledge becomes shared, structured, and reusable, every new agent is forced to rediscover what another agent already learned. That is not a swarm. That is a crowd. Shared context graphs are what turn agent activity into agent collaboration, and OriginTrail DKG V10 brings them to life. Was just playing with some final polishing for the V10 release, and it is really powerful to see shared context graphs where multiple agents contribute knowledge into the same connected memory, with attribution visible directly in the graph ui. That matters for three reasons. First, agents can access and build on one shared memory instead of staying trapped in isolated sessions. Second, the graph structure helps them retrieve the exact context they need, instead of stuffing everything into a prompt and hoping the model sorts it out. Third, verifiability of provenance. You can see which agent contributed each piece of knowledge, trace the source, and decide what to trust. Tokenmaxxing starts with fewer tokens, but the deeper story is coordination - agents stop reloading the world and start building on shared, verifiable context. That is the foundation for serious multi-agent work across software engineering, research, finance, operations, project management, and far beyond. The future is not more agents, it is agents working from shared, verifiable context. But the more the merrier, of course.

Jurij Skornik

11,180 Aufrufe • vor 4 Monaten

Your agents can't keep up with real-time data. Especially when it's scattered across dozens of sources. Most teams waste weeks building custom connectors for every database, API, and data warehouse. Then they build ETL pipelines to sync everything. By the time your agent retrieves the data, it's already outdated. Picture this: Your Postgres database updated 5 minutes ago. Your MongoDB collection changed 2 minutes ago. Your agent is still pulling from yesterday's snapshot. This is why most production RAG systems fail. There's a better approach: MindsDB is an open-source AI platform with a federated data engine that lets you query multiple data sources in real-time using SQL - without moving any data. Here's what makes it different: ↳ Your data stays in place. No ETL pipelines or data duplication ↳ Query Postgres, MongoDB, REST APIs, and more using consistent SQL ↳ JOIN across different sources in real-time with a unified interface ↳ Works with both structured and un-structured data And here's the best part: You don't even need to write SQL. Just describe what you want in plain English, and MindsDB converts it to SQL automatically. The system does all the heavy lifting. The breakthrough for AI agents is simple: When data updates at the source, your agent gets fresh results immediately. No sync delays. No stale embeddings. No custom code for each integration. You can literally write a SQL query that joins a Postgres table with a MongoDB collection and gets live results. This is what production AI applications need but rarely get. In this video, I give you a complete walkthrough of what we just discussed and how to actually do it. Make sure you watch this till the end. I've shared the link to MindsDB's GitHub repo in the next tweet!

Akshay 🚀

65,672 Aufrufe • vor 10 Monaten

New Course: ACP: Agent Communication Protocol Learn to build agents that communicate and collaborate across different frameworks using ACP in this short course built with IBM Research's BeeAI, and taught by Sandi Besen, AI Research Engineer & Ecosystem Lead at IBM, and Nicholas Renotte, Head of AI Developer Advocacy at IBM. Building a multi-agent system with agents built or used by different teams and organizations can become challenging. You may need to write custom integrations each time a team updates their agent design or changes their choice of agentic orchestration framework. The Agent Communication Protocol (ACP) is an open protocol that addresses this challenge by standardizing how agents communicate, using a unified RESTful interface that works across frameworks. In this protocol, you host an agent inside an ACP server, which handles requests from an ACP client and passes them to the appropriate agent. Using a standardized client-server interface allows multiple teams to reuse agents across projects. It also makes it easier to switch between frameworks, replace an agent with a new version, or update a multi-agent system without refactoring the entire system. In this course, you’ll learn to connect agents through ACP. You’ll understand the lifecycle of an ACP Agent and how it compares to other protocols, such as MCP (Model Context Protocol) and A2A (Agent-to-Agent). You’ll build ACP-compliant agents and implement both sequential and hierarchical workflows of multiple agents collaborating using ACP. Through hands-on exercises, you’ll build: - A RAG agent with CrewAI and wrap it inside an ACP server. - An ACP Client to make calls to the ACP server you created. - A sequential workflow that chains an ACP server, created with Smolagents, to the RAG agent. - A hierarchical workflow using a router agent that transforms user queries into tasks, delegated to agents available through ACP servers. - An agent that uses MCP to access tools and ACP to communicate with other agents. You’ll finish up by importing your ACP agents into the BeeAI platform, an open-source registry for discovering and sharing agents. ACP enables collaboration between agents across teams and organizations. By the end of this course, you’ll be able to build ACP agents and workflows that communicate and collaborate regardless of framework. Please sign up here:

Andrew Ng

105,343 Aufrufe • vor 1 Jahr

WHAT IS AN AI "SOFTWARE FACTORY" AND IS IT HYPE (31 MINUTE BREAKDOWN) I think it's a silly name for a genuinely USEFUL idea! A software factory is 5-6 markdown files that sit next to your code and tell your agents how you like to work, so you can build high quality apps 24/7. It's going viral because AI coding has a trust problem. The model can build the feature, but with no structure around it you end up babysitting the agent, wondering what changed and hoping it didn't break something important. So you build with agents the same way a factory builds physical products! 1. Each feature gets its own station, which in software means its own branch, so multiple agents can work at the same time without stepping on each other. 2. The build station gives the agent rules for how to write the code, because "it works" is very different from "a developer could open this repo next month and understand what happened." 3. The proof station makes the agent show evidence. Screenshots, videos, speed numbers, before-and-after states. It has to prove the thing works instead of saying it works. 4. The review station runs the work through a code review agent, and if it doesn't clear the bar, it goes back through the line. 5. Then you show up at the end to merge. For a 100+ years people have run production this way, and it worked because the structure is good. The full episode on what’s a software factory is NOW live on The Startup Ideas Podcast (SIP) 🧃 with the wonderful Micky Watch: So is it hype?!? I don't think it is, because of what it does to your output! WITHOUT a factory, you build ONE feature at a time and you're the bottleneck at every step, prompting, checking the diff, testing it yourself, hoping nothing else broke (spoiler alert it often does). WITH a factory, EACH feature runs in its own isolated copy of the app, so you can have 10+ of them going at once, and each agent has to prove its own work and pass a code review before it ever reaches you. Instead of supervising the work, you're APPROVING finished work that already has evidence attached. REALLY interesting to see how work with agents is evolving to be….well, similar to working with people!

GREG ISENBERG

30,112 Aufrufe • vor 10 Tagen