You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each AutoGen agent system has one or more Agent Workers and a set of services for managing/supporting the agents. The services and workers can all be hosted in the same process or in a distributed system. When in the same process communication and event delivery is in-memory. When distributed, workers communicate with the service over gRPC. In all cases, events are packaged as CloudEvents. There are multiple options for the backend services:
6
+
7
+
- In-Memory: the Agent Workers and Services are all hosted in the same process and communicate over in-memory channels. Available for python and .NET.
8
+
- Python only: Agent workers communicate with a python hosted service that implements an in-memory message bus and agent registry.
9
+
- Micrososft Orleans: a distributed actor system that can host the services and workers, enables distributed state with persistent storage, can leverage multiple event bus types, and cross-language agent communication.
10
+
-*Roadmap: support for other languages distributed systems such as dapr or Akka.*
11
+
12
+
The Services in the system include:
13
+
14
+
- Worker: Hosts the Agents and is a client to the Gateway
15
+
- Gateway:
16
+
-- RPC gateway for the other services APIs
17
+
-- Provides an RPC bridge between the workers and the Event Bus
18
+
-- Message Session state (track message queues/delivery)
19
+
- Registry: keeps track of the {agents:agent types}:{Subscription/Topics} in the system and which events they can handle
20
+
-- *Roadmap: add lookup api in gateway*
21
+
- AgentState: persistent state for agents
22
+
- Routing: delivers events to agents based on their subscriptions+topics
23
+
-- *Roadmap: add subscription management APIs*
24
+
-*Roadmap: Management APIs for the Agent System*
25
+
-*Roadmap: Scheduling: manages placement of agents*
26
+
-*Roadmap: Discovery: allows discovery of agents and services*
0 commit comments