Skip to main content

AnaxiGraph

AnaxiGraph helps people and coding agents understand a codebase, choose useful architectural improvements, and keep later changes manageable.

It combines a compact code graph with concise module explanations, focused architectural and pattern reviews, implementation-blind Fresh Eyes designs, and CI/CD guidance. Use the module table and dependency views yourself, or connect an agent through MCP. Both use the same saved understanding.

The 1.0 line replaces the legacy 0.9.x implementation. It parses Python/PYI; JavaScript/TypeScript files are inventoried without parsed code relationships. See the upgrade guide for CLI, MCP and state changes, and check the release record.

Start with uv

With uv and Python 3.11 or newer, run the PyPI package:

uvx --from anaxigraph==1.0.0 anaxigraph scan --repo /absolute/path/to/your/repo
uvx --from anaxigraph==1.0.0 anaxigraph serve --repo /absolute/path/to/your/repo

Open http://127.0.0.1:8766. The structural map is available after scanning. Start Mapping to add semantic understanding, after authenticating your installed Codex or Claude CLI. The dashboard lets you choose models, reasoning effort and parallel workers. Always give --repo explicitly so the intended checkout is analyzed.

For a persistent command, install once and upgrade when needed:

uv tool install 'anaxigraph>=1.0.0'
anaxigraph scan --repo /absolute/path/to/your/repo
uv tool upgrade anaxigraph

Restart running services after upgrading. Users of 0.9.x should follow the upgrade guide first.

Connect a coding agent

Replace the repository path in your MCP client's configuration:

{
  "mcpServers": {
    "anaxigraph": {
      "command": "uvx",
      "args": [
        "--from", "anaxigraph==1.0.0", "anaxigraph",
        "mcp", "--repo", "/absolute/path/to/your/repo"
      ]
    }
  }
}

A running dashboard also serves MCP at http://127.0.0.1:8766/mcp. Verify that the agent can call scan and prepare_change; some clients require explicit authorization for MCP tools. See connection and remote-access instructions.

When Use AnaxiGraph to
First use or a fresh checkout Scan and run Mapping. Reuse compatible records carried through Git.
Each substantial coding task Prepare the change, inspect relevant owners/contracts, then assess the plan.
After editing Scan again, run appropriate project checks, and validate against the original task baseline.
A completed feature or meaningful refactor Run Patterns to look for better boundaries, packages, tests and applicable patterns.
A milestone, architectural change, or weekly on an active project Run Fresh Eyes for three alternative designs based on functionality.
Component, shared-build or pipeline changes Review CI/CD and update the declared check policy where needed.

Mapping refreshes changed understanding; compatible unchanged analyses are reused. Patterns includes architecture scouts and CI/CD review; Fresh Eyes is separate. Recommendations are proposals to investigate, while project checks establish whether the implementation works. The usage guide includes an AGENTS.md instruction block and details on preparing, assessing and validating changes.

Carry the understanding with your code

Completed workflows export portable understanding to anaxigraph/record.json. Commit that folder to share compatible analyses between development machines and scheduled cloud jobs. Keep the local .anaxigraph-v2/ cache out of Git. Ordinary structural scans do not publish a record; use anaxigraph export --repo /absolute/path/to/your/repo after manual analysis submissions.

Legacy 0.9.x records are not imported automatically. Back up existing state before a new export; see the upgrade guide.

Read further

For source development, clone this repository, run uv sync --locked --extra dev, then uv run pytest, uv run ruff check src tests, uv run mypy and uv run python scripts/quality.py. Use uv run anaxigraph in that checkout; the package commands above need no source clone. Slow checks stay in CI rather than pre-push hooks.

Metadata

Release files for anaxigraph 1.0.0

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

Source distribution (sdist)

Source distribution for anaxigraph 1.0.0
File Size Uploaded Provenance Actions
anaxigraph-1.0.0.tar.gz 299.3 kB With provenance Details for anaxigraph-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 504.6 kB

Release files / anaxigraph-1.0.0.tar.gz

Download URL anaxigraph-1.0.0.tar.gz
Size 299.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c7aeb4bd193a4489d9dbd493ef54b3104b95ac6a3af0cb2c5b941ed1265c1672
BLAKE2b-256 checksum
How to use checksums
9f08331c2522aee52523912003cbaeab564a80e042014319894e01a0692aa211
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 2, 2026.

Transparency log

Release files / anaxigraph-1.0.0-py3-none-any.whl

Download URL anaxigraph-1.0.0-py3-none-any.whl
Size 205.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12095d116938b54f398bc69ff751dbdbe16413f265a7b7e7549da390e9a14db1
BLAKE2b-256 checksum
How to use checksums
2a25abf8c270a6bd89829f3554305f25e5d2282d5ad5ee1b56fe8218d499528e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 2, 2026.

Transparency log

Security for anaxigraph 1.0.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for anaxigraph-1.0.0.tar.gz

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 Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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