frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://github.com/jrswab/axe
57•jrswab•2h ago

Comments

jrswab•2h ago
I built Axe because I got tired of every AI tool trying to be a chatbot.

Most frameworks want a long-lived session with a massive context window doing everything at once. That's expensive, slow, and fragile. Good software is small, focused, and composable... AI agents should be too.

Axe treats LLM agents like Unix programs. Each agent is a TOML config with a focused job. Such as code reviewer, log analyzer, commit message writer. You can run them from the CLI, pipe data in, get results out. You can use pipes to chain them together. Or trigger from cron, git hooks, CI.

What Axe is:

- 12MB binary, two dependencies. no framework, no Python, no Docker (unless you want it)

- Stdin piping, something like `git diff | axe run reviewer` just works

- Sub-agent delegation. Where agents call other agents via tool use, depth-limited

- Persistent memory. If you want, agents can remember across runs without you managing state

- MCP support. Axe can connect any MCP server to your agents

- Built-in tools. Such as web_search and url_fetch out of the box

- Multi-provider. Bring what you love to use.. Anthropic, OpenAI, Ollama, or anything in models.dev format

- Path-sandboxed file ops. Keeps agents locked to a working directory

Written in Go. No daemon, no GUI.

What would you automate first?

punkpeye•1h ago
What are some things you've automated using Axe?
jrswab•38m ago
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.

bensyverson•1h ago
It's exciting to see so much experimentation when it comes to form factors for agent orchestration!

The first question that comes to mind is: how do you think about cost control? Putting a ton in a giant context window is expensive, but unintentionally fanning out 10 agents with a slightly smaller context window is even more expensive. The answer might be "well, don't do that," and that certainly maps to the UNIX analogy, where you're given powerful and possibly destructive tools, and it's up to you to construct the workflow carefully. But I'm curious how you would approach budget when using Axe.

jrswab•1h ago
> how you would approach budget when using Axe

Great question and it's something that I've not dig into yet. But I see no problem adding a way to limit LLMs by tokens or something similar to keep the cost for the user within reason.

ufish235•1h ago
Why is this comment an ad?
ForceBru•1h ago
This is the OP promoting their project — makes sense to me
stronglikedan•58m ago
How can it be an ad if it's not selling anything? Seems like a proud parent touting their child to me.
jrswab•37m ago
I am pretty proud of this one :)
zrail•58m ago
It's a Show HN. That's the point.
lovich•24m ago
Because they had an AI write it. Their other comments seem organic but the one you’re responding to does not
zrail•51m ago
Looks pretty interesting!

Tiny note: there's a typo in your repo description.

jrswab•38m ago
nooo! lol but thanks, I'll go hunt it down.
let_rec•15m ago
Is there Gemini support?
dumbfounder•14m ago
Now what we need is a chat interface to develop these config files.
hamandcheese•6m ago
> Each agent is a TOML config with a focused job. Such as code reviewer, log analyzer, commit message writer. You can run them from the CLI, pipe data in, get results out.

I'm a bit skeptical of this approach, at least for building general purpose coding agents. If the agents were humans, it would be absolutely insane to assign such fine-grained responsibilities to multiple people and ask them to collaborate.

