Installation
Requirements
Python 3.10 or later
pip or uv package manager
From PyPI
The simplest way to install Toolscore is from PyPI:
pip install tool-scorer
Or using uv (faster):
uv pip install tool-scorer
From Source
To install the latest development version:
git clone https://github.com/yotambraun/Toolscore.git
cd Toolscore
pip install -e .
Development Installation
To install with development dependencies:
pip install -e ".[dev]"
This includes:
pytest - Testing framework
pytest-cov - Coverage reporting
mypy - Type checking
ruff - Linting and formatting
types-click - Type stubs for Click
Optional Dependencies
HTTP Validators
For HTTP side-effect validation:
pip install tool-scorer[http]
LLM-as-a-judge Metrics
For semantic correctness evaluation using OpenAI API:
pip install tool-scorer[llm]
Requires OPENAI_API_KEY environment variable.
LangChain Support
For LangChain agent trace parsing:
pip install tool-scorer[langchain]
All Optional Features
To install all optional dependencies at once:
pip install tool-scorer[all]
Documentation
To build documentation locally:
pip install tool-scorer[docs]
Verification
Verify your installation:
tool-scorer --version
Run the test suite:
pytest tests/
Next Steps
Check out the Quick Start guide
Read the User Guide for detailed usage
Explore the API Reference reference