Keep working from anywhere

Your agents keep running on your computer while you're out. Check in, answer them, and start new work from a browser or the nil mobile app.

Download for macOS
Hand this to your agent
Get this nil ready for me to use from my phone.
Guide: https://nil.invalid/guides/work-from-anywhere

First, tell me in a sentence or two what you're about to do. Then ask me about each of these, one at a time, with a suggested default:
- Phone (iPhone or Android)
- Notifications (yes or no)
- Keep this computer awake (yes or no)
Skip any I've answered. Then sum up the plan in three bullets and wait for me to confirm it. My answers override the steps below.
If a wait times out, wait again, up to three times.

Do these steps in order and run each check. If a check fails, stop and tell me what you saw. Don't change any other settings.

1. Check the account: run `nil account status`.
   Check: it shows a signed-in nil.invalid account. If not, run `nil account login`, send me the link and code it prints, and ask me to approve it and claim a handle, then tell you "done". Then run `nil account status` again.

2. Check remote access: run `nil connect status`.
   Check: it shows connected and an https://<handle>.nil.invalid address. If remote access is off, run `nil connect on` and check again.

3. Only if "Keep this computer awake" is yes: run `nil keep-awake enable`, then `nil keep-awake status`.
   Check: it shows Keep Awake enabled. If the command isn't found, run `nil plugin enable keep-awake` and try again.

4. Set up the phone app: tell me to open Settings → Mobile in nil on this computer, install the app for my phone (TestFlight for iPhone, the Android download for Android), choose Add mobile device, and scan the code in the app. If Notifications is yes, tell me to allow them when the app asks. Wait until I say "done", then run `nil push-notifications list`.
   Check: my phone shows up in the list.

Reply with my nil.invalid address (I can also open it in any browser), whether my phone is connected, and whether Keep Awake is on. Remind me that closing a laptop's lid still puts it to sleep.

Steps

  1. 1Turn on nil connect
  2. 2Keep your computer awake
  3. 3Get the nil app on your phone
  4. 4Get notified
1

Turn on nil connect

Your nil gets a private nil.invalid address you can open from any device.

  1. Open Settings → nil connect and choose Sign in to your nil account.
  2. Approve the sign-in on nil.invalid and claim a handle.
  3. Check that your address shows. If it says Remote access is off, choose Turn on.
  4. You can open that address in any browser and use nil from anywhere.
2

Keep your computer awake

Your agents keep working while you're away from the desk.

  1. Open Settings, and under Plugins, choose Keep Awake.
  2. Turn on Prevent idle sleep. Keep All hosts, or choose Specific hosts for the computers that run your agents.

Closing a laptop's lid still puts it to sleep. For agents that never stop, run nil on a desktop or mini PC that stays on.

3

Get the nil app on your phone

Pick up any thread where you left it, answer your agents, or start new work.

  1. Open Settings → Mobile, and choose Join iOS TestFlight or Download Android APK on your phone.
  2. On the same page, choose Add mobile device. It appears once nil connect is on.
  3. In the app, choose Connect with nil connect and scan the code.
4

Get notified

Know when an agent finishes or needs you, even with the app closed.

  1. When the app asks, allow notifications.
  2. Choose what reaches you in Settings → Push notifications.

Troubleshooting

My phone says disconnected while my computer is on
  1. Wait a moment. nil reconnects on its own while the server runs.
  2. Check that the server's computer hasn't gone to sleep, and that Prevent idle sleep is on for it.
  3. On that computer, open Settings → nil connect. If it says Remote access is off, choose Turn on.
My agents stopped while my computer slept
  1. Once the computer is back, open the thread and send a message to pick up where it left off.
  2. To keep it awake, open Settings, choose Keep Awake under Plugins, and turn on Prevent idle sleep. It works on macOS and Windows.
  3. Closing a laptop's lid still puts it to sleep. For agents that run all day, run nil on a computer that stays on.
I don't see Add mobile device
  1. Open Settings → nil connect and sign in to your nil account.
  2. If it says Remote access is off, choose Turn on, and wait for your address to show.
  3. Go back to Settings → Mobile.
A machine shows as disconnected
  1. Check that its computer is on, awake, and online.
  2. In Settings → Machines, open its menu and choose Reconnect.
  3. Run the command it shows on that machine. Its threads and worktrees are kept.
A machine is stuck updating
  1. Machines update themselves to match the server's version.
  2. If an update failed, open its menu in Settings → Machines and choose Retry update.
  3. If it still fails, check the logs from the next question on that machine.
I need nil's logs
  1. In the desktop app, choose View → Server & Daemon Logs.
  2. Otherwise, open the newest logs/server.N.log and logs/host-daemon.N.log in nil's data folder, ~/.nil. Startup errors and crashes are in logs/server-stdio.log and logs/host-daemon-stdio.log.
  3. On a machine you added, look in ~/.nil-machines/<server> instead.

FAQ

Do I need to install anything on my phone?

The nil app for iPhone or Android, from Settings → Mobile. You can also open your nil.invalid address in any browser.

How do my devices connect?
  • The server runs on one computer, usually the first one you set nil up on. It keeps your threads, settings, and history. While it's asleep or off, nothing can reach nil.
  • Machines are the computers that run agents. Each one connects to the server. The server's own computer is a machine too.
  • Apps, like the desktop app, the mobile app, and your nil.invalid address, all open the same server. Your agents run on machines, not in the app you're looking at.
Which of my computers is the server?

Open Settings → Machines. The server's computer has a server badge.

I set up nil on two computers. Why don't they share threads?

Each setup runs its own server. To use one nil everywhere, keep the server on the computer that stays on, and add the other one from Settings → Machines. New threads can then run on either computer.

Does quitting the desktop app stop my agents?

On the server's computer, yes. Agents, automations, and remote access stop until you open it again. On a Mac, closing the window keeps nil running.

Do my terminal sessions show up?

No. nil runs your signed-in agents, like Claude Code and Codex, but it doesn't attach to sessions already open in a terminal. Start the work in nil.

Who can open my nil.invalid links?

Only you, signed in to your nil.invalid account, and devices you've paired. They aren't public, so webhooks and other services can't call them. To shut off access, open Settings → nil connect and choose Turn off, or choose Disconnect on that nil in your nil.invalid dashboard.

Does nil store my traffic?

No. nil connect doesn't store what you send or receive. Like a CDN, it caches public files that are marked cacheable, including ones from shared dev servers, and it logs a request's path when something errors.

Does it cost anything? Can I keep my plan?

nil is free and open source, and nil connect is free. nil runs your agents on the subscriptions or API keys you already have. Machines you add cost what they do now.

Take your agents with you.

Free and open source. Your agents keep running on your computer.

Download for macOSnil runs on macOS, Windows, and Linux