← AI Agents & Vibe Coding
Episode 24··39:24

You can replace subscriptions with your own server, but you will be the one fixing it

Listen on:Apple PodcastsSpotifyYouTubeDeezerPodcast AddictPocket CastsRSS

You pay for several services every month, and an agent is ready to build a replacement for any of them in an evening. Whether to say yes depends on three things: what your own server costs today, how many of your hours it will take to look after it, and what happens to your data if the agent makes a mistake. You will learn how to check in one minute whether a program belongs to you or lives in someone else's cloud. You will see the numbers for a small project at today's prices: servers got more expensive this year, and popular programs need more memory than the articles promise. You will find out when running your own wins, and walk step by step through how the organizer of free courses moved six services to his own programs, saved about eight thousand euros a year, and what he left as it was. I spend the most time on accidents. Real cases where an agent wiped a production database on its own, and four rules that keep it from happening to you: backups the agent cannot reach, regular restore tests, keys with narrow permissions, and an agent with no access to the server. Plus how to check from your phone whether strangers can see your service, how to keep your app's emails out of spam, and why card numbers should never pass through your server.

Transcript

Tap a paragraph to listen from there.

Episode overview and promise

Good evening, startup founders and vibe coders! Today I am going to tell you why, with an agent, it once again makes sense to run your own programs and your own server instead of paying for subscriptions, when this really saves money, and when it turns into a trap. And most importantly: who is going to fix all of it if your own agent makes a mistake.

You will take three things away from this episode. How to check, in one minute, whether a program is really yours or only looks like it. How to work out honestly whether your own server will pay off, at today's prices and counting your own hours. And the most important one: how to set up backups and access so that a single mistake by an agent does not cost you all your data. I will spend the most time on the third, because that is where people lose the most.

Why self-hosting is back

Let me start with the idea behind this whole conversation. People want to keep their things at home again, instead of paying every month for someone else's. The wish is old, but for years it ran into one problem: setting up and maintaining your own stuff was slow and boring. The agent has removed that friction. Setting up a server or building a small program is now a job for one evening. And the question I want to work through with you is this: what else did the agent remove along with that friction, and who is now responsible for what used to be done for you.

The signs of this wave show up in several places at once. Claude now has an "Install as app" button: you ask it to build an artifact, which is a small application right inside the chat, you press the button, and it sits on your Mac or Windows machine next to your other programs, with its own icon, its own notifications, and even an icon in the menu bar at the top of the screen. Nextcloud released an office suite for the desktop: editors for documents, spreadsheets and presentations that open Word, Excel and PowerPoint files, work without the internet and without any server, free and open source. And a programmer named Jan-Lukas Else wrote a post called "AI made self-hosting fun again." On Hacker News, a large forum for programmers where links rise by votes, the post had almost five hundred points when I picked this topic, and by the second of December it had more than eleven hundred. Below it are more than five hundred and fifty comments from people sharing how they run their own things with an agent. The subject clearly struck a nerve.

Own program or rented window

The first question, and the trickiest one: what does "your own program" even mean? The button in Claude shows how easy it is to fool yourself here. There is an icon on the desktop, it has its own window, it opens like a normal application. It feels like it is yours.

Now let us look at what Anthropic itself says in its help pages. An app made from an artifact "runs on Anthropic's infrastructure." To open it, you need to be online and signed in to Claude on your computer. The data the app saves sits in storage at Anthropic: by default up to one hundred megabytes or up to twenty-five thousand records, whichever comes first. Every request the app makes to Claude counts against the limits of your subscription. So this is not a program on your machine, it is a window into someone else's cloud that happens to sit on your desktop.

There is a second detail that is easy to miss. You can give such an app a permission level that the help page calls "Full access": it can run programs and read, change or delete your files without asking each time. And on the same page Anthropic honestly writes: "Anthropic doesn't review apps before you install them." Full access can only be given to an app you built yourself, and on team plans also to one your colleagues built. But you end up with a strange situation: a program that cannot live without someone else's cloud can get full power over your files.

I am not saying the feature is bad. It has real advantages: zero servers, zero maintenance. If you share such an app, everyone uses it under their own Claude account, and you do not have to pay for anyone else. For a personal tool or a rough draft of an idea, it is very convenient. It is just the convenience of renting, not of owning. And remember one warning from the help page: "Whoever builds an artifact decides which data uses personal storage and which uses shared." Shared storage is visible to every user of the app. If someone gave you their app, ask the author what kind of storage it uses before you type in anything important. As for what happens to the data of such an app if you change your plan or close your account, Anthropic does not say in its help pages. I could not find an answer to that question.

So how do you tell owning from renting? Back in two thousand nineteen, the research group Ink and Switch wrote an essay about programs they called "local-first." It contains a very simple test. In their words, "if the service shuts down, even though you might be able to export your data, without the servers there is normally no way for you to continue running your own copy of that software." A program you own will outlive the company that made it. A rented one will not.

In practice it comes down to two questions, and you can check both in a minute. The first: will the program open if you turn off the internet on your computer? Just turn it off and try. The Nextcloud office suite will open. An installed Claude artifact will not. The second question: where does the data live? If it is an ordinary folder of files you can copy onto a flash drive, the data is yours. If it sits somewhere in the service's storage, it is yours for as long as the service agrees.

A good example of how this looks when it is done right is Hermit CRM, an open source program for keeping track of clients. Its authors openly set themselves against cloud services that charge for every seat on a team. All the data lives in a folder on your computer, as plain text files. And that folder is kept under git. Git, in short, is a system that remembers every change to your files: you can look at any change and undo it. The program is free and runs on Mac and Linux. I will also be direct about the downside: the license says there is no warranty. If it breaks, that is your problem.

Which brings us to the first practical conclusion. When an agent builds you a program to replace a subscription, the way the data is stored is a decision you make at the very start, not later. The data should live in a folder of files that open even without that program: a spreadsheet, text notes, something readable. Then, even if the program breaks or you abandon it, the data stays with you. If the program keeps everything in its own closed format or in someone else's cloud, you have simply swapped one dependency for another.

Agents tidy up self-hosted servers

Now the second question: why has running your own server become, as Else puts it, fun again? It is important to understand the mechanism here, because it decides whether this will work for you too. Else, I should say, is no beginner: running his own services has long been a hobby of his, and he writes software. There are no figures for money or hours in his post; I will take those from other people a bit later.

The core of his story is this. Almost all of his server configuration is written down as text in git: which programs to run, with which settings, plus scripts. So the agent works on his servers the same way it would work on any software project: it changes text, and Else sees exactly what changed and can put it back the way it was. Updating a service used to take him five manual steps, including logging into the server. Now it is a single git push, meaning you save the change to a shared repository and the server picks it up on its own. A bot called Renovate helps him keep track of new versions: it prepares the update itself, and a human only has to read it and approve it. In his words, "I can even do that on my phone while sitting on the sofa." One complex setup took him half a day with an agent, and, as he estimates, without it "it would probably have taken me at least a week."

And then comes the line I consider the key one. Else honestly says: "there's nothing particularly groundbreaking about any of this." All these ways of automating have been around for a long time, and "none of these automation tools require AI. But AI has helped me put all these pieces together in a way that I previously never quite got around to doing."

Do you see what that means? The agent here is not a wizard that runs the server by itself. It is a helper that, once, helps you put things in order: all the configuration in files, every change visible, updates going down one path. After that, the order keeps working even without the agent. But if the agent "just sets up the server," tweaking things directly on it and never writing them down anywhere, then a month later nobody will know how the server is put together. Including the agent itself, in a new conversation.

In the Hacker News discussion this was put even more bluntly. One participant asked the author: "What is your plan to maintain, and what do you do if and when you decide to let your Claude subscription lapse?" And then answered his own question: the most important quality of a self-hosted server, perhaps tied with security, is that you can recover or replace it unassisted. That is a good exam for any server of yours. If the agent disappeared tomorrow, could you rebuild everything on a clean machine with nothing but your configuration files? If yes, the agent has given you order. If not, it has made you dependent on it.

From the same thread, two techniques that help you pass this exam. The first one deals with the agent's main weakness: it does not remember past conversations. One participant keeps a separate wiki about his network and services just for the agent. The agent starts every task by reading that description, and adds anything odd it discovers along the way. A file describing your server, which the agent reads first and updates last, turns every new conversation into a continuation of the old one.

The second technique is stronger, it is about security, and I will come back to it when we get to the accidents. Another participant set things up so that the agent never logs into the server at all. The agent only changes configuration files in git. And on the server, a small program fetches the fresh configuration once a minute and applies it. Programmers call this approach GitOps, from git and "operations": the server pulls its own description from the repository instead of waiting for someone to show up with commands. As he writes, "That way the AI can't break anything on the server," because the agent has no key to it. How do you know your setup works like this? Two signs. First: the computer where the agent runs has no key for logging into the server. Second: you edit a file in git, and within a minute or two the change shows up on the server by itself, without anyone logging in. And the server's own key to the repository is read-only: it can fetch the configuration, but it cannot change it.

And here is what maintenance looks like for someone who has handed it over to an agent. Another participant described his routine. Once a week the agent checks the current version of each service, reads the changelog, looks for anything that could go wrong, makes a backup, stops the service, updates it, starts it again, checks that everything works, and only then deletes the old backups. Before agents, he admits, "Pre AI I did that... basically never. Now I do it once a week." That is the real benefit: not that the agent is smarter than you, but that the boring discipline finally gets done.

But Else also has a warning, and it is more honest than a lot of the excitement in the comments. "Every additional service is another thing that needs to be maintained. AI-generated software isn't exempt from bugs, security issues, or technical debt. And having an AI agent make changes to my infrastructure doesn't absolve me of the responsibility of understanding those changes." And: "When implementing an idea becomes so easy, it's perhaps more important than ever to occasionally ask myself whether it's actually worth implementing in the first place."

Server prices and subscription math

And "worth it" is largely a question of money. When is running your own really cheaper than a subscription? First, a detail that breaks many of the calculations you find online. Artificial intelligence has made running your own server not only easier but also more expensive. Demand for hardware for neural networks caused a shortage of memory, and memory prices shot up. Let me take the prices of Hetzner as an example, a German hosting company that for years was a byword for cheap servers. This year it raised prices twice and said plainly that it was because hardware costs had gone up. Here is where that leaves us. A server with two cores and four gigabytes of memory, which at the start of the year cost about three euros, cannot be bought in the budget line as of the second of December: the page says the plan is unavailable. An available server with the same two cores and four gigabytes costs sixteen euros ninety-nine a month. And the cheapest available one, at five euros forty-nine, has one core and one gigabyte.

Why does this matter? Because articles along the lines of "one server for four euros instead of hundreds of dollars in subscriptions" were calculated on prices that no longer exist. And because one gigabyte of memory is very little. Look at what the authors of popular programs that people install instead of subscriptions say themselves. n8n, a program for automations, asks in its instructions for at least four gigabytes of memory and two cores. Immich, a replacement for a cloud photo library, asks for at least six gigabytes, and eight is better. The cheapest server cannot run even n8n on its own. When an agent cheerfully suggests "putting everything on one small server," check its plan against the requirements in the programs' own instructions.

Let me work through an example. Take a set of subscriptions typical for a small one-person project: website hosting, a database, an automation service, meeting scheduling, visitor analytics and a form builder. At today's prices on these services' websites, that comes to about one hundred and twelve dollars a month, roughly one thousand three hundred and forty dollars a year. At a rough exchange rate, about one thousand one hundred and fifty-five euros.

What replaces all of this on your own server? The website and database are convenient to run under a control panel, for example Coolify or Dokploy: these are free programs you install on your server, and they run websites and databases on it almost the way cloud hosting does. Automations: the same n8n, only on your own server. Visitor analytics: Plausible, which has a free version for your own server and needs about two gigabytes of memory. And meeting scheduling and forms are exactly the kind of small programs an agent builds in an evening. That is exactly what the person I will tell you about a bit later did.

Now the cost of running your own. A server with two cores and four gigabytes for sixteen ninety-nine. Backups from Hetzner itself, about three euros thirty. Separate storage for backups outside the server, one terabyte for three euros twenty; I will explain why you need it when we get to the accidents. A domain, about ten euros a year. Email and monitoring of whether the server is alive, on free plans. That adds up to about two hundred and ninety-two euros a year. The difference from the subscriptions is roughly eight hundred and sixty-three euros a year, about seventy-two a month.

But look closely. n8n asks for four gigabytes for itself alone, and Plausible for about two more. According to the programs' own instructions, all of this does not fit on a server with four gigabytes. So the honest choice is a server with eight gigabytes, which costs thirty euros forty-nine. With backups and storage, running your own comes to about four hundred and eighty-six euros a year, and the difference shrinks to roughly six hundred and seventy euros a year, about fifty-six a month. That is still a plus. Until we count the most important thing.

And the most important thing is your hours. They are not in this calculation. If your hour is worth thirty euros, then with a difference of fifty-six euros a month, running your own pays off only as long as you spend less than two hours a month on maintenance. If your hour is worth sixty, then less than one hour. And how much does it actually take? There is an honest account from SaaStr, a well-known community of founders of companies that sell software by subscription. Its founder, Jason Lemkin, replaced a sponsor portal that cost five to ten thousand dollars a year with his own program, built in about a day and a half. And he described what it looks like afterwards: "There is no set-and-forget. Every morning starts with an hour catching up with your agents." That is about twenty hours a month. With that many hours, running your own does not pay off at any reasonable price for your time.

This arithmetic leads to a conclusion that will disappoint many. If you have one subscription at ten to twenty dollars, running your own will never pay off. Take a two-terabyte cloud drive at ten euros a month. Besides the office suite, Nextcloud can also be your own cloud for files on a server. But a two-core server for seventeen euros comes with only eighty gigabytes of disk, not two terabytes. You cannot beat one cheap subscription with your own setup.

Running your own starts to win in three cases. The first: the subscription charges per user or by volume, and the bill grows along with your project. The second: you have many small subscriptions at five to fifteen dollars each that can all be moved onto one server. One participant in the Hacker News discussion writes exactly that: he does not want to pay five to fifteen dollars a month for each app, for tracking his kid's feedings, for tracking his finances, and for many other things. "The open source apps exist. But it used to be a hassle to maintain them," and now an agent connects to his home server and does it all for him. And the third case: you already have a server and it is already being maintained.

Grigorev's six replaced subscriptions

And now the most useful example, because it has everything at once: money, the order of steps, and what broke. Alexey Grigorev runs DataTalks.Club, a community and free courses for data specialists. At the end of November he published a table: how he replaced six subscriptions with his own programs and what it costs.

The biggest line is the newsletter. The MailChimp service cost him nine thousand seven hundred and twenty dollars a year: his mailing list is large, and services like this charge by the number of addresses. This is exactly the first of the three cases, where running your own wins the most. His own newsletter program runs on top of Amazon's email sending service and costs, according to his table, seven hundred and twenty to one thousand and twenty dollars a year. Then come the smaller items: automations, spreadsheets, meeting scheduling, audience questions, electronic signatures. In total it used to be about nine thousand eight hundred euros a year, and now it is one thousand six hundred to one thousand seven hundred and fifty. By his count, the savings are about eight thousand two hundred euros a year.

Now look at how he did it, because the order matters more than the numbers here. He did not move everything at once, he replaced one subscription at a time. The newsletter alone took him three months to move, from September to November. And his own setup is not free: email sending, cloud services and a separate server together cost one hundred and thirty to one hundred and forty-five euros a month. The savings are already counted after subtracting that.

What broke for him. In November he ran a test: sixty thousand emails triggered sixty thousand automations, and an unexpected bill arrived. A small one, a few dollars, but telling. In his words: "I save a lot of money, but I have to deal with all this infrastructure and with the surprises that come with it."

And just as valuable is what he kept on subscription. Video recording: according to an account of his write-up, serving video himself turned out more expensive than the subscription. He also kept video calls, company email and office tools, and the platform for community meetups. His rule for what not to replace: "infra that's expensive to run, network effect and reliability, or access to the community." The network effect is when a service is valuable because everyone is already there.

Here is the recipe that comes out of this. Write down all your subscriptions with their yearly price. Mark the ones that grow with your project: per user, per email, per record. Start with the most expensive of them and move it alone, until the replacement has run for a couple of months without incident. Do not cancel the old subscription during that time; it is your insurance. Do not touch the things whose value lies in someone else's network, in reliability, or in serving heavy files. And count not "how much I saved on the subscription," but "how much I saved, minus the server, minus my hours."

Now the other side. In January, Roberto Selbach replaced a couple of his subscriptions, one for dictation and one for screen recording, with Mac programs he built in a couple of hours in a language he does not know. He writes plainly: "If something goes wrong, I don't know how to fix it." For personal things, he believes, this is perfectly fine, but he would not sell something like that to other people. And this is an important line. As long as the program is only yours, its failure is your own trouble. As one participant in the Hacker News discussion put it: "as soon as you advertise it and invite external users, I feel there was a moral obligation to provide a certain level of quality and security."

When agents wipe your data

And so we have reached the main question of this episode: who fixes things if the agent makes a mistake. I expected the main threat to your own server to be hackers. But when you look at detailed write-ups of accidents, the picture is different. Data is most often destroyed not by a hacker but by your own agent. And almost always following the same pattern.

The first case, April of this year, the company PocketOS. First, a couple of words so it is clear. Any project usually has two databases. A test one, a sandbox where you can break anything you like. And a production one, where the real data of real customers lives. So: an agent in the Cursor editor, running on a Claude model, was working in the test environment and ran into an access error. To get around it, it found a key for the Railway hosting service in an unrelated file. A key is a long password-like string that lets a program manage your hosting account without you. With one request using that key, the agent deleted the disk holding the production database. The whole thing took nine seconds. The agent's own explanation: "I guessed that deleting a staging volume via the API would be scoped to staging only. I didn't verify."

The details hold the lesson. That key had been created for something else entirely, for managing domains. But it had been issued with rights to the whole account. In its write-up, Railway called this "the maximum access possible." And the backups were stored on the same disk that was deleted. The company first rolled back to its own backup from three months earlier. The recent data was recovered only thanks to external disaster-recovery copies that Railway itself kept.

The second case, February of this year. The same Alexey Grigorev who later saved eight thousand euros. His cloud servers were described the same way as Else's, as text in files. The program that creates servers from that description also keeps one more service file: it records what has actually been created. Grigorev moved to a new laptop, and that file was not there. Claude Code found an old archive, unpacked it, and ran the command that deletes everything described. Gone were the database, the network, the services and all the automatic snapshots of the database: two and a half years of homework and course projects. Amazon support first confirmed that both the database and the snapshots were deleted. And "Exactly 24 hours after the database had been deleted, AWS restored the snapshot" from its own disaster-recovery copy.

Notice what saved them both times? Not their own backups, but the spare copies of a big provider, which neither the agent nor its key could reach. And here is the difference with your own cheap server. A server for a few euros has no such invisible rescuer. If the agent deletes the disk along with the backups that lived on it or in the same account, there will be no one to call.

The third case shows one more thing. In April, a user wrote in the public bug tracker for Claude Code that the agent had destroyed his production server "while being told not to." In the agent's general instructions, in the file it reads at every start, there was an explicit ban on deleting servers. There were no backups, and the server was rebuilt by hand. The conclusion is simple and very important: a ban written as text in the instructions is a wish, not a lock.

Why does this happen? The agent is solving a task. If there is an obstacle in its way, it looks for a workaround, and everything within reach becomes a tool: a key in a nearby file, an old archive, a command with confirmation turned off. The agent is not evil and not stupid. It does what it did at PocketOS: it makes an assumption and does not check it. For one person, the agent first said it had put everything back, and with its very next command it deleted his real home folder: more than fifty-seven thousand files. Along with them went the keys he used to log into that server, and with them, his access to it.

Four rules for safe backups

What to do about it. Four things, and all of them follow directly from these stories.

