Skip to main content

Agentic LLM evaluation pipeline with cache-aware graph execution

Project description

neXa-gauge

neXa-gauge

CI License: MIT Python

Cache-aware LLM evaluation CLI with topology-based execution and branch-level cost estimation.

Install

PyPI (recommended)

pip install nexa-gauge

With Hugging Face adapter support:

pip install "nexa-gauge[huggingface]"

From source (development)

git clone git@github.com:Sardhendu/nexa-gauge.git
cd nexa-gauge
pip install -e .

Quick Start

# set your provider key
export OPENAI_API_KEY="<your-key>"

# inspect CLI
nexagauge --help

# estimate first
nexagauge estimate grounding --input sample.json --limit 5

# run and write reports
nexagauge run eval --input sample.json --limit 5 --output-dir ./report

CLI Overview

  • nexagauge run <target_node> --input <source> [flags]
  • nexagauge estimate <target_node> --input <source> [flags]

Most-used flags:

  • data: --input, --adapter, --split, --start, --end, --limit
  • model routing: --model, --llm-model, --llm-fallback
  • cache: --force, --no-cache, --cache-dir
  • execution: --max-workers, --max-in-flight, --continue-on-error
  • debug: --debug (enables node logs; hides progress bar)
  • output (run): --output-dir

Node Topology

Canonical nodes:

  • scan
  • chunk
  • claims
  • dedup
  • geval_steps
  • relevance
  • grounding
  • redteam
  • geval
  • reference
  • eval
  • report

Typical paths:

  • grounding: scan -> chunk -> claims -> dedup -> grounding
  • relevance: scan -> chunk -> claims -> dedup -> relevance
  • geval: scan -> geval_steps -> geval
  • eval: full graph execution and aggregation

Configuration

See .env.example for environment settings.

Minimum for LLM-backed runs:

  • OPENAI_API_KEY (or alternative provider key)
  • LLM_MODEL (default available)

Per-node overrides are supported:

  • LLM_{NODE}_MODEL
  • LLM_{NODE}_FALLBACK_MODEL
  • LLM_{NODE}_TEMPERATURE

For Maintainers

uv sync
make lint
make test
make ci

Releases are automated with release-please:

  • merge conventional commits into main (feat:, fix:, deps:) to queue a version bump
  • a Release PR is created/updated automatically
  • merging that PR creates a v* tag, which triggers .github/workflows/publish.yml

Build distributions:

uv build

Expected artifacts:

  • dist/nexa_gauge-<version>-py3-none-any.whl
  • dist/nexa_gauge-<version>.tar.gz

Project Standards

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexa_gauge-0.1.2.tar.gz (114.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexa_gauge-0.1.2-py3-none-any.whl (93.9 kB view details)

Uploaded Python 3

File details

Details for the file nexa_gauge-0.1.2.tar.gz.

File metadata

  • Download URL: nexa_gauge-0.1.2.tar.gz
  • Upload date:
  • Size: 114.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nexa_gauge-0.1.2.tar.gz
Algorithm Hash digest
SHA256 97d9884c9d3b705a6ad5ea19e4869fe9238d3a6b7c3c150bfa3f6d14eb137f49
MD5 072496972682f3cbdc5a401b6a1c2ea2
BLAKE2b-256 649539219c6e30b5d66262dc31a54d8de8062409efb05c9e159fe06b28b01a02

See more details on using hashes here.

Provenance

The following attestation bundles were made for nexa_gauge-0.1.2.tar.gz:

Publisher: publish.yml on harneXa/nexa-gauge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nexa_gauge-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nexa_gauge-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 93.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nexa_gauge-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8ed4392cef53f3e917215560a88d709c26138da4c2cac30833fbc4e98cf8a05
MD5 dba0010fded2303b6d229136e0d886c0
BLAKE2b-256 1bf072a525fbe58d39c37711456abe47ee65397bd58d9096c3db80849e67aba3

See more details on using hashes here.

Provenance

The following attestation bundles were made for nexa_gauge-0.1.2-py3-none-any.whl:

Publisher: publish.yml on harneXa/nexa-gauge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page