Show HN: Axe – A 12MB binary that replaces your AI framework
TL;DR Highlight
Define single-purpose LLM agents with TOML config files and wire them together with Unix pipes and git hooks — minimal infrastructure, maximum composability.
Who Should Read
Developers who like Unix philosophy and want to build lightweight LLM agent workflows without heavy frameworks like LangChain or CrewAI.
Core Mechanics
- The pattern: each agent is defined by a TOML file specifying its model, system prompt, input/output format, and available tools.
- Agents communicate via stdin/stdout — making them composable with Unix pipes: `cat issue.txt | agent-analyzer | agent-coder | agent-reviewer`.
- Git hooks (pre-commit, post-commit, etc.) serve as natural trigger points for agent invocation — running linting agents, PR summarizers, or commit message generators automatically.
- This approach intentionally avoids heavyweight orchestration frameworks — the philosophy is that Unix pipes are a better abstraction than framework-specific agent graphs.
- The TOML config makes agents version-controllable, reviewable, and shareable — treating agent definitions as code rather than ephemeral prompts.
Evidence
- The author shared several working TOML agent definitions and example pipe chains for common development workflows.
- HN commenters who valued Unix philosophy were enthusiastic — several shared similar setups they'd built independently.
- Some critiques: complex multi-agent workflows (loops, conditional branching) are awkward in pure pipe-and-filter architectures; you eventually want a proper orchestrator.
- Others noted that TOML + pipes works great for linear pipelines but breaks down for agent workflows that need shared state or complex coordination.
How to Apply
- Start with simple single-purpose agents for tasks you do repeatedly: commit message generation, PR description drafting, issue summarization.
- Define agents in TOML/YAML files checked into your repo — this makes them reviewable, reproducible, and team-shareable.
- Wire agents into git hooks for zero-friction automation: a pre-commit hook that runs a linting agent, a post-merge hook that summarizes what changed.
- Use Unix pipe composition for linear workflows, but switch to a proper orchestration framework if you need loops, conditional logic, or shared state between agents.
Code Example
# TOML Agent configuration example (e.g., commit-writer.toml)
[agent]
name = "commit-writer"
model = "claude-3-5-haiku-20241022"
system = "Given a git diff on stdin, output a single conventional commit message. One line only."
skills = ["core/unix-output.md", "core/be-concise.md", "domain/git.md"]
# CLI usage example
$ git diff --staged | axe run commit-writer
$ git diff --staged | axe run commit-writer | git commit -F -
# bash Agent script approach shared in community comments (direct implementation without Axe)
#!/usr/bin/env bash
# ai-commit-msg: stdin=git diff, stdout=conventional commit message
set -euo pipefail
source "${AGENTS_DIR:-$HOME/.agents}/lib/agent-lib.sh"
SYSTEM=$(load_skills \
core/unix-output.md \
core/be-concise.md \
domain/git.md \
output/plain-text.md)
SYSTEM+='\n\nTask: Given a git diff on stdin, output a single conventional commit message. One line only.'
run_agent "$SYSTEM"Terminology
Related Papers
Show HN: OpenKnowledge – open source AI-first alternative to Obsidian/Notion
Git 기반 동기화와 Claude/Codex/Cursor 연동을 내장한 로컬 우선 마크다운 에디터로, AI 에이전트의 두 번째 뇌(LLM Wiki)로 활용할 수 있는 오픈소스 도구다.
The Unfireable Safety Kernel: Execution-Time AI Alignment for AI Agents and Other Escapable AI Systems
AI 에이전트가 자신의 안전장치를 우회할 수 없도록, 에이전트 프로세스 바깥에 수학적으로 증명된 강제 통제 게이트를 배치하는 아키텍처
RubyLLM: A Ruby framework for all major AI providers
OpenAI, Claude, Gemini 등 주요 AI 프로바이더를 단일 인터페이스로 통합한 Ruby 프레임워크로, Rails 통합과 에이전트 기능까지 지원해 Ruby 개발자가 AI 기능을 빠르게 붙일 수 있다.
Qwen-AgentWorld: Language World Models for General Agents
Alibaba Qwen 팀이 AI 에이전트가 행동 결과를 미리 시뮬레이션할 수 있는 'Language World Model'을 공개했다. 에이전트 훈련과 실행 경로 검증에 새로운 패러다임을 제시하는 연구다.
SHERLOC: Structured Diagnostic Localization for Code Repair Agents
버그 위치만 알려주는 게 아니라 '왜, 어떻게 고쳐야 하는지'까지 진단 리포트를 생성해서 코드 수정 에이전트의 성능을 높이는 training-free 프레임워크
Show HN: peerd – AI agent harness that runs entirely in your browser
백엔드 서버 없이 Chrome/Firefox 확장 프로그램으로만 동작하는 AI 에이전트 실행 환경으로, 브라우저 탭을 직접 조작하고 WASM Linux VM까지 구동할 수 있어 프라이버시와 보안을 동시에 챙길 수 있다.