Run MUIOGO — the UN DESA modelling interface for CLEWs and OG-Core — without the GUI, driven by AI skills: install it, run scenarios, couple it with OG country models, and get analytical outputs on demand.
Works on macOS and Linux. Windows is not supported yet.
Git. If you don't have it:
macOS:
xcode-select --installLinux (Debian/Ubuntu):
sudo apt install gitOpen a terminal (macOS: press Cmd+Space, type Terminal, press Enter) and
run:
git clone https://github.com/EAPD-DRB/MUIOGO-AI.gitIf that says "destination path 'MUIOGO-AI' already exists", you already have a copy here — skip the clone and bring it up to date instead:
cd MUIOGO-AI && git pullOtherwise:
cd MUIOGO-AI./scripts/install.sh --country PHLThis installs MUIOGO, the Philippines example country, and the OG-CLEWS link, and checks that everything works before finishing.
It first asks where everything should live — press Enter to accept the
default (~/muiogoai) or type another folder. The location is permanent, so
pick one outside any git checkout and with a few gigabytes to spare.
(Scripted runs pass --dest instead.)
There is one installation per machine. Running the installer again repairs
or completes the existing one; to start over, run scripts/uninstall.sh
first. The installation is fully self-contained — it never touches, and is
never affected by, any MUIOGO or OG model checkouts you keep for your own
work.
At the end it offers to install the modelling skills for use outside this repository. You can say no and do it later — see below.
The skills teach an AI assistant how to build, calibrate, run, and review these
models. Inside this repository there is nothing to install — open it in
Claude Code or Codex (cd MUIOGO-AI, then claude or codex) and the skills
are already active. Ask for what you want in plain language, for example
"assess the calibration of this CLEWs model" or "run the preflight checks
before I start this solve".
New to this? docs/USING_THE_SKILLS.md walks through three worked examples with the exact prompts to type.
To use them in your own model repositories too:
./scripts/install-skills.shIt asks which assistant you use (Claude Code, Codex, both, or a folder you name) and copies the skills there; restart your assistant afterwards.
See SKILLS.md for the full list and what each one does.
muiogo-ai serve --detachLeave that window open. For the web interface, open http://127.0.0.1:5102 in your browser. Press Ctrl+C in the terminal to stop.
-
"destination path 'MUIOGO-AI' already exists and is not an empty directory" — the folder is already there, usually because the clone was run twice. Nothing is wrong. Check what it is:
git -C MUIOGO-AI remote -v
If that prints
EAPD-DRB/MUIOGO-AI, it is the right thing — carry on withcd MUIOGO-AI && git pulland then the installer. If it prints something else, or nothing at all, move it out of the way (don't delete it — it may be someone's work) and clone again:mv MUIOGO-AI MUIOGO-AI.old
-
"port … is already in use" — add
--port 5103to the command. (The installed runtime uses 5102; 5002 is left for a MUIOGO you run yourself.) -
A message about conda — run
conda deactivateand try again. -
Still stuck? The installer writes logs into the install directory (
~/muiogoaiunless you chose another) — share the newest.logfile when asking for help.
./scripts/uninstall.shIt stops the server and moves the installation aside
(~/muiogoai becomes ~/muiogoai.removed-<timestamp>, with the launcher and
world record tucked inside) — nothing is deleted. Check the moved folder,
then delete it yourself when you are sure. Your own model checkouts, the
shared registry, and any muiogo command you installed yourself are never
touched.
The installer above just runs each project's own installer for you. To do it by hand instead:
-
MUIOGO — follow the install instructions in the MUIOGO README.
-
An OG country model — use the OG-Core universal installer:
curl -fsSL https://raw.githubusercontent.com/PSLmodels/OG-Core/master/scripts/install.sh -o og-install.sh bash og-install.sh --repo og-phl --dest ~/.muiogo/og-models --yes -
ogclews-link — clone it and run its setup:
git clone https://github.com/marcelolafleur/ogclews-link.git cd ogclews-link && ./scripts/setup.sh --og-path ~/.muiogo/og-models/OG-PHL
- Layout:
docs/(scope and design),.agents/skills/(the skills;.claude/skills/holds one symlink each), SKILLS.md (the catalogue),client/(Python client +muiogoCLI),clews/(country catalog),experiments/(studies). - Start with docs/SCOPE.md; install details are in docs/INSTALL_DESIGN.md.
- One hard rule: talk to MUIOGO over HTTP only — never import its backend
code. Process is light: push to
main, branch when you want review.
Apache License 2.0 (LICENSE), same as MUIOGO.