AI coding agents can read codebases, execute commands, edit files, run tests, and deploy code autonomously. Until recently, deploying them required a laptop. Not anymore.
What You Need
- An iPhone with Onepilot installed
- A server you can SSH into (any provider — AWS, Hetzner, DigitalOcean, your own hardware)
- An API key for your preferred LLM provider (OpenAI, Anthropic, etc.)
Step 1: Connect to Your Server
Open Onepilot and add your server. Enter the hostname, username, and authentication method. Your credentials are stored in iOS Keychain — hardware-encrypted and never leave your device.
Step 2: Choose Your Agent
Onepilot supports multiple AI agents:
- Claude Code — Anthropic's coding agent. Strong at complex refactoring and architecture decisions.
- Codex — OpenAI's open-source agent. Good at following precise instructions.
- Custom agents — Bring your own setup.
Step 3: Deploy
Select your agent and deploy. Onepilot handles the setup on your server — installing dependencies, configuring the environment, and starting the agent.
Step 4: Give It a Task
Describe what you need in natural language:
- "Fix the failing tests in the auth module"
- "Set up Nginx with SSL for the staging domain"
- "Refactor the API routes to use the new middleware pattern"
- "Investigate why the database queries are slow and optimize them"
Step 5: Monitor and Intervene
Watch the agent work in real-time through the terminal view. You see every command it runs, every file it edits. If something looks wrong, take over — full terminal access means you can type a command at any point.
Real-World Use Cases
On-call at 2 AM: Get paged, deploy a debugging agent from bed. It reads logs, finds the root cause, and proposes a fix before you're fully awake.
Travel day: Push a critical feature from the airport. Deploy an agent to write the implementation, review the diff on your phone, merge and deploy.
Overnight tasks: Deploy an agent before bed to refactor a legacy module. Wake up to a clean PR with tests.
Get Started
Download Onepilot — it's free to get started. Your phone is more powerful than you think.
Need help setting up SSH first? Read our complete SSH from iPhone guide. Or see how Onepilot compares to other tools in our best mobile DevOps tools roundup.