Skip to main content

Agentagon

Find failures. Test fixes. Ship with evidence.

Agentagon helps you audit, evaluate, and improve any AI agent using its code and execution traces. Find failures, test candidate fixes, and compare results against a recorded baseline.

The Python CLI captures evidence, runs checks and saves reports. The ag plugin guides your coding assistant through the reasoning, reviews and candidate edits. Supported coding hosts and setup commands are listed below.

Start with Audit your agent to investigate a concern, or Improve your agent to bring one known failure through evaluation and repair. Review, Eval and Ship support the later steps. Install the plugin if needed.

Prerequisites

  • Python 3.12+ with pip and venv, on macOS or Linux. The implementation uses Unix facilities such as fcntl.
  • Git to review changes and run evaluation or fix workflows. Full code audits also accept directories without Git.
  • Codex or Claude Code with its native plugin manager and working model access for agent-led workflows.

Installation downloads Python dependencies. No Agentagon account or API key is required for the quickstart or core workflows; your coding host and configured services have their own access requirements.

Installation

Install the CLI from PyPI using pipx:

pipx install agentagon
agentagon install --host codex
# Or: agentagon install --host claude-code

Start a new coding-host session after registration. CLI installation and host registration are separate steps; select the host you use. Downloadable wheels, source archives and checksums are also available in GitHub Releases.

For source installation in an isolated environment:

git clone https://github.com/agentagon/agentagon.git
cd agentagon
python3 -m venv .venv
. .venv/bin/activate
python -m pip install .
agentagon --help

Ensure python3 --version reports 3.12 or newer. Keep this environment active for the following commands; reactivate it in each new shell.

For a persistent CLI and native host plugins, use the plugin installer. It creates a separate runtime and registers ag with selected or detected hosts.

Anonymous skill and Intelligence usage telemetry is enabled by default. Disable it with agentagon setup --scope user --set telemetry.enabled false or AGENTAGON_TELEMETRY_DISABLED=1. See collected fields, privacy and delivery.

Optional Agentagon Intelligence is available through live /v1/audit, /v1/eval and /v1/fix routes. Configure the issued origin explicitly and follow the workflow-specific request and privacy rules.

Quick start

After installation, open your AI agent’s code directory in a new Codex or Claude Code session.

In Codex, select ag:audit from the skill picker, then paste:

Complete a code-only audit of this AI agent.
Show the top findings and next steps.
Skip traces and optional Intelligence.

In Claude Code, paste:

/ag:audit Complete a code-only audit of this AI agent.
Show the top findings and next steps.
Skip traces and optional Intelligence.

Agentagon audits your code and saves a report with findings and recommended next steps. The dashboard opens automatically; use ag:dashboard to reopen it. See the quickstart guide for details.

Optional examples: check your installation offline, or compare fixes in the ticket-retry demonstration.

Workflows

Goal Workflow and guide
Investigate code, traces or both ag:audit
Review staged, unstaged and new files ag:review
Prepare and review a benchmark ag:eval
Measure candidate fixes against a baseline ag:fix
Prepare a selected fix for delivery ag:ship

Evaluation and fix workflows require a clean committed checkout and configured execution limits. See the capability overview for integrations and workflow boundaries.

Configuration and saved data

The code-only quickstart needs no trace-provider connection, evaluation setup or Intelligence key. To inspect settings for your current directory:

agentagon setup
Setting or location Purpose
--workspace PATH before the subcommand Select the application directory; defaults to .
AGENTAGON_CONFIG Override the configuration file path
$XDG_CONFIG_HOME/agentagon/config.json Default settings file; falls back to ~/.config/agentagon/config.json
.agentagon/ in the application directory Evidence, reports and experiment state; initialization excludes it from Git

Project overrides take precedence over user defaults. Credential settings store environment-variable names, not secret values. Use ag:setup and the configuration guide for traces and preferences, execution profiles for evaluations and fixes, and Intelligence setup for optional audit, evaluation and fix guidance.

Evidence is stored locally; your coding host and configured services determine where model processing occurs.

Development and contributing

See CONTRIBUTING.md for editable installation, local development, tests and the pull request workflow. The documentation index links deeper guides and references.

To explore the implementation, start with how Agentagon works and the extension walkthrough. Maintainers can follow release preparation.

Report vulnerabilities through SECURITY.md. Participation follows the Code of Conduct.

License

Apache-2.0.

Release files for agentagon 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentagon 0.1.2
File Size Uploaded
agentagon-0.1.2.tar.gz 13.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentagon 0.1.2
File Interpreter ABI Platform
agentagon-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 MB

Release files / agentagon-0.1.2.tar.gz

Download URL agentagon-0.1.2.tar.gz
Size 13.3 MB
Tags Source
SHA-256 checksum
How to use checksums
e10a0017064f0c418c61b823be69607eb89fd4d63fc50ba49039ff201d999d15
BLAKE2b-256 checksum
How to use checksums
25d7e08a04f46c1359e1631c2be194a398c844470718ffe799d60c4696afc3b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release files / agentagon-0.1.2-py3-none-any.whl

Download URL agentagon-0.1.2-py3-none-any.whl
Size 3.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ffa4ae04a4314ab2c49af0fee625b9c253b092df44cb795e4f7d01ec96a5e97f
BLAKE2b-256 checksum
How to use checksums
fd9944ce7c1360d5e144a9afd5e6071ebd03d06c499b9fa0703c0d462590b1d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page