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
| Adapter | Port |
|---|---|
clock::SystemClock | ClockPort |
config::EnvConfiguration | deployable configuration loader |
memory::InMemoryCouncilRegistry | CouncilRegistryPort |
memory::InMemoryDeliberationRepository | DeliberationRepositoryPort |
memory::InMemoryAgentRegistry | AgentResolverPort (+ writes) |
metrics::PrometheusMetricsRecorder | MetricsRecorderPort |
noop::NoopAgent | AgentPort (deterministic; tests / demos) |
noop::NoopExecutor | ExecutorPort |
noop::NoopMessaging | MessagingPort |
scoring::UniformScoring | ScoringPort (pass fraction) |
scoring::JudgeAwareScoring | ScoringPort (judge verdict, wired when a judge is configured) |
validators::ContentNonEmptyValidator | ValidatorPort (sanity check) |
§Feature-gated
| Feature | Integration |
|---|---|
grpc (default) | Tonic gRPC server adapter (grpc::*) |
nats | NATS JetStream messaging adapter |
runtime-grpc | Outbound Underpass Runtime gRPC executor |
postgres | Postgres deliberation repository (sqlx) |
otel | gRPC W3C tracecontext → OpenTelemetry bridge |
agent-vllm | vLLM / OpenAI-compatible local inference |
agent-anthropic | Anthropic Messages API |
agent-openai | OpenAI 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
ExecutorPortadapter. - scoring
- Scoring adapters.
- validators
- Default validator adapters.
- yaml
- YAML adapters for declarative ceremony definitions.