Why AI Agents Need Event-Driven Architecture

https://hackernoon.imgix.net/images/Ry5l0YEsYYemYgZDuPcMZ6ZbZKW2-zr83bmr.jpeg

AI agents become fragile when they are connected in long synchronous chains. An event bus lets them work independently, wait for people and tools, recover after restarts, and place policy between a model's recommendation and a real action.

Most AI agent demos fit inside a single request:

User -> Agent -> Tool -> Agent -> Response

The agent makes a plan, calls a tool, gets an answer, and returns a response. It is easy to understand and easy to demo.

Then the same agent meets a real workflow.

It needs data from several systems. One tool takes five minutes. Another agent has to review the result. A production change needs human approval. While the approval is pending, one of the services restarts.

The model is no longer the hardest part. Coordination is.

At that point, adding a better prompt will not fix the system. The agents need a way to...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more

https://cdn.mos.cms.futurecdn.net/dfCZV3VXYy9Efw5WUVLRWW-970-80.jpg

US Army drilled by senators over ‘deep concerns’ surrounding shutdown of cutting-edge drone battalion — and the wars in Ukraine and Iran show that ‘back to basics’ might not be a smart move

* US senators call on Army to answer questions over disbanding of futuristic drone battalion * Letter to General LaNeve raises concerns over US commitment to NATO allies and Ukraine * Drones are changing the face of the battlefield, and the US could miss out on important lessons and innovations A group of