ax is an open-source analytics harness and agent orchestration tool developed by Necmttn. Designed to operate alongside CLI coding assistants like Claude Code, ax collects, ingests, and analyzes coding agent session telemetry to provide visibility into LLM usage, routing efficiency, and operational costs. In day-to-day use, ax acts as both a CLI utility and an agent enhancement plugin. It stores agent session events locally using an embedded DuckDB backend, enabling engineers to inspect interaction traces, identify candidate savings across model tiers, and run retrospective queries on agent spending without relying on cloud-hosted dashboards. It also supports team-level synchronization of custom skills and reviewer agents via local repository configuration. What sets ax apart is its focus on retrospective repricing, prompt/model routing analytics, and team rig sharing. Rather than functioning simply as another text generation interface, ax measures real-world agent execution paths, quantifies optimization opportunities across model routing strategies, and enforces schema and review guardrails locally. ax is available as open-source software under its GitHub repository. It operates entirely on local infrastructure with zero required network calls for its core data querying pipeline.
Tags: agent harness, ai agent, cli, coding agent, developer tools, OpenSource
.ax/skills and .ax/agents) directly across a engineering repository. - Claude Code Plugin Integration — Exposes native plugin actions like ax:setup and ax:retro directly within the Claude Code runtime. - Diagnostic Health Checks — Includes built-in ax doctor tooling to validate ingestion pipelines, schema compatibility, and environment setup. - Routing Tuning Workflows — Automates cost-sorted analysis to identify redirectable spend across interaction classes..ax/ folder. Developers execute ax team sync to activate standard reviewer agents (such as schema checkers) directly into their local agent environments..claude-plugin system to run ax:retro workflows directly in the terminal after long-running refactoring tasks. This identifies schema registration gotchas, CI failure patterns, and command execution traces for review.ax is built for software engineers, tech leads, and platform teams heavily using terminal-based coding agents (such as Claude Code) who need local cost telemetry, routing analysis, and shared team configurations. It is not intended for non-technical users or teams looking for an all-in-one proprietary cloud agent platform.
bash # Standard install script curl -fsSL https://raw.githubusercontent.com/Necmttn/ax/main/install.sh | bash # Or add via the skills CLI for Claude Code npx skills add Necmttn/axbash ax doctor To synchronize project-specific skills and agents into your local environment, execute: bash ax team syncbash # Run retrospective routing analytics ax retro --days=30 # Inspect recent agent session telemetry ax query "SELECT session_id, model, tokens_in, tokens_out, cost_usd FROM sessions ORDER BY timestamp DESC LIMIT 10;"Part of CLI Coding Agents
Categories: AI Coding Agents, Code Assistants, Developer Tools