Skip to main content

Evaluate your AI agent or LLM/SLM on the Bharat AI Index / Atlas Agent Arena.

Project description

atlas-eval (Python)

Evaluate your AI agent / LLM on the Bharat AI Index — Atlas Agent Arena.

Requires a running Atlas instance (default http://localhost:3000). Start one with npm run dev in the repo, or docker run -p 3000:3000 ... bharat-ai-index.

Install

pip install atlas-eval           # live on PyPI

Use

from atlas_eval import evaluate_agent, AccuracyEval, PerformanceEval, ReliabilityEval

# whole-agent benchmark (sandboxed tasks, agentic score)
def my_agent(ctx):
    return {"tool": "fs_read", "args": {"path": "invoice_a.txt"}}
report = evaluate_agent(my_agent, base_url="http://localhost:3000")

# code-first evals (Agno-style)
AccuracyEval(agent=lambda q: "New Delhi", input="Capital of India?",
             expected_output="New Delhi").run(print_results=True)
PerformanceEval(func=lambda: my_model("ping"), num_iterations=5).run(print_results=True)
ReliabilityEval(tool_calls=["search"], expected_tool_calls=["search"]).run(print_results=True)

PerformanceEval and ReliabilityEval run fully locally (no server). evaluate_agent and AccuracyEval call the Atlas instance (and a configured judge model for accuracy).

CLI

atlas-eval --version
atlas-eval check --base-url http://localhost:3000   # verify a reachable Atlas instance

What you get back

evaluate_agent returns the full agentic run: agenticScore, successRate, efficiency, toolValidity, safetyPass, and per-task results with trajectories. The eval classes return typed results (AccuracyResult, PerformanceResult, ReliabilityResult).

MIT © Atlas AI Labs

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

atlas_eval-0.3.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

atlas_eval-0.3.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file atlas_eval-0.3.0.tar.gz.

File metadata

  • Download URL: atlas_eval-0.3.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for atlas_eval-0.3.0.tar.gz
Algorithm Hash digest
SHA256 105f7b9011d87ad401877afac72dc2fc7cbcb9497a85c8372cefc8357e0adffc
MD5 047b8f4ae1f32bbe8750e7cabb5fcdec
BLAKE2b-256 bb345db2966307f6c116645e566c5f05e5e323126eaa6f786f89bc079400d6c4

See more details on using hashes here.

File details

Details for the file atlas_eval-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: atlas_eval-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for atlas_eval-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 417d284256b6ef6f33cd51d3684678d099fb0913f6fc300058ba705736df8ad6
MD5 57f495cb163353123f7d17f73a7b05f4
BLAKE2b-256 6fb8f1da893d2336c49fcbf7b65d3476bd7a4247fe3afb2e3451a62a111a91fe

See more details on using hashes here.

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