Readit News logoReadit News
liszper commented on Agent-C: a 4KB AI agent   github.com/bravenewxyz/ag... · Posted by u/liszper
manx · 2 days ago
Similar simplicity but in rust: https://github.com/fdietze/alors
liszper · 2 days ago
Really nice, thanks for sharing!
liszper commented on Agent-C: a 4KB AI agent   github.com/bravenewxyz/ag... · Posted by u/liszper
JAlexoid · 2 days ago
This is not an AI agent, this is just a CLI for openrouter.ai with minor whistles.
liszper · 2 days ago
Agentic AI is when an LLM uses tools. This is a minimal but complete example of that.
liszper commented on Agent-C: a 4KB AI agent   github.com/bravenewxyz/ag... · Posted by u/liszper
keyle · 2 days ago
Love this, old school vibe with a new school trick.

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`.

liszper · 2 days ago
Thank you, fixed that!

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.

liszper commented on Agent-C: a 4KB AI agent   github.com/bravenewxyz/ag... · Posted by u/liszper
fp64 · 2 days ago
Why do you compress the executable? I mean this is a fun part for size limit competitions and malicious activities (upx often gets flagged as suspicious by a lot of anti virus, or at least it used to), but otherwise I do not see any advantage other than added complexity.

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......

liszper · 2 days ago
Yes, it is fun to create small but mighty executables. I intentionally kept everything barebones and hardcoded, because I assumed if you are interested in using Agent-C, you will fork it an make it your own, add whatever is important to you.

This is a demonstration that AI agents can be 4KB and fun.

liszper commented on Agent-C: a 4KB AI agent   github.com/bravenewxyz/ag... · Posted by u/liszper
MrGilbert · 2 days ago
CC0 would be in the spirit of what OP envisioned.

https://creativecommons.org/public-domain/cc0/

liszper · 2 days ago
Updated to CC0!

Deleted Comment

u/liszper

KarmaCake day60August 25, 2025View Original