Live data from Hacker News

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

georgelarson.me

71–80 of 137 posts

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

#71

I actually use IRC in my coding agent Change into rooms to get into different prompts. using it as remote to change any project, continue from anywhere.

Does IRC still have message length limits or was that only in the early versions of the protocol?

I guess you just send newlines as in multiple messages and disable flood protection on the server or whitelist your bot.

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

#72

I actually use IRC in my coding agent Change into rooms to get into different prompts. using it as remote to change any project, continue from anywhere.

Does IRC still have message length limits or was that only in the early versions of the protocol?

RFC 1459 originally stipulated that messages not exceed 512 bytes in length, inclusive of control characters, which meant the actual usable length for message text was less. When the protocol's evolution was re-formalized in 2000 via RFCs 2810-13 the 512-byte limit was kept.

However, most modern IRC implementations support a subset of the IRCv3 protocol extensions which allow up to 8192 bytes for "message tags", i.e. metadata and keep the 512-byte message length limit purely for historical and backwards-compatibility reasons for old clients that don't support the v3 extensions to the protocol.

So the answer, strictly speaking, is yes. IRC does still have message length limits, but practically speaking it's because there's a not-insignificant installed base of legacy clients that will shit their pants if the message lengths exceed that 512-byte limit, rather than anything inherent to the protocol itself.

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

#76

I actually use IRC in my coding agent Change into rooms to get into different prompts. using it as remote to change any project, continue from anywhere.

Does IRC still have message length limits or was that only in the early versions of the protocol?

[flagged]

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

#77
I have a 7$/yr vps 512mb ram which can run this. I have run crush from the charmbracelet team on the vps and all of it just works and I get an AI agent which I can even use with Openrouter free api key to get some free agentic access for free or have it work with the free gemini key :-)

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

#78

For future reference I recommend having another Haiku instance monitor the chat and check if people are up to some shenanigans. You can use ntfy to send yourself an alert. The chat is completely off the rails right now...

[dead]

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

#80

For future reference I recommend having another Haiku instance monitor the chat and check if people are up to some shenanigans. You can use ntfy to send yourself an alert. The chat is completely off the rails right now...

There is probably a much simpler solution. Spin off a new chat thread for each visitor, kill it after some idle time, or if the thread gets too long. There is no reason to allow random people interact if the goal is to have only an "interactive resume"
Post reply on HN