# Run AI agents on a Linux server and answer them from your iPhone

Your agents work on a server that stays on day and night. You talk to them from your iPhone, wherever you are.

## What you need

- A Linux server with systemd, on x86_64 or aarch64: a cloud server or a computer at home.
- An iPhone or iPad with Claktory from the [App Store](https://apps.apple.com/app/id6837053917). In the EU, use [TestFlight](https://testflight.apple.com/join/kSYkdayX).
- A Claude or ChatGPT plan, or an API key.

## Set it up

1. On the server, run this as your own user:

   ```
   curl -fsSL https://claktory.com/install.sh | bash
   ```

2. Open Claktory on your iPhone, tap **Scan code instead**, and scan the QR code in the server's terminal.

3. Type the 4 digits from your iPhone into the terminal.

4. Sign in with your email on your iPhone, then connect your Claude or ChatGPT plan. Your iPhone passes the sign-in to the server.

5. Allow notifications when your iPhone asks.

The [Linux install guide](https://claktory.com/docs/install-linux) has every step in detail.

## Give your team work

Tell Rivet, your first agent, what you want. Type it, or hold the mic and talk: your server turns what you say into text.

```
Check my website every 5 minutes, and tell me at once if it goes down.
```

Rivet gives the job to an agent, which sets a [monitor](https://claktory.com/docs/monitors) on the server. When the site stops answering, the agent tells you, and your iPhone shows its message as a notification, even when it's locked.

## What you get

- Your agents keep working while your laptop sleeps and your phone is in your pocket.
- When an agent needs a decision, tap its notification to read the request, then answer or approve.
- Send your agents photos and files straight from your phone.
- Add your Mac later: click **Use a Claktory on another computer** and paste a code from `factoryd pair`.

---

From https://claktory.com/use/linux-server-iphone

Claktory is made by Copium Labs Ltd, company number 15778277, registered in England and Wales. Registered office: 167-169 Great Portland Street, Fifth Floor, London W1W 5PF.

Apple, the Apple logo, App Store, iPhone, iPad, Mac, macOS and TestFlight are trademarks of Apple Inc., registered in the U.S. and other countries and regions.
