Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Micromamba

$ micromamba Official Low Risk
Mamba · Code & DevOps · BSD-3-Clause · macos / linux / windows

Micromamba (micromamba) is a standalone C++ reimplementation of the Conda package manager that needs no base Python environment. It provides native --json output across list, info, and search, --fields selection, --yes, and --dry-run for clean CI/agent automation.

FCRS-1.0 Score
89 /100
Good
Medium Confidence
Zero-Friction Install
brew install micromamba
CLI vs MCP Decision CLI Preferred vs MCP

micromamba resolves libsolv dependency graphs locally and executes commands inside isolated prefixes via micromamba run.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Global --json, --yes, --dry-run, --quiet, --fields on list, and micromamba run avoid shell activation issues in subagent shells.

  • Supports --json across list, info, search, and --dry-run plans
  • micromamba run executes inside any prefix without shell initialization
Trust & Safety 21 / 25

Supports --dry-run transaction previews and explicit prefix isolation (-p), though missing -y will prompt interactively.

  • --dry-run --json previews package changes before applying
Setup & Portability 14 / 15

Single static C++ binary with zero Python prerequisite, available via Homebrew and official tarballs across macOS, Linux, and Windows.

  • Static binary distributed via brew install micromamba and GitHub releases
Utility & Efficiency 14 / 15

C++ libsolv solver resolves complex native/scientific stacks dramatically faster than conda.

  • Fast C++ libsolv dependency solver without Python startup cost
Maintenance & Lineage 8 / 10

Official mamba-org/mamba project under BSD-3-Clause license.

  • Maintained by mamba-org/mamba
Docs & Verifiability 9 / 10

Detailed CLI documentation on Read the Docs and thorough --help flags.

  • Official Micromamba user guide at mamba.readthedocs.io

Security, Auth & Guardrails

Auth Modes
No Auth Config File Env API Key
Credential Storage

Public channels need no auth; private channel tokens are read from ~/.condarc / .mambarc or MAMBA_TOKEN / CONDA_TOKEN env vars.

Side Effects
Read-Only Local Write
Cost & Quotas

BSD-3-Clause open-source CLI; free to use.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Micromamba Agent Rules
- Pass `--json` and `--dry-run` before mutating environments with `install` or `remove`.
- Use `-y` (`--yes`) and `micromamba run -p <prefix> -- <cmd>` instead of shell `activate` hooks.

Agent-Ready Command Recipes

Safe Read-Only Queries

List environment packages with selected JSON fields
micromamba list -n base --json --fields name,version,build,channel

Emits installed package metadata as JSON filtered to the requested fields.

Preview environment install without mutating disk
micromamba install -n myenv --dry-run --json numpy

Simulates Conda dependency resolution and outputs the planned transaction in JSON.

Controlled Writes & Previews

Create an isolated environment non-interactively
micromamba create -y -p ./.venv-conda python=3.12 -c conda-forge

Creates a project-local Conda prefix without interactive confirmation prompts.

Strengths for Agents

  • + Native --json, --fields, --dry-run, and -y support across core Conda workflows.
  • + Single static C++ binary works without any pre-installed Python or Conda base.
  • + micromamba run bypasses fragile shell activation hooks in automated shells.

Caveats & Pitfalls

  • ! Mutating commands prompt for confirmation unless -y / --yes is explicitly passed.
  • ! Does not natively manage pyproject.toml/PyPI lockfiles like pixi or uv.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI