Source root:
mei-agent/(formerlymwr-agent//mwr/).
Method brand: MEI (Micro-world Epistemic Inference; formerly MWR).
Dataset product: separate repoarcstep/rubble.
MEI Agent is the Rust implementation of Micro-world Epistemic Inference: identify, diagnose, and govern toward a bounded, inspectable micro-world (MW), then infer inside it (build-before-solve).
Implementation one-liner: mei-agent owns identify / triage / context assembly;
inference is delegated to a concrete LLM. It is not a default multi-agent team
and does not optimize for “rather too much context than missing some.”
The implementation is split into contracts, registry, deterministic assembly,
runtime, tools, evaluation, and optional model adapters. mw-core deliberately
has no dependency on an AI framework or a domain-specific provider.
Rust crate prefix: mw-* (micro-world kernel); product root: mei-agent/.
Package version lives only in root Cargo.toml
[workspace.package].version. Shared third-party pins live in
[workspace.dependencies]. Member crates inherit with
version.workspace = true and dep.workspace = true; internal path deps do
not repeat the package version. Workspace crates stay publish = false until
crates.io release, so path-only internal deps remain valid for cargo-deny.
mw-core: contracts, identifiers, identify/triage cells (MW/HD/SF shortcodes), permissions, and lifecycle statesmw-registry: provider, world, block, and version indexesmw-engine: deterministic matching, assembly, and sufficiency checksmw-runtime: role orchestration, identify→triage→build/solve, budgets, snapshots, and audit eventsmw-tools: themwCLI and task/meta-tool bridgemw-evals: structural smoke baselines and separatecell-probetriage/exit probesmw-rig: optional Rig model and tool adaptermw-test-support: unpublished in-memory provider and fixturesintegrations/mw-meilang: excluded, independently tested protocol bridge for a caller-supplied MeiLang source driver; it is not a connection to a live MeiLang runtime. Keep its pin list aligned with the root workspace.
cargo fmt --check
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace
cargo doc --workspace --no-deps
cargo deny check
cargo fmt --manifest-path integrations/mw-meilang/Cargo.toml --check
cargo clippy --manifest-path integrations/mw-meilang/Cargo.toml --all-targets --all-features -- -D warnings
cargo test --manifest-path integrations/mw-meilang/Cargo.toml --all-featuresThe default test suite is self-contained and does not require model credentials, MeiLang, or another sibling workspace.
Design contracts and long-form method notes are not published in this repository. This repo is the portable implementation and repository-facing usage only. Standalone project documentation may be added here at formal release time—without depending on a private monorepo docs tree.
RUBBLE packs and calibration runners: arcstep/rubble.
Baselines under baselines/ are runnable from this checkout (see that README).
MIT