armcat•1h ago
Great work! Kind of reminds me of ell (https://github.com/MadcowD/ell), which had this concept of treating prompts as small individual programs and you can pipe them together. Not sure if that particular tool is being maintained anymore, but your Axe tool caters to that audience of small short-lived composable AI agents.
jrswab•58m ago
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.
a1o•1h ago
Is the axe drawing actually a hammer?
fortyseven•1h ago
Sure is. How weird.
hundchenkatze•1h ago
Looks like an axe to me. The cutting edge of the axe is embedded into the surface. And the handle attaches near the back of the head like an axe. Most hammers I've seen the handle attaches in the middle.
jrswab•1h ago
hahaha; this is what I was going for.
jjshoe•50m ago
Just FYI, your handle is on backwards.
parineum•1h ago
There are many different styles of axe and some don't flair out much.

[0]https://inchbyinch.de/wp-content/uploads/2017/08/0400-axe-ty...

[1]https://i.pinimg.com/originals/da/14/80/da148078cc1478ec6b25...

devmor•1h ago
I believe it's actually trying to render a splitting maul, which people often confuse for an axe.
nthypes•1h ago
There is no "session" concept?
jrswab•59m ago
Not yet but is on the short list to implement. What would you need from a session for single purpose agents? I'm seeing it more as a way to track what's been done.
mark_l_watson•1h ago
If I have time I want to try this today because it matches my LLM-based work style, especially when I am using local models: I have command line tools that help me generated large one-shot prompts that I just paste into an Ollama repl - then I check back in a while.

It looks like Axe works the same way: fire off a request and later look at the results.

jrswab•51m ago
Exactly! I also made it to chain them together so each agent only gets what it needs to complete its one specific job.
jedbrooke•1h ago
looks interesting, I agree that chat is not always the right interface for agents, and a LLM boosted cli sometimes feels like the right paradigm (especially for dev related tasks).

how would you say this compares to similar tools like google’s dotprompt? https://google.github.io/dotprompt/getting-started/

jrswab•44m ago
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.

ozgurozkan•1h ago
The Unix-philosophy framing resonates — focused, composable, single-purpose agents are genuinely safer architecturally than monolithic long-lived sessions with massive context windows.

That said, composability introduces its own attack surface. When agents chain together via pipes or tool calls, each handoff is a trust boundary. A compromised upstream output becomes a prompt injection vector for the next agent in the chain.

This is one of the patterns we stress-test at audn.ai (https://audn.ai) — we do adversarial testing of AI agents and MCP tool chains. The depth-limited sub-agent delegation you mention is exactly the kind of structure where multi-step drift and argument injection can cause real damage. A malicious intermediate output can poison a downstream agent's context in ways that are really hard to audit after the fact.

The small binary / minimal deps approach is great for reducing supply chain risk. Have you thought about trust boundaries between agents when piping? Would be curious whether there's a signing or validation layer planned between agent handoffs.

r_lee•1h ago
wow, like 10 posts within 5 minutes, how great! love me some AI slop on HN @dang
hrimfaxi•43m ago
Yeah ive been going and flagging everything until they're banned. Old account too.
jrswab•36m ago
Thank you for your service.
r_lee•35m ago
salute!
Lliora•1h ago
12MB for an "AI framework replacement"? That's either brilliant compression or someone's redefining "framework" to mean "toy model that works on my laptop." Show me the benchmarks on actual workloads, not the readme poetry.
jrswab•1h ago
This is not an LLM but a Binary to run LLMs as single purpose agents that can chain together.
0xbadcafebee•55m ago
Nice. There's another one also written in Go (https://github.com/tbckr/sgpt), but i'll try this one too. I love that open source creates multiple solutions and you can choose the one that fits you best
jrswab•20m ago
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.
TSiege•47m ago
This looks really interesting. I'm curious to learn more about security around this project. There's a small section, but I wonder if there's more to be aware of like prompt injection
jrswab•33m ago
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.

saberience•41m ago
I’m having trouble understanding when/where I would use this? Is this a replacement for pi or codex?
jrswab•23m ago
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.
Orchestrion•35m ago
The Unix-style framing resonates a lot.

One thing I’ve noticed when experimenting with agent pipelines is that the “single-purpose agent” model tends to make both cost control and reasoning easier. Each agent only gets the context it actually needs, which keeps prompts small and behavior easier to predict.

Where it gets interesting is when the pipeline starts producing artifacts instead of just text — reports, logs, generated files, etc. At that point the workflow starts looking less like a chat session and more like a series of composable steps producing intermediate outputs.

That’s where the Unix analogy feels particularly strong: small tools, small contexts, and explicit data flowing between steps.

Curious if you’ve experimented with workflows where agents produce artifacts (files, reports, etc.) rather than just returning text.

jrswab•16m ago
> 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.

Orchestrion•8m ago
That’s a really nice pipeline. The “save to file between steps” pattern seems to appear very naturally once agents start doing multi-stage work.

One thing I’ve noticed when experimenting with similar workflows is that once artifacts start accumulating (drafts, logs, intermediate reports, etc.), you start running into small infrastructure questions pretty quickly:

– where intermediate artifacts live – how later agents reference them – how long they should persist – whether they’re part of the workflow state or just temporary outputs

For small pipelines the filesystem works great, but as the number of steps grows it starts to look more like a little dataflow system than just a sequence of prompts.

Do you usually just keep everything as local files, or have you experimented with something like object storage or a shared artifact layer between agents?

btbuildem•12m ago
I really like seeing the movement away from MCP across the various projects. Here the composition of the new with the old (the ol' unix composability) seems to um very nicely.

OP, what have you used this on in practice, with success?

Show HN: s@: decentralized social networking over static sites

http://satproto.org/
385•remywang•15h ago•181 comments

Show HN: We analyzed 1,573 Claude Code sessions to see how AI agents work

https://github.com/obsessiondb/rudel
85•keks0r•2h ago•53 comments

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

https://github.com/jrswab/axe
57•jrswab•2h ago•49 comments

SHOW HN: A usage circuit breaker for Cloudflare Workers

18•ethan_zhao•2d ago•7 comments

Show HN: Riventa.Dev – AI-native DevOps that acts, not just alerts

https://www.riventa.dev/
2•christopherAs•47m ago•0 comments

Show HN: VaultLeap – USD accounts for founders outside the US

https://vaultleap.com
2•GregReve•57m ago•0 comments

Show HN: A desktop app for managing Claude Code sessions

https://github.com/doctly/switchboard
2•kapitalx•1h ago•1 comments

Show HN: I built a tool that watches webpages and exposes changes as RSS

https://sitespy.app
296•vkuprin•23h ago•75 comments

Show HN: Calyx – Ghostty-Based macOS Terminal with Liquid Glass UI

https://github.com/yuuichieguchi/Calyx
24•yuu1ch13•2h ago•25 comments

Show HN: Klaus – OpenClaw on a VM, batteries included

https://klausai.com/
154•robthompson2018•1d ago•89 comments

Show HN: I built proxy that keeps RAG working while hiding PII

3•rohansx•2h ago•1 comments

Show HN: We wrote a custom microkernel for XR because Android felt too bloated

https://explorexenevaos.vercel.app/
2•ayush_xeneva•2h ago•2 comments

Show HN: Run an Agent Council of LLMs that debate and synthesize answers

https://github.com/JitseLambrichts/MultiMind-AI
3•JitseLambrichts•2h ago•1 comments

Show HN: SmartClip – fix multi-line shell commands before they hit your terminal

https://github.com/akshaydeshraj/smartclip
2•akshaydeshraj•2h ago•0 comments

Show HN: Imgfprint – deterministic image fingerprinting library for Rust

2•bravo1goingdark•2h ago•0 comments

Show HN: Open-source browser for AI agents

https://github.com/theredsix/agent-browser-protocol
136•theredsix•1d ago•47 comments

Show HN: Autoresearch@home

https://www.ensue-network.ai/autoresearch
70•austinbaggio•16h ago•12 comments

Show HN: Lazyagent – One terminal UI for all your coding agents

https://lazyagent.dev/
3•nahime•3h ago•3 comments

Show HN: XLA-based array computing framework for R

https://github.com/r-xla/anvil
10•sebffischer•3d ago•1 comments

Show HN: A context-aware permission guard for Claude Code

https://github.com/manuelschipper/nah/
118•schipperai•16h ago•82 comments

Show HN: AgentBridge – Let AI agents control Classic Mac OS thru a shared folder

https://github.com/SeanFDZ/agentbridge
2•hammer32•3h ago•1 comments

Show HN: Vanilla JavaScript refinery simulator built to explain job to my kids

https://fuelingcuriosity.com/game.html
114•fuelingcurious•23h ago•46 comments

Show HN: Satellite imagery object detection using text prompts

https://www.useful-ai-tools.com/tools/satellite-analysis-demo/
51•eyasu6464•3d ago•19 comments

Show HN: I built an ISP infrastructure emulator from scratch with a custom vBNG

https://aether.saphal.me/dashboard/default
62•saphalpdyl•1d ago•17 comments

Show HN: Elevators.ltd

https://elevators.ltd
4•pkstn•4h ago•3 comments

Show HN: I built a screen recorder with automatic zoom effects

https://rookieclip.com/
4•this-is-shreya•5h ago•7 comments

Show HN: I built Chronoscope, because Google Maps won't let you visit 3400 BCE

https://shiphappens.xyz/chronoscope/
4•tinkeringtechie•5h ago•2 comments

Show HN: Bandmeter: Per-program network usage monitor for Linux, built with GPUI

https://github.com/emamoah/bandmeter
3•emamoah•6h ago•0 comments

Show HN: AI-powered one-click translator for Pokémon GBA ROM hacks

https://github.com/Olcmyk/Meowth-GBA-Translator
4•booffa•8h ago•3 comments

Show HN: Jurassic Park Unix System Kubernetes Viewer

https://github.com/jlandersen/k8s-unix-system
3•jlandersen•8h ago•2 comments