Skip to main content

Module ports

Module ports 

Source
Expand description

Ports (hexagonal architecture) — outbound interfaces to external systems.

Ports define what the application domain needs from external infrastructure, not how those needs are fulfilled. Adapters provide concrete implementations.

Re-exports§

pub use inference_provider::InferenceProvider;
pub use inference_provider::InferenceRequest;
pub use inference_provider::InferenceResponse;
pub use inference_provider::Usage;
pub use message_broker::Message;
pub use message_broker::MessageBroker;
pub use observation_store::ObservationStore;
pub use plugin_executor::PluginExecutor;
pub use session_store::SessionEvent;
pub use session_store::SessionStore;
pub use user_output::UserOutput;

Modules§

inference_provider
InferenceProvider port — abstraction over LLM inference backends.
message_broker
MessageBroker port — fan-out pub/sub message routing.
observation_store
ObservationStore port — abstraction over observation persistence.
plugin_executor
PluginExecutor port — abstraction over named CLI tool execution.
session_store
SessionStore port — abstraction over session event persistence.
user_output
UserOutput port — abstraction over user-facing terminal/UI output.