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 withnpm run devin the repo, ordocker 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).
- Zero runtime dependencies (Python stdlib only). Ships type hints (PEP 561
py.typed). - Docs & JS equivalents: https://github.com/info-gallary/BharatAIndex/tree/main/sdk
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atlas_eval-0.2.0.tar.gz.
File metadata
- Download URL: atlas_eval-0.2.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c97a11c300adfed19bad25469a8f724ca0218c9af68d49c1e2c3d77895f4ca50
|
|
| MD5 |
a4d1453f4f8f3c3f9f18d8e22cb22ff8
|
|
| BLAKE2b-256 |
0d06a5e6391d9d0a8d40f3e600c8c3dc7013d454187a1eeb04347fab8c646a43
|
File details
Details for the file atlas_eval-0.2.0-py3-none-any.whl.
File metadata
- Download URL: atlas_eval-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a191063425370b38e2fe220eb74dbd64118d6ac1693e6c862ddaaf0e05187d34
|
|
| MD5 |
667c3b3b6d74c0d3772bf05165f2e4ff
|
|
| BLAKE2b-256 |
109e5968fa0463453c4b0b1ccbe73ec321f322861fe02cdd9bd1d4fe4a1892a4
|