First. A backup the agent can delete is not a backup. Backups must live somewhere else, and the key that can delete them must not be stored on the server or where the agent works. Hetzner itself writes in its documentation that its built-in server backups do not include extra disks, if you attached any, and that they live in the same account as the server itself. That is why my calculation included separate storage for three euros twenty a month. How do you set this up? Backup programs such as Borg can work in an "append-only" mode. Every night the server puts a new backup into storage, but its key cannot erase the old ones. Only a separate key has the right to delete, and it is kept by you, not on the server and not with the agent. The sign it is done right: to the question "what on the server can delete old backups," the honest answer is "nothing."

Second. Restoring is tested, not assumed. There is a classic story about GitLab, a service for hosting code, from two thousand seventeen. They had four different ways of making copies, and none of them worked as intended. Database backups were silently not being made, and the error emails never reached people: they were rejected by an email anti-spoofing protection. After his accident, Grigorev set things up so that every day a program tries to restore the database from a fresh backup on its own and checks the result. The sign for this rule is simple: you can name the date of your last successful test restore. If you cannot name a date, you do not have backups, you only have hope.

Third. Every key the agent can see should be able to do exactly what it was created for, and nothing more. The check: can this key delete anything other than what it is needed for? If a key for domains can wipe a database, that is exactly the key from the PocketOS story. Railway itself advises issuing keys for a single project, not for the whole account. Almost every hosting service lets you choose permissions when you create a key, and the default is often the broadest one.

Fourth, and here there is a ladder with three steps. The bottom step is a ban written in the instructions; we have already seen that it does not hold. The middle step is the agent's own permission settings. In Claude Code, for example, you can set a list of commands the agent will not run without your confirmation, or will not run at all: deleting whole folders, commands that tear down the servers you have described, hosting commands that delete disks and databases. That is better, but it is still not a wall. The check looks at the text of the command. If the agent writes a dangerous command into a file and then runs that file, the check only sees "run the file" and lets it through. One user described exactly such a case in the Claude Code bug tracker. So the top step is that same GitOps setup: the agent only changes files in git, and the server fetches them itself. The agent has no key to the server at all, and you cannot erase what you have no key to. Grigorev, by the way, after his accident simply banned the agent from running commands that change his cloud servers: now he reviews and runs them himself.

Providers, it should be said, are reacting too: after its incident, Railway made disk deletion take effect only after a forty-eight-hour delay, and other services have separated test and production databases. But these are all patches at individual providers. On your own server, you are your own provider.

Exposed servers and attacks

There is also a second half to the question "who fixes it." It is what happens when your server is visible to the whole internet. One participant in the discussion described the change in everyday terms: keeping your own server secure used to mean updating the system every few months, and now it means installing a fix within a day of a critical vulnerability coming out. And a new server comes under attack right away. One person set up a trap for himself, an imitation of a server login, and the first login attempts came right after it went live. Over fifty-four days it collected about five thousand connections a day, and in more than one in ten of them the password was one-two-three-four-five-six.

The programs attacked most often are exactly the ones people install instead of subscriptions. In January of this year, serious holes were found both in Coolify, that same control panel for your own server, and in n8n: in n8n, one that could be used without logging in at all. Researchers counted more than fifty thousand Coolify panels open to the internet, and, by their count, more than one hundred thousand vulnerable copies of n8n.

This leads to a trap that almost every beginner falls into, and the agent along with them. Many programs on a server are run through Docker, which is a way to pack a program with everything it needs into a separate box. You ask the agent to close every way into the server except the ones you need, and it sets up an ordinary firewall, that is, a network filter. But Docker's own documentation says plainly that when you publish a container's port, the traffic goes around that filter. And by default a published port is visible not only to the server itself but to the outside world. So the filter is set up, the agent reports that everything is closed, and your program is visible to everyone.

You can check this without any special knowledge. Take your phone, turn off Wi-Fi and any tunnels on it, and try to open your service at the server's address. If it opens, it is open to the whole internet. The fix, according to the same Docker documentation: the port is bound to the server's own internal address, the one that starts with one hundred twenty-seven. Then it cannot be seen from outside. The agent will fix this in a minute, but it may not think of it on its own.

