Skip to main content

Module actor

Module actor 

Source
Expand description

Actor-model agent collaboration system.

Enables agents to run as independently addressable actors that communicate via async message passing, supporting multi-agent collaboration patterns such as delegation, negotiation, and orchestration.

Built on the [ractor] crate for lightweight, high-performance actor lifecycle management.

§Architecture

┌──────────────────────────────────────────────────┐
│                ActorCollaboration                 │
│                                                  │
│  ┌──────────┐  ┌──────────┐  ┌──────────┐      │
│  │ AgentActor│  │ AgentActor│  │ AgentActor│     │
│  │    (A)    │  │    (B)    │  │    (C)    │     │
│  └──────┬───┘  └──────┬───┘  └──────┬───┘      │
│         │              │              │          │
│         └──────────────┼──────────────┘          │
│              Message Passing                     │
└──────────────────────────────────────────────────┘

Modules§

agent_actor
An actor mailbox over the shared thread/run host. Actors do not construct an LLM driver, orchestrator, tool registry, or private conversation history.
messages
Message types for inter-agent communication.
system
High-level system for managing the lifecycle of agent actors.