Skip to content

For founders

Setting up AI coding agents on your own servers, day by day

Published · 6 min read·

Also in: العربية, Deutsch, Español, Français, 日本語, Português (Brasil), Русский, and 简体中文

A small robot carries a moving box into an open server rack as if moving into a new flat, while a person holds the rack door and a potted plant sits on top.

In short

  • The setup is about five days of plain steps: a machine, your own Claude accounts, up to five repositories, labels, limits that start at $0 and a reviewer agent.
  • Every run gets a 3-hour deadline and an 8 GB memory ceiling. In 1,461 of my runs on an issue, the deadline had to stop one.
  • Your Claude login stays on your machine and stays yours, because Anthropic's terms forbid sharing an account.
  • The first week is read together, because my own first week was mostly fixes.

To set up AI coding agents on company servers, you need one Linux machine you control, your own Claude subscriptions signed in on it, the repositories the agents may touch, rules for which GitHub issues they take, a spending limit that starts at zero, and a second agent that reviews every change before it goes in. Done carefully, that takes about five days, and then we read the first week of real work together. Below is how I plan it when I set up Issuemill for a client, one day at a time.

Issuemill is what I run on my own work: it starts Claude Code, Anthropic's coding agent, on my GitHub issues while I do something else. From 6 November to 1 December 2026 it made 1,654 runs and 859 of its pull requests merged. A pull request is a proposed change to the code, which gets checked before it becomes part of the product.

What do you need before day one?

No technical knowledge. Three things:

  • A machine. Linux, rented or under a desk. One agent run can use all 8 GB of memory I allow it. My system log has a memory record for 1,661 agent processes, planning runs included, and 245 of them used all 8 GB. So a small 8 GB cloud server fits one run at a time and little else. A whole physical server of your own is the comfortable choice: Hetzner's AX42 has 64 GB for €99 a month plus a €49 one-time fee (Hetzner, checked 2026-12-01).
  • Claude subscriptions in your company's name. Max costs $100 a month and Ultra $200 (claude.com/pricing, checked 2026-12-01). Which one you need depends on how much you run, so we start small and watch.
  • A list of repositories, up to five. A repository is one project's code and its history.

Day 1: the machine, and whose Claude login is it?

I install Issuemill and Claude Code on your machine. Then you sign in to Claude yourself, on that machine. I never get a copy of your login, and it never runs on my servers.

That part is Anthropic's rule, not my taste. Anthropic's Consumer Terms say "You also may not make your Account available to anyone else" (Consumer Terms, section 2, checked 2026-12-01). Claude Code's own rules forbid routing requests through a subscription "on behalf of their users" (legal and compliance, checked 2026-12-01). So your subscription runs your work on your machine, and I do the installing.

Then every run gets a fence. On Linux, systemd is the part of the system that starts programs and can attach limits to each one. Each agent run starts inside its own fence:

  • it stops after 3 hours, whatever it is doing;
  • it can use at most 8 GB of memory;
  • it can start at most 4,000 processes (a process is one running program).

In 1,461 runs that worked on an issue, the 3-hour deadline had to stop exactly one. That run was not frozen. It was busy: an agent took 745 separate actions on one issue, like running a command or reading a file, and never decided it was done. No run hit the process limit, and no run was killed for memory. A fence that nobody touches still earns its place on the one night it is needed.

Day 2: which issues may the agents take?

A GitHub issue is a note that says what should change. The agents take issues, so the issues decide what they work on.

Labels are tags on an issue, and Issuemill reads them. p1-critical goes first, then p1-tooling. manual keeps an issue away from the agents until a person removes it, and needs-decision until you answer. Today the engine takes only issues opened by my own GitHub account, so a stranger who writes "please delete the database" on a public repository gets nothing. For your install, I set that to your account before the first run.

On this day we connect your repositories, add the labels, and pick where to start. I start where a bad change costs least: internal tools, the admin pages, tests. Payments and customer data wait.

Day 3: how much may it spend?

Three limits, from the smallest to the widest:

  1. Per run. One run stops at $100. My most expensive run so far came to $39.95. These are API list prices, meaning what the same work would cost if you paid Anthropic for every bit of text the agent reads and writes. I paid with a subscription instead.
  2. Per day. Each group of projects has a daily limit in dollars, and a new group starts at $0. Nothing runs until you raise it, so nobody wakes up to a surprise.
  3. Per week. Each Claude subscription has a weekly quota, Anthropic's allowance of use. When an account reaches it, Anthropic refuses new runs and that account's projects wait until it resets.

I learned the weekly one the hard way. An early rule of mine paused everything at 90% of the quota, and from 20 to 24 November my machine sat idle for about 4.7 days. That pause is gone. Now the only stop of mine is the dollar limit you set. What a merged change costs is a post of its own: what it costs to have AI agents build your software.

If your automatic tests (CI) run on the same machine, Issuemill also waits when the machine is busy: when more than 4 test jobs are queued, or the processor is under heavy load. Since 18 November mine held back new runs 500 times for queued tests and 111 times for load.

Day 4: who checks the work before it goes in?

Another agent, and then your tests.

A separate reviewer agent reads every change and answers "pass" or "needs fix". On this day we write down your team's rules in a file the agents read: how you test, what they must never touch, what a good change looks like. The reviewer holds every change to those rules.

Then a change merges only when three things hold: the reviewer passed that exact version, GitHub shows every check green, and the main version of your code is green too. That last rule came from my own mistake. 54 of my agents' changes merged and left main failing its tests, 21 of them on 13 November alone. Since 18 November, this rule holds every merge while main is failing.

Day 5: what do the first real runs look like?

You write five to ten small issues, the kind you would give a new developer on their first day. We watch them go through on the screens together: what runs now, what each run cost, which change merged. When an agent needs you, its question lands in one place called "Needs you" and your phone gets one push.

Days 6 to 12: why read the first week together?

Because the first week finds what nobody wrote down. Mine was mostly fixing my own setup: 89 changes to the engine (the program that hands issues to the agents and checks their work) in seven days, 37 of them fixes. One example: a missed message from GitHub meant a finished, green change just sat there unmerged.

Your first week will find your own versions. A test that only passes on one developer's laptop. A label nobody uses. An issue written for a person who knows the backstory. We read every merged change and every question, and tune the rules as we go. After that week you get 30 days of email help.

What does the setup cost?

$1,500, fixed, for everything above: installed on your machine with your subscriptions, up to five repositories, labels, limits and reviewer rules tuned, the first week read together, and 30 days of email. The first five customers pay $900. They accept rough edges and tell me what broke, because my own machine is the only one it has run on so far.

You can also do every step yourself. Issuemill is free and open source under the AGPL-3.0 licence (you may use and change it, and changes you share stay open), with every feature, once the source opens. If you would rather I keep running it after the first week, that is the managed service, and how it works week by week is its own post. If you want the setup, tell me about your repositories.

The technical version of all of this, with the real settings, is in running Claude Code unattended on GitHub issues. It is longer, and it has more systemd in it than anyone asked for.

Get the next post by email

A short email when a new post is out or something ships. Confirm once by email, unsubscribe in one click.

All posts