Skip to main content

Module ports

Module ports 

Source
Expand description

The five port traits — the only seams adapters may implement.

Ports are expressed as async_trait object-safe traits returning crate::error::Result. Core defines them; adapter crates implement them; the application layer is generic over them. Core never implements a port.

Traits§

DispatchApi
The inbound application API (driving side of the hexagon).
EnginePort
Drives a concrete agent engine (a CLI such as forge, or an SDK).
RoutingPort
Selects an engine/agent target for a task.
StorePort
Durable persistence for tasks and results.
TransportPort
A message bus / mailbox transport.