milhouse
v1.0.4
Published
Milhouse Van Houten - Local CLI + web UI for running autonomous Codex AI agent loops
Downloads
29
Maintainers
Readme
Milhouse Van Houten

Milhouse Van Houten is a chad pair programmer that provides a lightweight web UI for running Codex threads, starting with a quick planning phase and iterating through builds until the job is done. Inspired by a Ralph Wiggum-style autonomous loop, Milhouse focuses on simplicity, approachability, and making experimentation fun and easy to modify.
This repository contains the bare-bones version of Milhouse. It represents the core foundation, with many new features, experiments, and feedback loops currently in the pipeline.
Features
- Web UI for managing Codex runs
- Ralph Wiggum-style autonomous loop system: plan once, then iterate builds until done
- Live logs via Server-Sent Events (SSE)
- Session history with status tracking
- Cross-platform folder picker (Windows, macOS, Linux)
Prerequisites
- Node.js 18+
CODEX_API_KEYset in your environment (optional if your Codex CLI is already authenticated)
Install
npm install -g milhouseQuick Start
Authenticate Codex (either works):
- Set
CODEX_API_KEY, or - Use local Codex auth if your Codex CLI is already authenticated.
Example (PowerShell):
$env:CODEX_API_KEY="..."- Set
Launch the UI:
milhouse uiUsage
Start the Web UI:
milhouse uiThis opens a local web panel at http://127.0.0.1:4173 (falls back to a free port if busy).
CLI Options
milhouse ui [OPTIONS]
Options:
--host <ip> Server host (default: 127.0.0.1)
--port <n>, -p <n> Server port (default: 4173)
--workdir <path>, -w Working directory for Codex (default: current directory)
--state-dir <path> State/logs directory (default: OS user data directory)
--no-open Don't auto-open browser
--help, -h Show helpNote: the UI's folder picker is best-effort. If it fails, you can always paste a path into the Workdir field.
Examples
# Start with default settings
milhouse ui
# Specify a project directory
milhouse ui --workdir /path/to/project
# Use a custom port
milhouse ui --port 8080
# Don't auto-open browser
milhouse ui --no-openHow It Works
- Plan Phase: Enter a goal in the Web UI. Milhouse generates an
IMPLEMENTATION_PLAN.mdwith prioritized tasks. - Build Loop: Milhouse iteratively executes tasks from the plan, updating progress after each iteration.
- Completion: When all tasks are done, the plan is marked
STATUS: DONEand the loop exits.
Web UI Features
- Hero Status: Shows current run status and thread ID
- Controls: Start/stop runs, set goals and max iterations
- Live Logs: Real-time log streaming with auto-scroll
- Artifacts: View plan output, build logs, and implementation plan
- Sessions: History of all runs with status, timestamps, and durations
Development
# Clone the repository
git clone https://github.com/ordinalOS/Milhouse-Van-Houten.git
cd Milhouse-Van-Houten
# Install dependencies
npm install
# Run in development mode
npm run dev -- ui
# Build for production
npm run build
# Run built version
npm run uiEnvironment Variables
CODEX_API_KEY: OpenAI Codex API key (optional if using local Codex auth)MILHOUSE_STATE_DIR: Override default state directoryMILHOUSE_DEFAULT_WORKDIR: Override default working directory
(Legacy env vars MILLHOUSE_STATE_DIR / MILLHOUSE_DEFAULT_WORKDIR are still supported.)
How to Contribute
Thank you for considering contributing to Milhouse! This repository is intentionally open-ended, and we welcome contributions of all kinds — including bug fixes, enhancements, documentation improvements, new loops, unconventional experiments, and wild ideas.
If you have something you want to try, this is the place to do it. Fork the repository, explore freely, and open a pull request when you’re ready. No idea is a bad idea. Creativity encouraged.
MIT License — see LICENSE for details.
