Expand description
§wactorz-core
Core actor model primitives for AgentFlow.
This crate provides the fundamental building blocks:
Actor— the base trait every agent must implementMessage/MessageType— typed inter-actor communicationActorState— lifecycle state machineActorMetrics— runtime telemetryActorRegistry/ActorSystem— actor lookup and orchestration
Re-exports§
pub use actor::Actor;pub use actor::ActorConfig;pub use actor::ActorState;pub use message::Message;pub use message::MessageType;pub use metrics::ActorMetrics;pub use metrics::MetricsSnapshot;pub use publish::EventPublisher;pub use registry::ActorEntry;pub use registry::ActorFactory;pub use registry::ActorRegistry;pub use registry::ActorSystem;pub use registry::Supervisor;pub use registry::SupervisorStrategy;
Modules§
- actor
- Actor trait and lifecycle state machine.
- message
- Inter-actor message types.
- metrics
- Runtime telemetry for actors.
- publish
- Lightweight publish channel: actors post (topic, payload) tuples; the server task bridges them to the real MQTT broker.
- registry
- Actor registry, system orchestrator, and Erlang/OTP-style supervisor.