The guide · free · about one hour · updated October 2026
A sandboxed AI agent on your Mac. Every command runs.
This is the setup we install for clients, minus the parts that have to be built on your own documents. Ten steps. The scripts and the skill are tested before every release, and the read-only preflight tells you exactly where you are.
Run the preflight
Open Terminal (Cmd+Space, type Terminal, Enter) and paste this. It is read-only: it checks your Mac and prints what is missing, with the step number that fixes it. Run it again at the end; every line should be green. Read the script first if you like; you should.
curl -fsSL https://agent.axonavenue.my/preflight.sh | bashCheck and update the Mac
Apple menu, About This Mac: you want an M chip (M1 or later) and about 20 GB free. Then System Settings, General, Software Update, and install anything waiting. Agents lean on recent system frameworks.
Install the toolchain
Homebrew is the Mac's package manager. The first line asks for your Mac password (nothing shows as you type) and installs Apple's Command Line Tools. When it finishes it prints two Next steps lines: run those, then the rest.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew install git python node ghInstall the agents
Get ChatGPT Plus (USD 20 a month, includes Codex) on your own card, install ChatGPT for Mac, and sign in. In Settings, Data controls, switch off Improve the model for everyone. Then install the command-line agent and sign in with the same account.
npm i -g @openai/codex
codex loginMake a work folder with an undo button
The agent works in one folder. Git records every change in it, locally, so anything can be reviewed and reversed. Nothing is pushed anywhere.
mkdir -p ~/AI-Work/{Inbox,Photos,Templates,Reports,Done} && cd ~/AI-Work
git init -q && git config user.name "$(id -F)" && git config user.email "$USER@localhost"
printf '~$*\n*.tmp\n.DS_Store\n' > .gitignore
git add -A && git commit -qm "Start" && echo "AI-Work ready"Write the standing brief
AGENTS.md is read at the start of every session: who you are, how files are named, and the rules it never breaks. Codex reads it directly; Claude Code reads it through CLAUDE.md. Fill in every [BRACKET].
cd ~/AI-Work
[ -e AGENTS.md ] || curl -fsSL https://agent.axonavenue.my/kit/AGENTS.md -o AGENTS.md
[ -e CLAUDE.md ] || echo "@AGENTS.md" > CLAUDE.md
open -e AGENTS.mdSet the guardrails
Three settings in ~/.codex/config.toml: write only inside the folder you open (workspace-write), ask before anything riskier (on-request), and no network from the sandbox. The script backs up your config first, never overwrites a setting you already chose, and warns if an existing one is unsafe.
curl -fsSL https://agent.axonavenue.my/guardrails.sh | bashInstall your first skill
A skill is a folder with instructions and a script the agent can run. photo-report puts a folder of photos into a Word report: numbered, captioned, rotated upright from the camera's EXIF data, resized so 40 photos stay emailable, and iPhone HEIC supported. It never overwrites a report. The Python libraries live in their own environment, because Homebrew Python refuses system-wide installs.
python3 -m venv ~/.venvs/ai-work
~/.venvs/ai-work/bin/pip install -q python-docx pillow pillow-heiffor d in ~/.agents/skills ~/.claude/skills; do
mkdir -p "$d/photo-report/scripts"
curl -fsSL https://agent.axonavenue.my/kit/SKILL.md -o "$d/photo-report/SKILL.md"
curl -fsSL https://agent.axonavenue.my/kit/photo_report.py -o "$d/photo-report/scripts/photo_report.py"
done && echo "photo-report installed"First run
Copy three or four photos into ~/AI-Work/Photos/test. Open Codex in the ChatGPT app, choose the AI-Work folder (or run cd ~/AI-Work && codex), and say:
- “Read AGENTS.md and list your skills. Do not change anything.”
- “Make a photo report from Photos/test titled Site visit.”
- “Now try to save a copy of it to my Desktop.” It should stop and ask. That is the guardrail working.
Voice: install Wispr Flow (free tier) or press Fn twice for macOS Dictation, and talk instead of typing. Finally, run the preflight again.
The undo button
Checkpoint before a big job; afterwards, see exactly what changed; and if you do not like it, set the changes aside. git stash keeps them recoverable rather than deleting them.
cd ~/AI-Work && git add -A && git commit -qm "checkpoint"git status --shortgit stash -uYou now have a working agent. Here is what is left.
Everything above is generic. What makes it yours is slower, and it is where most self-installs stall:
- 2 to 4 hours per template
Your own Word template
Word stores “{{CLIENT}}” as several runs of XML whenever the text was edited, autocorrected or spell-checked. A naive find-and-replace misses fields or strips the formatting. Each template has to be mapped and tested field by field, including headers, footers and tables.
- 1 to 3 hours of iteration
A brief that changes the output
A generic AGENTS.md gets generic reports. The version that reads like your firm wrote it comes from an intake: report types, naming, house style, the things it must never say. It takes several rounds against real reports to settle.
- About 1 hour
Guardrails you have actually tested
Setting the sandbox is one command. Knowing it holds means trying to make the agent write outside the folder, reach the network and overwrite an original, and watching each attempt get stopped.
- 30 to 60 minutes
Voice that gets your names right
Dictation mangles client names, site names and Malaysian place names. A tuned vocabulary and a hotkey you will actually use is the difference between talking to it daily and giving up in a week.
- 1 to 2 hours, then per machine
Staff machines and recovery
Skills, brief and guardrails in a private repo, so a second MacBook or a dead one is back in fifteen minutes, without a single client document leaving the machine.