Forge lets you pair-program with an AI assistant on your iPhone or iPad — without sending your code to a cloud agent or giving the assistant direct write access to your files.
Forge is a local AI development harness for Pythonista on iOS. The assistant writes a plain-text Forge bundle. You choose when to run it. Forge executes it locally and returns a run packet.
The run packet is the source of truth.
Most AI coding tools assume a desktop, a cloud workspace, or direct agent access.
Forge is different:
- local-first
- clipboard-driven
- human-in-the-loop
- packet-audited
- recoverable
- built for Pythonista on iPhone and iPad
The assistant can suggest actions, but Forge only runs what you copy and execute.
If you write code in Pythonista on iOS and want AI help that stays on your device, doesn't auto-execute, and keeps a recoverable audit trail of every change, Forge is for you.
If you're on desktop with Cursor, Aider, or Claude Code, those tools are probably a better fit for your setup.
- The assistant writes a Forge bundle.
- You copy it.
- You run
forge_entry.pyin Pythonista. - Forge runs the bundle locally.
- Forge copies a run packet back to your clipboard.
- You paste the packet back to the assistant.
- The assistant reads the packet and decides the next safe step.
Nothing is confirmed until the packet comes back.
Create a new Pythonista file named:
install_forge.py
Paste in the installer script from this repo and run it.
Then open:
Forge/forge_entry.py
Run it once.
Open this file and paste it into a fresh AI chat:
AI_FIRST_BOOT.txt
That guide teaches the assistant how Forge works, how to stay packet-driven, and how to give you the first safe runnable bundle.
A docs copy also lives at:
docs/AI_FIRST_BOOT.txt
These files are safe starting points:
start_here.py
install_health.py
forge_public_smoke.py
linkos.py
AI_FIRST_BOOT.txt
start_here.py explains what Forge is.
install_health.py checks your install without changing files.
forge_public_smoke.py checks important files and syntax.
linkos.py opens the human-facing LinkOS surface.
Forge also renders a human-facing console surface called LinkOS.
LinkOS helps you understand what happened, where you are, and what to do next. It provides docs, health checks, run views, recovery links, and safe exits.
Forge starts in contained mode.
Contained mode means Forge works inside its own install folder. This is the safest setup for first use.
Some LinkOS buttons may be display-only in contained mode. That is fine. You can still run forge_entry.py manually.
When you want tappable LinkOS links and wider workspace access, run:
install_root_router.py
This creates small launcher files at Pythonista Documents root.
Only enable this deliberately. Root mode gives Forge access to more of your workspace.
Inspect before editing.
Keep bundles small.
Trust the packet.