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

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.1.tar.gz (111.7 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.1-py3-none-any.whl (91.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexa_gauge-0.1.1.tar.gz
  • Upload date:
  • Size: 111.7 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.1.tar.gz
Algorithm Hash digest
SHA256 1141b3d4698616bf908047c160f350f02b413ff3d343fa719fa197ec0f6a44a7
MD5 b210f41d41ef8118cd42ac37c34acd29
BLAKE2b-256 e462fa1dbc0319ddb8a75216238ac1e2bf3d90f359c544b13ae63e35a8e4f773

See more details on using hashes here.

Provenance

The following attestation bundles were made for nexa_gauge-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: nexa_gauge-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 91.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12f93019f30a357190ea1b56164db44ed4fb9c2b2c8db8ef47ba0bbb2977101f
MD5 943aa0f08b07c01f59c2c44e6f8949a0
BLAKE2b-256 786a46e6dd49d8e0391845ecce500f425fa10e4a173d684e2d7d6f785f56bc7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for nexa_gauge-0.1.1-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