MiMoCode¶
MiMoCode is Xiaomi's coding agent, supported as a first-class citizen in CodeFreedom.
Quick Start¶
# Launch MiMoCode natively
cf r ag mc
# Launch in sandbox
cf r ag mc --sandbox
# Short alias
cf r ag mc
Proxy Integration¶
MiMoCode gets zero-click proxy configuration:
- CodeFreedom detects the running LiteLLM proxy
- Fetches the model list from
/v1/models - Generates
~/.codefreedom/mimo-code/mimocode.jsonwith all proxy models - Sets
MIMOCODE_CONFIGenv var to point at the generated config - MiMoCode loads all proxy models as
codefreedom/<model-id>
No manual configuration needed — just start the proxy and launch.
Sandbox Mode¶
Runs MiMoCode inside an ephemeral Docker container with:
- GPU passthrough (NVIDIA/AMD)
- Isolated
.claudedirectory - Tool containers auto-acquired
- Clean session on every run
Profile Behavior¶
Profiles are loaded from ~/.codefreedom/profiles/mimo-code.yaml.
# List available profiles
cf r ag mc --list-profiles
# Use a specific profile
cf r ag mc --profile production
Shared Infrastructure¶
MiMoCode uses the same CodeFreedom layers as Claude Code:
- Config: Same
~/.codefreedomdirectory structure - Proxy: Same LiteLLM proxy for model routing
- Tools: Same tool registry (Chrome, Web, GitHub)
- Sandbox: Same Docker sandbox launcher
- Profiles: Same profile inheritance model
Differences from Claude Code¶
| Aspect | Claude Code | MiMoCode |
|---|---|---|
| Config file | .claude.json |
mimocode.json |
| Profiles path | profiles/claude-code.yaml |
profiles/mimo-code.yaml |
| Default image | codefreedom:latest |
codefreedom:mimo-code |
| Binary | claude |
mimo |