Nathan Hodgson
Library
AutomationsIntermediate6 min readUpdated

Build Your Own Jarvis (Always-On AI Assistant)

Turn a computer that never switches off into a personal assistant that works while you are away, using Claude Code, MCP connectors, a plain text instruction file and a voice layer.

Most AI assistants stop the moment you close the tab. They wait to be asked, then forget everything. A real Jarvis is a computer that stays awake, watches for things to happen and acts on its own. This is the setup I run, and none of it needs a fancy dashboard.

What you need

  • A computer that can stay powered on all day and night. A Mac mini is the common choice because it is small, quiet and cheap to leave running.
  • An agent that runs in the terminal. Claude Code is the one I use.
  • Accounts for the tools you want it to touch, such as your email, calendar, browser and notes.
  • An ElevenLabs account if you want it to talk back, which is optional.

Step 1: Get a machine that never sleeps

The whole thing falls apart if the computer goes to sleep, so this is the part people get wrong first. Any always-on desktop works. Mine is a Mac mini sitting in my office on a wired connection.

  1. Plug the machine in and connect it by ethernet if you can. Wi-Fi drops are the most common reason a background job dies overnight.
  2. On a Mac, open System Settings, then Energy, and turn off automatic sleep. Turn on the option to start up again after a power cut.
  3. Set the machine to log in automatically, otherwise nothing runs after a restart until someone types a password.
  4. Leave it somewhere you can reach it, and add a small battery backup if an hour of downtime would actually bother you.

Step 2: Install the agent

The agent is the part that thinks and takes action. Claude Code runs in the terminal, reads and writes files on the machine, and can be scheduled to run on its own. Install it on the always-on machine, not your laptop.

Claude Code official setup

If you would rather not pay for a frontier model, you can point an agent at a free local model instead. Ollama runs models like Llama and Qwen on your own hardware. You give up some reliability on complicated tool use, so start with whichever matters more to you.

Ollama for local models

Step 3: Connect it to your tools

An agent with no access is just a chat window. Connectors are what let it read your inbox, open a web page, check your calendar or write to your notes. Nearly all of them now use MCP, an open standard that exposes a tool to any agent that speaks it. There are already thousands of these built, so you are mostly picking from a shelf rather than writing code.

Model Context Protocol, official site

Add one connector at a time and test it before adding the next. Give each one the narrowest access that still does the job. Read-only is the right starting point for anything that can send a message or delete something.

Prompt
Use [connected tool] to do [one small, specific task]. Tell me exactly what you accessed and show me the result. Stop before sending any message, submitting any form, spending any money or changing any account setting. If the connection fails, show me the real error instead of guessing.

Step 4: Write the instruction file

This is the step that turns a clever tool into an assistant. You write one plain text file that says what the agent does, when it runs, how to handle each job and when to stop and ask you. The agent reads it at the start of every session, so you stop repeating yourself and it behaves the same way every time.

Claude Code looks for a file called CLAUDE.md in the project folder. Other agents look for AGENTS.md. Both are ordinary text, so you can open them and edit a rule whenever the agent gets something wrong.

Prompt
# What you are
You are my assistant. You run on the office Mac mini and you never stop.

# When you run
- 7am: check email, draft replies to anything that needs one, send me a summary.
- 6pm: pull yesterday's numbers and tell me what moved.
- Anything urgent: message me straight away, do not wait for the next run.

# How you work
- Ask me before spending money, signing anything, emailing someone new or deleting anything.
- Draft, never send, unless I have said that job is yours to finish.
- If a tool breaks, tell me the real error and stop. Do not retry more than twice.
- Keep a log of what you did in LOG.md, newest at the top, with the date.

# What you never touch
- Anything in the folders I have marked private.
- Passwords, card details and API keys. Never put them in a message or a file I might share.

Step 5: Add skills for the jobs you repeat

A skill is a small set of instructions for one job, kept in its own file. Instead of explaining how you want your email answered every time, you write it down once and the agent loads it whenever that job comes up.

Good first skills are the boring things you do every week. Answering the same kind of email. Pulling your numbers together. Writing a first draft in your own voice. Chasing an unpaid invoice.

Prompt
Create a skill file for [job]. Write down the steps I take, the tools you need for each step, what a good result looks like and what should make you stop and ask me. Then walk through it once on a real example and show me the output before you change anything.

Step 6: Give it a voice

This is the optional bit that makes it feel like the film. Pair the agent with speech to text so it hears you, and ElevenLabs so it answers out loud. For talking back and forth, how fast it replies matters far more than how good the voice sounds.

ElevenLabs

Keep it from doing damage

A mistake in a chat window is annoying. A mistake from an agent with your inbox and your calendar can email a client, wipe a file, book the wrong meeting or spend your money. That difference is the main reason people abandon these setups.

  • Start every new job in draft mode. The agent prepares, you press send.
  • Keep permissions narrow. Add write access only after you have watched it read for a while.
  • Make it log everything it does, so you can look back and see what happened while you were asleep.
  • Cap retries. Agents that keep trying a broken tool burn money and make a mess.
  • Keep keys and passwords out of prompts, screenshots and any file you might share with someone else.

What you end up with

A machine in the corner of a room that reads your email before you wake up, keeps your notes tidy, watches your numbers and tells you when something needs you. The dashboard is optional. The real Jarvis is the system running underneath.