| ▲ | kgeist a day ago | |
>Tiny ~6mb binary I wonder why it's so large for a program written in Zig. It's basically just a loop that accepts user input, prepares the context, sends it to the LLM, parses the output, invokes the tools, and presents it all in the terminal. Add the built-in prompts and a few checks here and there (like blocking a write tool call before the file has been read first), and I'd expect a truly tiny native agent to be around 200-300 KB max. | ||
| ▲ | miguel_martin 8 minutes ago | parent [-] | |
fwiw, here's 3code which is 1.6MiB written in Nim - https://3code.capocasa.dev/ | ||