I've had good success with something along these lines but perhaps a bit more raw: - claude takes a -p option - i have a bunch of tiny scripts, each script is an agent but it only does one tiny task - scripts can be composed in a unix pipeline For example: $ git diff --staged | ai-commit-msg | git commit -F - Where ai-commit-msg is a tiny agent: #!/usr/bin/env bash # ai-commit-msg: stdin=git diff, stdout=conventional…
Show HN: Axe – A 12MB binary that replaces your AI framework
111–120 of 145 posts
Re: Show HN: Axe – A 12MB binary that replaces your AI framework
#112Also, I had to do several refactorings of my agent's constructs and found out that one of them was reinventing stuff producing a plethora of function duplications: e.g. DB connection pools(i had at least four of them simultaneously).
Would AXE require shared state between chained agents? Could it do it if required?
Re: Show HN: Axe – A 12MB binary that replaces your AI framework
#113Anybody looking to do interesting things should instantly ignore any project that mention "persistent memory". It speaks of scope creep or complexity obfuscation.
If a tool wants to include "persistent memory" it needs to write the 3 sentence explanation of how their scratch/notes files are piped around and what it achieves.
Not just claim "persistent memory".
I might even go so far that any project using the terminology "memory" is itself doomed to spend too much time & tokens building scaffolding for abstractions that dont work.
Re: Show HN: Axe – A 12MB binary that replaces your AI framework
#114Disclaimer: I haven't dug into axe enough yet, just going on first impressions.
>No daemon, no GUI.
I love the world we developers live in right now. ;)
>What would you automate first?
In a sense, I have wanted to be able to just add AI to a repo, and treat it like the junior developer it is. Its okay if the junior developer will do literally any stupid thing I tell it to do, because I won't tell it to do stupid things.
So, exactly: refactor this code, implement a shim, produce docs for , construct a build harness, write unit tests, produce a build, diff these codebases, implement this API, do all this on your own branch, and build and test things so that I can review the PR over coffee.
Essentially, three word commands which will encourage the AI to produce better software. Through my repo, so I can just review through the repo.
Okay, that's how I hope things work, now off to actually dig in to axe and give it a try on a few things, thanks very much again ..
Re: Show HN: Axe – A 12MB binary that replaces your AI framework
#115I'm not sure if HN is being flooded with bots or if the majority of people here nowadays lack a sense of simplicity. Anybody looking to do interesting things should instantly ignore any project that mention "persistent memory". It speaks of scope creep or complexity obfuscation. If a tool wants to include "persistent memory" it needs to write the 3 sentence explanation of how their scratch/notes files are piped aroun…
The purpose of scaffolding is to create persistent memories.
>claim "persistent memory"
Just look at it as a build product.
>abstractions that don't work
Look at this as a testing problem.
Re: Show HN: Axe – A 12MB binary that replaces your AI framework
#116Re: Show HN: Axe – A 12MB binary that replaces your AI framework
#117For example, let's say I want to add commit message generation (which I don't think is a great use of LLMs, but it is a practical example) to a repo. I would add the appropriate hook to /.git, but I would also want the agent with its instructions to live inside the repo (perhaps in an `axe` or `agents` directory).
Can Axe load agents from the current folder? Or can that be added?