HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jrswab

no profile record

Submissions

Show HN: Axe – A 12MB binary that replaces your AI framework

github.com
227 points·by jrswab·il y a 4 mois·128 comments

Show HN: Axe – A CLI for running single-purpose LLM agents

github.com
6 points·by jrswab·il y a 4 mois·3 comments

comments

jrswab
·il y a 4 mois·discuss
Yes, I've used it with on OpenAI compatible API from an internal LLM at my job.
jrswab
·il y a 4 mois·discuss
Sorry, I need to update that. I just added MCP support a day or so ago.
jrswab
·il y a 4 mois·discuss
You don't have all the Claude Code overhead. It only gets what you give it.
jrswab
·il y a 4 mois·discuss
I'm excited to see how this plays out. Keep me updated on x(twitter)
jrswab
·il y a 4 mois·discuss
Love to hear it! Thanks for checking it out and feel free to put up an issue on GitHub if you have any ideas for improvements.
jrswab
·il y a 4 mois·discuss
Yes, I think it will be quite trivial to make a output allow list. That's a great idea!
jrswab
·il y a 4 mois·discuss
I've shared a few flows I use a lot right now in some other comments.
jrswab
·il y a 4 mois·discuss
That's my dream.
jrswab
·il y a 4 mois·discuss
Not yet but it will be easy to add. If you need it can you create an issue in GitHub? I should be able to get that in today.
jrswab
·il y a 4 mois·discuss
> Curious if you’ve experimented with workflows where agents produce artifacts (files, reports, etc.) rather than just returning text.

Yes! I run a ghost blog (a blog that does not use my name) and have axe produce artifacts. The flow is: I send the first agent a text file of my brain dump (normally spoken) which it then searched my note system for related notes, saves it to a file, then passes everything to agent 2 which make that dump a blog draft and saves it to a file, agent 3 then takes that blog draft and cleans it up to how I like it and saves it. from that point I have to take it to publish after reading and making edits myself.
jrswab
·il y a 4 mois·discuss
Thanks! Looks like sgpt is a cool tool. Axe is oriented around automation rather than interaction like sgpt. Instead of asking something you define it once and hook it into a workflow.
jrswab
·il y a 4 mois·discuss
This is not a replacement for either in my opinion. Apps like codex and pi are interactive but ax is non-interactive. You define an agent once and the trigger it however you please.
jrswab
·il y a 4 mois·discuss
I'm happy you brought this up. I've been thinking about this and working on a plan to make it as solid as possible. For now, the best way would be to run each agent in a docker container (there is an example Dockerfile in the repo) so any destructive actions will be contained to the container.

However, this does not help if a person gives access to something like Google Calendar and a prompt tells the LLM to be destructive against that account.
jrswab
·il y a 4 mois·discuss
Thank you for your service.
jrswab
·il y a 4 mois·discuss
I am pretty proud of this one :)
jrswab
·il y a 4 mois·discuss
nooo! lol but thanks, I'll go hunt it down.
jrswab
·il y a 4 mois·discuss
I have a few flows I'm using it for and have a growing list of things I want to automate. Basically, if there is a process that takes a human to do (like creating drafts or running scripts with variable data) I make axe do it.

1. I have a flow where I pass in a youtube video and the first agent calls an api to get the transcript, the second converts that transcript into a blog-like post, and the third uploads that blog-like post to instapaper.

2. Blog post drafting: I talk into my phone's notes app which gets synced via syncthing. The first agent takes that text and looks for notes in my note system for related information, than passes my raw text and notes into the next to draft a blog post, a third agent takes out all the em dashes because I'm tired of taking them out. Once that's all done then I read and edit it to be exactly what I want.
jrswab
·il y a 4 mois·discuss
I've not heard of that before but after looking into it I think they are solving different problems.

Dotprompt is a promt template that lives inside app code to standardize how we write prompts.

Axe is an execution runtime you run from the shell. There's no code to write (unless you want the LLM to run a script). You define the agent in TOML and run with `axe run <agent name> and pipe data into it.
jrswab
·il y a 4 mois·discuss
Exactly! I also made it to chain them together so each agent only gets what it needs to complete its one specific job.
jrswab
·il y a 4 mois·discuss
Thanks for checking it out! And yes the tool is indeed catering to that crowed. It's a need I have and thought others could use it as well.