Raise a Hermes on a free cloud computer: it writes its own WeChat applet
Contents
Raise a Hermes on a free cloud computer: it writes its own WeChat applet
The goal is two-step: first, raise an AI agent that can work on its own in a free cloud computer, and then assign it a difficult job to see how well it can deliver. The result is interesting: the environment ran smoothly, and it actually delivered a complete small program. But let’s talk about the conclusion first. There are more things between code and making money than the code itself.
Stage: InstaBox Free Cloud Computer
Handle the machine first. InstaBox's free machine configuration (verified on the official pricing page): 4 vCPU / 8 GB memory, 16 GB system disk plus a 20 GB persistent disk mounted on /data, the system is Debian 13's Firecracker micro virtual machine, with Docker, desktop and Chromium pre-installed. The restrictions are also clearly written: automatic suspension after 30 minutes of inactivity, maximum run time of 120 minutes (the more you use it, the higher the upper limit will go), and the free version does not have a GPU. The export is a US computer room IP, not a residential IP. Don’t use it to pass it off as home broadband.
I have a little experience in operation: In some network environments, SSH cannot connect to it. It is most stable to use the exec command of the official CLI to operate it. I will do this throughout the whole process.
Protagonist: Hermes Agent
Hermes Agent is Nous Research's open source self-hosted AI agent, MIT protocol, you need to bring your own model key. There is a hard threshold when choosing a machine: it must have at least 2 GB of memory to install, and 1 GB will be directly killed by the system during the installation process - a 1 GB free machine I saw before was excluded in this way. This InstaBox has 8 GB, which is more than enough.
Installation
The official one-line command is installed. The key decision is to place the data directory in home under the persistent disk /data: this machine will be idle and suspended, and will be recycled. Things will not be lost until the persistent disk is placed.
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bashThe model is driven by OpenRouter's free model (nvidia's nemotron-3-ultra free version), and you can try it out at zero cost. After installing it, two things were verified: it answered the questions normally in Chinese, and it also correctly executed a tool call to check the host name - it can speak and operate, and the agent's basic disk is established.
The highlight: send it to make money
The task given to it is: "Develop a small program that can make money", and it is required to propose 3 plans first and choose the most feasible one.
It chose a toolbox applet for programmers and designers called "Toolbox Pro". The reason is also valid: the tool does not require a server, paid API, or content hoarding, and can be run purely locally. What is delivered is a standard WeChat applet structure, with a total of 23 files, and 10 tools are stuffed in it: JSON formatting, Base64 encoding and decoding, color conversion, QR code generation, timestamp conversion, regular testing, Markdown preview, UUID generation, URL encoding and decoding, and image compression, all run locally. The monetization design is to reserve the main advertising space for traffic - dig the hole first, and then receive the ads when there is enough volume.
Acceptance results
I checked item by item: the directory structure is complete, the pages, configurations, and tool modules that the mini program should have are all there; the configuration file can be parsed normally; all JS files have passed the syntax check. As an automatically generated deliverable, the skeleton is qualified.
But two basins of cold water need to be poured on it:
- No real device verification has been done. I don’t have WeChat developer tools at hand, and I haven’t run it on a real machine. Just because the structure is right doesn’t mean it will run fine.
- There are two simplified implementations. QR code and Markdown are simplified versions written by itself. They are not mature libraries. Their effects and compatibility are limited. They must be replaced if they really want to go online.
Cold Water Zone: After writing the code ≠ can make money
This paragraph is the focus of this article. Toolbox Pro is still far from "making money":
- There are thresholds for traffic masters. The activation condition is UV ≥ 1000 in the past 30 days, or cumulative UV ≥ 10000. Without users, even the advertising space cannot be opened. No matter how well reserved it is, it is just a decoration.
- There are also many online procedures. Registering a mini program account, preparing the privacy policy page, and replacing the placeholder icon with a serious one - all are manual tasks and cannot be replaced by it.
- The real difficulty is getting users. When it comes to writing code, the agent can finish it in one task; getting a thousand people to open your mini program is another battle.
An observation by the way: the same box is also running a temporary xray node I built before. After the machine is idle and paused, and then woken up, the node process comes to life on its own without having to manually pull it. This shows that the free box handles the "pause-wake" set quite well.
Summary
- Free box + open source agent + free model, raising a capable AI at zero cost, this chain is open
- But the positioning must be correct: a machine that pauses after being idle for 30 minutes is only suitable for trial play and temporary work, and is not suitable for 24-hour permanent operation. If you really want the agent to be online for a long time, you have to find another machine with more than 2 GB that does not shut down. The cheapest one in the hosting market is about $3.99/month.
- Experience of assigning tasks: The tasks given to the agent must have acceptance criteria (come up with a plan first, then choose one to do, and the structure must be complete). The degree of completion it delivers is obviously higher than "just writing a small program"
- The last old saying: AI has brought the cost of "writing it out" to close to zero, but there is no discount for "being used" for the time being.
加载中…