Skip to main content

Crate made_adapters

Crate made_adapters 

Source
Expand description

Infrastructure adapters for MADE.

Implements ports defined in made-core using concrete technologies. MADE itself is provider-agnostic; every integration — transport, message bus, or LLM vendor — is a peer adapter gated behind its own Cargo feature flag. No provider is privileged.

§Always available

AdapterPort
clock::SystemClockClockPort
config::EnvConfigurationdeployable configuration loader
memory::InMemoryCouncilRegistryCouncilRegistryPort
memory::InMemoryDeliberationRepositoryDeliberationRepositoryPort
memory::InMemoryAgentRegistryAgentResolverPort (+ writes)
metrics::PrometheusMetricsRecorderMetricsRecorderPort
noop::NoopAgentAgentPort (deterministic; tests / demos)
noop::NoopExecutorExecutorPort
noop::NoopMessagingMessagingPort
scoring::UniformScoringScoringPort (pass fraction)
scoring::JudgeAwareScoringScoringPort (judge verdict, wired when a judge is configured)
validators::ContentNonEmptyValidatorValidatorPort (sanity check)

§Feature-gated

FeatureIntegration
grpc (default)Tonic gRPC server adapter (grpc::*)
natsNATS JetStream messaging adapter
runtime-grpcOutbound Underpass Runtime gRPC executor
postgresPostgres deliberation repository (sqlx)
otelgRPC W3C tracecontext → OpenTelemetry bridge
agent-vllmvLLM / OpenAI-compatible local inference
agent-anthropicAnthropic Messages API
agent-openaiOpenAI Chat Completions / Responses API

Additional provider adapters (frontier, local, rule-based, human-in-the-loop) plug in through the same AgentPort trait with no core changes.

Modules§

agents
Agent provider adapters.
artifacts
ceremony
clock
Clock adapter.
config
Configuration adapter.
council_journal_messaging
event_sink
execution
grpc
gRPC server adapter.
memory
In-memory adapters backing the domain ports that hold state.
mermaid
Mermaid adapters for ceremony visualization.
metrics
Metrics adapters.
nats
NATS adapter.
noop
No-op adapters.
progress
runtime
Runtime-backed ExecutorPort adapter.
scoring
Scoring adapters.
validators
Default validator adapters.
yaml
YAML adapters for declarative ceremony definitions.