maki - the efficient coder (AI agent)

25 points by msangi


sloane

nitpicking, but i think one of the examples is wrong/nonsense?

cfg, meta = await asyncio.gather(
    read(path='Cargo.toml'),
    bash(command='cargo metadata')
)
deps = json.loads(meta)

used = set(re.findall(
    r'use (\w+)::', cfg
))
declared = {
    p['name']
    for p in deps['packages']
}

stale = declared - used
for s in sorted(stale):
    print(s)

Cargo.toml would also give you only declared dependencies, and that regex wouldn’t match anything because the cargo manifest doesn’t use that syntax. I assume they meant to… read all the Rust source files in the repo? use a glob? run grep?

sy

I love it! I'm currently trying to find out if I can change the effort on OpenAI? I can change the model with /model but is there a way to select between XHIGH and HIGH ?

(sorry for removed comment I thought I posted 4 times but it was a glitch)

radio

This looks pretty great, but I don't understand the sandboxed Python.

First: how did you manage to run Python inside Rust in a sandboxed environment? That looks hard.

Second: what is it good for in practice?

sy
Comment removed by author
cohix

Just yesterday I wrote a note on my Phone to experiment building a lightweight agent harness with sandboxing built in. This is awesome, will give it a try.