v2.3.0Open source · Built for Termux·Powered by OpenRouter

Plain English in.
Verified code out.

Moon lives in your terminal and works where your code lives. Describe the change — it reads the project, writes the files, runs the tests, and fixes its own mistakes before handing control back.

  • Zero pip dependencies
  • 50+ models, free by default
  • Every change logged & undoable
moon — ~/projects/api session live
model · moon-flash ≈ $0.00 · free tier security · standard
MIT LICENSE✦ANDROID / TERMUX NATIVE✦GIT-AWARE✦YOUR KEYS · YOUR RULES

01LIVE SESSIONS

One sentence.
A verified diff.

Pick a scenario. This is exactly what a Moon session looks like — the same output you get in Termux, no staging.

moon — python -m pytest replaying

Recorded from a real session. Timing compressed; output verbatim.

02CAPABILITIES

The loop, not the demo.

Every capability below ships in the CLI today. No plugins, no waitlist, no magic marketing words.

Natural-language edits

“Add email validation to utils.py” becomes a real, saved file change — not a snippet you paste by hand.

/01

Self-fixing loops

It runs what it wrote, feeds the errors back in, and retries — without you re-prompting it.

/02

Project-aware

Git status, file tree, Gradle and Maven builds. Moon knows what kind of project it is standing in.

/03

Model freedom

Free models by default. Bring OpenAI, Anthropic, Gemini or any OpenRouter key when you want more.

/04

Three security modes

!security low, !security medium or !security high — you choose the blast radius. Every command can require approval.

/05

Nothing disappears

Each write, patch, command and setting lands in a timestamped change log. !undo reverses the last AI change.

/06

03THE LOOP

Observe. Change. Verify.

A single sentence sets off a small, transparent agent loop — you see every step it takes.

  1. 01

    Understand

    Moon reads the relevant files, your MOON.md house rules, git state and the project tree it was already given. No blind guessing.

  2. 02

    Act

    It writes full files or applies focused diffs, then runs only the commands the work needs — with your approval, per your security mode.

  3. 03

    Verify

    Output comes straight back to the model. Failures trigger another pass automatically — green tests end the loop, not your patience.

04WHY NOT JUST CHAT

Chat windows describe.
Moon delivers.

Chat window

  • Shows code you must paste yourself
  • Doesn’t see your project tree or git state
  • Can’t run tests, so “done” is a hope
  • No record of what actually changed

Moon ← this

  • Writes the files, in the repo, with receipts
  • Project-aware prompts with tree, git and MOON.md
  • Verify loop: output feeds back until it passes
  • Timestamped change log with one-command !undo

05COMMAND LINE

Plain English first.
Commands one ! away.

You never have to memorise these to start — but they are all there when muscle memory kicks in.

!statusmodel · security mode · folder · token spend
!folder <dir>focus Moon on one folder of the project
!testrun the project’s own test suite
!changes 25review the last 25 logged actions
!undorevert the most recent AI changes
!modelswitch model mid-session, no restart
!security highsandbox + approve every command
!helpthe full, grouped command list

06ACCOUNTABILITY

Every change
has a receipt.

Moon keeps a central log of writes, patches, deletes, commands and settings. Each entry is named for the exact Paris time it happened, and nothing ever leaves the record.

Read the log format
logs/
log:[26⁄11⁄26]:[19:50:55 Europe⁄Paris]

- type: write
- summary: wrote src/validation.py
- workspace: /sdcard/moon-prj/my-app
- 42 lines

---

- type: command
- summary: python -m pytest -q
- output: 8 passed

07BLAST RADIUS

You hold the keys.

Three modes, one rule: Moon never does more than you told it it may. Switch any time with !sec.

LOW

Move fast

Broad filesystem access — home, /sdcard and storage — with commands running as you. For throwaway repos and experiments.

!security low

MEDIUM · DEFAULT

Sandboxed by default

Reads and writes stay inside your project folder on /sdcard. The sane default for real work. Restart Moon after switching.

!security medium

HIGH

Approve everything

Same sandbox as medium, plus every single shell command waits for your explicit yes. For client work and nervous days.

!security high
0pip packages required
0models via OpenRouter
0security modes
0command to start

08DOWNLOAD

Get Moon.

Source only — Moon is a Python stdlib program, there is nothing to compile and no dependencies to install. Grab the latest release, unzip, ./install.sh. Or pick any version on the versions page.

RECOMMENDED

Download ZIP

The exact v2.3.0 source tree from the git tag. Unzip it anywhere and run the installer.

Download moon-v2.3.0.zip ≈ 230 KB · MIT · source · all versions

OR CLONE

git clone

If you have git (you do, on Termux): clone the latest tag directly.

git clone --branch v2.3.0 --depth 1 \ https://github.com/n7xRqLm4Wk9/moon-test.git All versions & downloads
PlatformStatusHow
Android · TermuxSupportedNative target. ./install.sh handles Python + storage.
LinuxSupportedAny bash. ./install.sh — uses system python3.
macOSUntestedSame bash installer; needs python3 (Xcode CLT or Homebrew). Please report issues.
Windows · Windows TerminalVia WSL / Git BashNo native .exe — run it inside WSL (recommended) or Git Bash from Windows Terminal.
Apple A-Shell · iOSExperimentalNot officially supported. Requires a CPython 3.8+ runtime inside A-Shell; no termux-setup-storage step.

Every unzip, clone and per-platform note: Read the documentation → · All versions →

READY WHEN YOU ARE

Open a terminal.
Say what you need.