Quickstart
5-minute quickstart — pick a path and ship.
"I want to know which model is best at X"
"I want to evaluate my AI on my data"
pip install layerlens --extra-index-url https://sdk.layerlens.ai/package
export LAYERLENS_STRATIX_API_KEY="..."from layerlens import Stratix
client = Stratix()
model = client.models.get_by_key("openai/gpt-4o")
benchmark = client.benchmarks.get_by_key("mmlu")
e = client.evaluations.create(model=model, benchmark=benchmark)
print(client.evaluations.wait_for_completion(e).accuracy)"I just want to verify my key works (curl, language-agnostic)"
"I want to gate AI changes in CI"
"I want to score live production traces"
"I'm evaluating Stratix for my company"
Got 30 seconds?
Last updated
Was this helpful?