Registry / ai-ml / model-library

model-library

JSON →
library0.1.23pypypi✓ verified 80d ago

A Python SDK for interacting with the vals.ai model catalog. Provides model discovery, retrieval, and metadata utilities. Current version 0.1.23, updated irregularly.

pip install model-library
INSTALL
IMPORT
SIG · MODEL-LIBRARY
M
model-library
ai-mlpythonv0.1.23
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LLM
from model_library import LLM
from model_library import Model
LLMConfig
from model_library import LLMConfig
ModelLibrarySettings
from model_library import ModelLibrarySettings

Create a model instance using the SDK, fetching metadata from vals.ai.

from model_library import Model model = Model(name='gpt-4o-mini', api_key=os.environ.get('VALS_API_KEY', '')) print(model.id)
Debug
Known issues
gotchaLibrary name uses a hyphen on PyPI but underscores in imports. Use `from model_library import ...` not `from model-library import ...`.
fix
Import with underscores: `from model_library import ...`
affects: all
gotchaAPI keys must be passed explicitly or set via `VALS_API_KEY` environment variable. No default sandbox key.
fix
Set environment variable `VALS_API_KEY` or pass `api_key` argument.
affects: all
Upgrade
Version history
0.1.23latest on PyPI · released Apr 17, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
model-library — pip install model-library · libregistry