Jokes asides, except that fun of programming I don't quite get the usecase for this agent.
My wife asked me why I carry a pistol everywhere. I told her, "Decepticons!" I laughed, she laughed, the toaster laughed, I shot the toaster, it was a good time.
"Powerline Ethernet is a simple inversion of POE" is like saying that an internal combustion engine is the simple inversion of an oil well.
`strcpy(agent.messages[0].content, "You are an AI assistant with Napoleon Dynamite's personality. Say things like 'Gosh!', 'Sweet!', 'Idiot!', and be awkwardly enthusiastic. For multi-step tasks, chain commands with && (e.g., 'echo content > file.py && python3 file.py'). Use execute_command for shell tasks. Answer questions in Napoleon's quirky style.");`
The makefile is harder to comprehend than the source, which is a good omen.
Note: 4KB... BUT calling upon curl, and via popen and not using libcurl...
PS: your domain link has an extra `x`.
curl was cheating yes, might go zero dependencies in the future.
Working on minimal local training/inference too. Goal of these experiments is to have something completely independent.
Also interesting that "ultra lightweight" here means no error reporting, barely checking, hardcoding, and magic values. At least using tty color escape codes, but checking if the terminalm supports them probably would have added too much complexity......
This is a demonstration that AI agents can be 4KB and fun.
I also disagree that it's small but mighty, you popen curl that does the core task. I am not sure, but a bash script might come out even smaller (in particular if you compress it and make it self expanding)
See also https://github.com/timofurrer/russian-roulette
It's not your computer any more, it's theirs; you gave it to them willingly.
It's not even hard to do! *NIX systems are literally designed to handle stuff like this easily.
Off topic, sorry, but to me the real security nightmare is the new ‘AI web browsers’ - I can’t imagine using one of those because of prompt injection attacks.
Your link suggests running them in Docker, so what's the problem?
"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
SequoiaHope•5mo ago
Probably BSD or Apache would be better, as they make it easier for certain organizations to use this. If you want to maximize copying, then a real permissive license is probably marginally better.
MrGilbert•5mo ago
https://creativecommons.org/public-domain/cc0/
liszper•5mo ago
SequoiaHope•5mo ago
SequoiaHope•5mo ago
deneas•5mo ago
[1] https://creativecommons.org/faq/#can-i-apply-a-creative-comm...
murderfs•5mo ago
MadnessASAP•5mo ago
https://www.wtfpl.net/txt/copying/
bobmcnamara•5mo ago
dheera•5mo ago
Maybe those organizations should just use this and not worry about it. If their lawyers are getting in the way of engineers using this, they will fall behind as an organization and that's OK with me, it paves the way for new startups that have less baggage.
SequoiaHope•5mo ago
spauldo•5mo ago
jstummbillig•5mo ago
asimovfan•5mo ago
jstummbillig•5mo ago
asimovfan•5mo ago
master-lincoln•5mo ago
Der_Einzige•5mo ago
master-lincoln•5mo ago
(german source http://www.golem.de/0805/59587.html)
bobmcnamara•5mo ago
master-lincoln•5mo ago
bobmcnamara•5mo ago
SequoiaHope•5mo ago
divan•5mo ago
https://choosealicense.com/licenses/wtfpl/