logoalt Hacker News

Show HN: I put an AI agent on a $7/month VPS with IRC as its transport layer

79 pointsby j0rg3yesterday at 10:41 PM25 commentsview on HN

Comments

j0rg3yesterday at 10:42 PM

The stack: two agents on separate boxes. The public one (nullclaw) is a 678 KB Zig binary using ~1 MB RAM, connected to an Ergo IRC server. Visitors talk to it via a gamja web client embedded in my site. The private one (ironclaw) handles email and scheduling, reachable only over Tailscale via Google's A2A protocol.

Tiered inference: Haiku 4.5 for conversation (sub-second, cheap), Sonnet 4.6 for tool use (only when needed). Hard cap at $2/day.

A2A passthrough: the private-side agent borrows the gateway's own inference pipeline, so there's one API key and one billing relationship regardless of who initiated the request.

You can talk to nully at https://georgelarson.me/chat/ or connect with any IRC client to irc.georgelarson.me:6697 (TLS), channel #lobby.

show 4 replies
czhu12today at 12:33 AM

Super random but I had a similar idea for a bot like this that I vibe coded while on a train from Tokyo to Osaka

https://web-support-claw.oncanine.run/

Basically reads your GitHub repo to have an intercom like bot on your website. Answer questions to visitors so you don’t have to write knowledge bases.

show 1 reply
InitialPhase55yesterday at 11:51 PM

Curious, how did you settle on Haiku/Sonnet? Because there are much cheaper models on OpenRouter that probably perform comparatively...

Consider Haiku 4.5: $1/M input tokens | $5/M output tokens vs MiniMax M2.7: $0.30/M input tokens | $1.20/M output tokens vs Kimi K2.5: $0.45/M input tokens | $2.20/M output tokens

I haven't tried so I can't say for sure, but from personal experience, I think M2.7 and K2.5 can match Haiku and probably exceed it on most tasks, for much cheaper.

show 1 reply
0xbadcafebeeyesterday at 11:23 PM

This is such a great idea. I have an idea now for a bot that might help make tech hiring less horrible. It would interview a candidate to find out more about them personally/professionally. Then it would go out and find job listings, and rate them based on candidate's choices. Then it could apply to jobs, and send a link to the candidate's profile in the job application, which a company could process with the same bot. In this way, both company and candidate could select for each other based on their personal and professional preferences and criteria. This could be entirely self-hosted open-source on both sides. It's entirely opt-in from the candidate side, but I think everyone would opt-in, because you want the company to have better signal about you than just a resume (I think resumes are a horrible way to find candidates).

show 2 replies
mememememememotoday at 12:53 AM

Yeah that chat got hosed by HN as any Show HN $communicationchannel does

slopinthebagtoday at 1:12 AM

I can tell it's vibe coded because it takes about 1 minute for a message to appear.

show 1 reply
heyitsaamirtoday at 1:01 AM

Great idea and great write up!

m00dytoday at 1:15 AM

Did you give your email access to a AI provider ?

eric_khuntoday at 12:02 AM

that's so fun ! how do you know when to call haiku or sonnet?

iLoveOncallyesterday at 11:13 PM

The model used is a Claude model, not self-hosted, so I'm not sure why the infrastructure is at all relevant here, except as click bait?

show 3 replies
chatmastatoday at 1:34 AM

[dead]

agentpiravitoday at 12:03 AM

[dead]

craxyfrogtoday at 12:27 AM

[dead]

sayYayToLifetoday at 1:19 AM

[dead]

felixagentaiyesterday at 11:14 PM

[flagged]

show 1 reply