Re:Agent-C: a 4KB AI agent
by JAlexoid on Monday August 25, 2025 @11:37AM
(#45015020)
This is not an AI agent, this is just a CLI for openrouter.ai with minor whistles.
[ Parent
| on HN ]
I thought for a moment that LLM quantization had become a whole lot better :)
Well, it takes output from AI and executes commands, so it fits the definition of an AI agent.
Agentic AI is when an LLM uses tools. This is a minimal but complete example of that.
Re:Agent-C: a 4KB AI agent
by SamInTheShell on Monday August 25, 2025 @03:00PM
(#45017614)
Bro, you gave it all the tools. I wouldn't call this minimal. Throw it in a docker container and call it good. :)
Not even that.
"Agent-C: a 4KB AI agent" - my first thought was: obviously they did not fit any model to that size! They probably just wrote an http client, right? Wrong, they... call curl! Not even use curl API. Well, at least it handles encryption.
Bonus: command injection
OR_KEY="abc' ; rm -rf / ;" ./agent-c