Expand description
mdx-rust-core
Core logic for the MDx Rust agent optimizer.
Re-exports§
pub use config::Config;pub use eval::EvaluationDataset;pub use eval::EvaluationSample;pub use eval::ScorerMetadata;pub use hooks::evaluate_builtin_hook;pub use hooks::HookAction;pub use hooks::HookContext;pub use hooks::HookDecision;pub use hooks::HookPolicy;pub use hooks::HookStage;pub use ledger::split_dataset;pub use ledger::DatasetSplit;pub use ledger::ExperimentLedger;pub use ledger::OptimizationBudget;pub use ledger::PromptVariantRecord;pub use optimizer::mechanical_score;pub use optimizer::run_optimization;pub use optimizer::Candidate;pub use optimizer::EditStrategy;pub use optimizer::ModelProvenance;pub use optimizer::OptimizationRun;pub use optimizer::OptimizeConfig;pub use registry::AgentContract;pub use registry::RegisteredAgent;pub use registry::Registry;pub use runner::run_agent;pub use runner::AgentRunResult;pub use runner::TraceEvent;pub use safety_pipeline::execute_candidate_edit;pub use safety_pipeline::CandidateExecutionConfig;pub use safety_pipeline::CandidateExecutionContext;pub use safety_pipeline::CandidateExecutionOutcome;pub use security::audit_agent;pub use security::AuditFinding;pub use security::AuditSeverity;pub use security::SecurityAuditReport;pub use trace::diagnose_run;pub use trace::FailureKind;pub use trace::FailureSignal;pub use trace::TraceDiagnosis;
Modules§
- config
- Configuration loading and management for mdx-rust
- eval
- Evaluation dataset and scorer metadata.
- hooks
- Lifecycle hooks for the safe optimization pipeline.
- ledger
- Experiment budgeting and prompt variant ledger primitives.
- llm
- Thin LLM client abstraction for the optimizer.
- optimizer
- The core optimization loop (Phase 3).
- registry
- Agent registry management
- runner
- Agent execution harness with tracing support.
- safety_
pipeline - Candidate safety pipeline.
- security
- Lightweight agent security audit checks.
- trace
- Trace diagnosis primitives.