← Back to Leaderboard
Ajrswab

jrswab/axe

A Go CLI for running focused AI agents from pipes, hooks, and CI

Engineering Health (Methodology)
A · 87/100
Maintenance Activity
● Updated today
Latest Release
v1.12.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption12/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedCLIMCP
Total Stars
★ 915
24h Growth
+0
7d Growth
+1
Forks
41

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

jrswab/axe Star History (2026-03-02 - 2026-12-03) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +914 in 276d · avg +3/day 966 483 0 2026-03-02: ★ 12026-03-21: ★ 6932026-04-11: ★ 7822026-05-02: ★ 7952026-05-23: ★ 8082026-06-13: ★ 8182026-07-04: ★ 8282026-07-25: ★ 8302026-08-15: ★ 8312026-09-05: ★ 8362026-09-26: ★ 8942026-10-17: ★ 8982026-11-03: ★ 9102026-11-20: ★ 9132026-12-03: ★ 915 ★ 915 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Axe is a run-to-completion Go CLI, not a daemon or scheduler. main.go and cmd/ form the CLI side of the project, and pkg/runner exposes the execution layer to Go callers. axe run resolves an agent's TOML definition, assembles its system prompt, skill, configured files, and any enabled memory, then sends an explicit prompt or piped input to the configured model. Project-local agent discovery takes precedence over global configuration, and --agents-dir can select a directory explicitly.

The module has four direct dependencies: Cobra v1.10.2, BurntSushi TOML v1.6.0, the MCP Go SDK v1.4.1, and golang.org/x/net v0.62.0. LLM requests use the Go standard library. The model can use enabled built-in tools, delegate to configured sub-agents, or invoke tools provided by MCP servers. Axe consumes MCP services rather than exposing the runner itself as an MCP service.

Key Capabilities & Differentiators

Axe supports Anthropic, OpenAI, Ollama, OpenCode, and AWS Bedrock, but request parameters are not portable across providers: reasoning_effort, for example, is forwarded for OpenAI and a specified subset of providers, while Anthropic and Ollama ignore it. Agent configurations expose text, JSON object, and JSON Schema response formats. Separately, --json wraps CLI output with metadata; it is not the switch for schema-constrained model output.

Built-in tools cover workspace file operations, shell execution, URL fetching, and web search. Delegation supports timeouts, parallel execution, and a hard nesting cap of five. max_turns defaults to 50, while the cumulative token cap is unlimited unless configured. The --max-tokens run budget is distinct from params.max_tokens; budget exhaustion returns exit code 4. Optional Markdown memory carries context across runs, and axe gc uses a model to help trim it.

Trade-offs & Limitations

Compared with an interactive coding assistant, Axe is a better fit for bounded tasks whose instructions and input can be checked into a repository or piped from an existing tool. Compared with a workflow engine, it leaves scheduling and cross-job recovery to the caller. Model APIs keep inference hardware off the CLI host but introduce provider costs and data-handling decisions. Local Ollama shifts model sizing and serving operations to your own infrastructure.

The file tools' working-directory restriction is not a general shell sandbox. Host allowlisting and private/reserved-IP blocking apply to URL fetch and web search; they are not a process-wide egress policy. For unattended jobs, especially those ingesting external content, enable only necessary tools, mount inputs read-only where possible, and enforce network and credential boundaries outside the agent. Apache-2.0 covers Axe itself, not the models or third-party services it calls.

Hardware & Deployment Guide

Use a prebuilt Linux, macOS, or Windows binary to avoid a Go toolchain dependency. Building from source or importing pkg/runner requires Go 1.26.11 or later. Host the CLI yourself with provider credentials for remote inference, or point it at a local Ollama endpoint via AXE_OLLAMA_BASE_URL. Running Ollama locally does not make remote MCP servers or web search local.

For Docker, mount agent configuration at /home/axe/.config/axe and persist memory at /home/axe/.local/share/axe if needed. Compose runs Axe as UID 10001 with a read-only root filesystem, dropped capabilities, and no new privileges, but its writable mounts and outbound access remain. The Ollama startup dependency makes standalone docker run the simpler cloud-only path. Release v1.10.0 extracted pkg/runner; v1.12.0 added a pinned API-diff check and scheduled provider-key smoke tests.

Input precedence: A nonblank --prompt silently overrides stdin; otherwise Axe uses stdin, then the built-in default.
Inspection and scripting: --dry-run resolves context without calling the model; --json wraps the result with metadata.
Delegation: Configurable depth, parallel execution, and per-sub-agent timeouts, with a hard nesting limit of five.
Run controls: Cumulative token budgets have a dedicated exit code (4); transient provider failures support fixed, linear, or exponential backoff.
MCP integration: Launch local servers via stdio or connect to remote servers via SSE or streamable HTTP.
Memory: Timestamped Markdown logs provide cross-run context; axe gc performs model-assisted cleanup.
Best For

Teams that want version-controlled, single-purpose agents for diff summaries, commit-message drafts, or log triage within existing scripts, hooks, and CI jobs.

Skip If

You need an interactive IDE assistant, built-in durable scheduling, or a security boundary for untrusted model-driven commands without additional isolation.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedCLIMCP
go install github.com/jrswab/axe@latest

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
axe ★915+1GoApache-2.0A Go CLI for running focused AI agents from pipes, hooks, and CI
Codewhale41.2k+38RustMITRust coding agent with swappable models, sandboxed execution, and turn receipts
gemini-cli109.6k+376TypeScriptApache-2.0A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools
oh-my-pi40.5k+483TypeScriptMITA Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/jrswab/axe.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

jrswab/axe Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about axe

How do I integrate Axe with a script, a Go application, or an MCP server?

Use the CLI for stdin/stdout integration, with --json for a metadata envelope and exit codes to distinguish configuration, provider/network, and token-budget failures. Go applications can import pkg/runner. For tools, Axe acts as an MCP client: it can launch a local stdio server or connect to a remote SSE or streamable HTTP endpoint.

Does Axe need a GPU, and how should I size a local deployment?

When a remote API handles inference, the Axe process does not need a GPU. With Ollama, size the inference host separately: RAM, VRAM, and compute requirements depend on the chosen model, context size, and concurrency, including parallel sub-agents. There is no single hardware minimum for all Axe configurations.

Can my company use Axe commercially and keep its data on premises?

Axe is Apache-2.0 licensed and can be used commercially and self-hosted, subject to the license terms. Model licenses, hosted API terms, and third-party MCP tools are separate. For sensitive workloads, confirm where prompts, context files, and tool data go, and protect the volume that stores memory logs.

When is Axe a better choice than a coding assistant or workflow engine?

Choose Axe over an interactive coding assistant when the task is well-defined, repeatable, and needs to fit an existing script, hook, or CI job. Choose an interactive assistant for iterative work with a human in the loop, or a workflow engine when the system must manage durable execution and scheduling across jobs. Axe's provider retries do not replace workflow-level recovery.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining jrswab/axe? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature jrswab/axe on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare