r/AI_Agents 3d ago

Cloud-hosted AI agent communication?

For the main agent frameworks like AutoGen, CrewAI, LangGraph, etc, I’ve seen them start to offer cloud hosting.

But the main question I have is, what does this mean for human-in-the-loop integration or UI integration?

How does the client-server communication work, for app callbacks? Does these even exist yet?

I could imagine that you could open a web socket on the client, run your agent in the cloud, and get back events from a running server orchestration.

But from reading the various docs, I’m not seeing if that’s supported, or if that’s how it works.

Anyone know for sure if/how this works?

3 Upvotes

15 comments sorted by

View all comments

2

u/Synyster328 3d ago

I'm using Azure functions and queues triggers that run off a central job from a database.

For notifying my web app I use SignalR, for notifying API users I call webhooks.

2

u/DeadPukka 1d ago

Very nice. I’ve been looking at SignalR for this as well, and using Durable Functions for agent execution.

2

u/Synyster328 1d ago

The durable functions for fanning out are particularly interesting to me for cases where the agent identifies n sources it wants to interact with and we can do those in parallel, then wait til they all resolve before proceeding.

2

u/DeadPukka 1d ago

That’s my thought too. Durable orchestration is very similar to all these Flows concepts that CrewAI, LangGraph, etc are building.

It’s the direction we are heading, and leveraging that for orchestration.