Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary
11–20 of 24 posts
Re: Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary
#12I’m not quite sure why the harness itself needs to be small. Isn’t the system prompt and management of system prompt the bit you want lightweight?
Probably you want all of them to be as simple and small as possible, especially if you want to use it to work on itself. Smaller codebases are (generally) easier to work with.
Re: Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary
#13Two things that cost me the most, curious if they hit you the same way in C++: shelling out to curl and tar for HTTPS and decompression instead of linking them, which saved maybe 15 MB but means those tools have to exist on the host, and staying static, since musl won't dlopen from a static binary at all, so there's no plugin split available as an escape valve.
What's actually in your 1 MB, and did you have to give anything up to stay under it?
Re: Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary
#14I’m not quite sure why the harness itself needs to be small. Isn’t the system prompt and management of system prompt the bit you want lightweight?
Re: Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary
#15Earlier quoted context omitted.
"Why does it need to be large?" should be the question instead.
A harness needs to be good. Being large is annoying, sure, but it's generally not an issue. Unless this one has feature parity with the "large" ones (hint: it doesn't), I don't see any reason to use it only because it's small.
Re: Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary
#16i love the idea, but you also need to maintain it long term: in today's world what is the best practice to do that... do you spin up an agent anytime codex-cli updates and mirror the updates in c++ and push a new release? or idk... set up an automated process that does this on a worker on CF in a sandbox when npm updates @openai/codex?
Re: Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary
#17I’m not quite sure why the harness itself needs to be small. Isn’t the system prompt and management of system prompt the bit you want lightweight?
I think it's nice to have options, but I also don't see the appeal in "sub x mb" (except as codegolf or just for the hacky part, for day to day this does not matter) especially if features are missing or other compromises have been made just for the sake of remaining small.
Re: Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary
#18Earlier quoted context omitted.
A harness needs to be good. Being large is annoying, sure, but it's generally not an issue. Unless this one has feature parity with the "large" ones (hint: it doesn't), I don't see any reason to use it only because it's small.
I ported almost every key feature already tbh. Of course there will always be a compromise, but there is even still margin to add more. Tools, skills, context compaction, it’s all already implemented.
Re: Show HN: MicroCodex Coding Agent – OpenAI/codex reimplemented in C++ <1MB binary
#19Earlier quoted context omitted.
Probably you want all of them to be as simple and small as possible, especially if you want to use it to work on itself. Smaller codebases are (generally) easier to work with.
Sometimes smaller software has the harder codebase.