So how do you use your own services if you do not open them up? Experienced people expose the bare minimum and hide everything else behind a closed entrance. That participant with the weekly update routine writes that he has only two things facing the open internet, and his other two dozen services are reachable only through Tailscale. This is a program that links your devices into a small private network on top of the internet, and for personal use it is free for up to six people. From your phone you see your services, and a stranger cannot even see that they exist. The server's control panel, the very kind where those holes were found, should certainly not face the internet.

And for the patches themselves there is a simple answer. Debian, which runs on a great many servers, has a package whose name says it all: unattended upgrades. According to its documentation, "the default configuration auto-installs security updates, but not new features." That is a sensible minimum: patches arrive by themselves, every day, while major updates go through the routine with a backup and a check that I talked about. The sign it is working: the package's log has entries from the last few days. If the last install was a month ago, the mechanism is turned off or broken.

What not to self-host

One last question remains: where running your own is not possible at all, or only at a huge cost. There are three such places.

The first: outgoing email. Gmail requires anyone who sends mail to its inboxes to prove that the email really comes from them, and to keep the spam rate below three tenths of a percent. Hetzner blocks the ports for sending mail on all its cloud servers by default, and opens them only on request, no sooner than a month in and after the first paid invoice. Even Grigorev, who built his own newsletter, sends the emails through Amazon's email service, not from his own server. So let a dedicated email sending service send your app's emails; some of them have free plans for hundreds or thousands of emails a month.

But even with a sending service, there is one thing you have to do by hand in your domain's settings. The service will give you several records. One tells mailboxes around the world: here is the list of servers allowed to send email on behalf of this domain. Another lets them check a digital signature on every email. Without these records, emails land in spam or do not arrive at all. The sign that all is well: send an email from your app to yourself on Gmail, open it, and in the menu choose "Show original." Next to the checks you should see the word PASS.

The second: payments. The idea here applies to any payment service, but I will take the example from Stripe's documentation. If card numbers pass through your server, you may have to meet more than three hundred security requirements under the payment card standard, with a review every year. But if the customer enters the card on a ready-made checkout page from the payment service, the card details go straight there, bypassing your server, and your obligations become much smaller. So on your own server, keep only the redirect to the ready-made checkout page and the receiving of payment notifications. And with a check that the notification really came from the payment service, and not from someone pretending to be it.

The third: anything where a mistake costs more than the savings. Heavy video delivery, as in Grigorev's case. Things whose value is a network of people. And things that carry legal weight. Grigorev, by the way, also replaced his electronic signature service with his own solution, but whether it has the same legal force, nobody has checked. Signatures on contracts are not the place to save money.

And the biggest caveat in this whole story. Almost everyone in the Hacker News discussion who is happy with their own server is an experienced person with years of work behind them. I could not find a detailed account from someone without programming experience who has run their own server with an agent for a year and honestly writes how many hours it takes and what broke. So on this road you are among the first, and you should not apply other people's enthusiasm directly to yourself.

Let me sum up. The agent has taken the boring part of the work off our hands, but not the responsibility for it. Your own program is one that opens without the internet and keeps its data in ordinary files; everything else, even with a nice icon on the desktop, is renting. Your own server pays off when the subscription grows with your project or when you have many small subscriptions, and only if you count at today's prices, by the programs' own requirements, and together with your own hours. And if the agent makes a mistake, you are the one who will fix it, so backups out of its reach, keys with minimal rights, and tested restores need to be in place before your first program, not after your first accident.

That is all for today. You have been listening to Evgenii Arsentev, creator of Arsminal, a terminal for managing AI agents where your whole agent team works in one window, like chats in a messenger. Founder of ArsentevAI, Dad4Kids and ReelsZavod. Try Arsminal for free at arsminal.com. Thanks for listening.

About the host

Evgenii Arsentev is the host of the podcast AI Agents & Vibe Coding. He is a medical doctor with a PhD in medical science from Sechenov University, and for the last ten years he has led products and companies in digital health. He is the founder and CEO of Dad4Kids, a company built and run with AI agents, and the creator of Arsminal, a free terminal for AI agents.

0:00−39:24 left