For the complete documentation index, see llms.txt. This page is also available as Markdown.

CLI

The LayerLens CLI — terminal access to evaluations, traces, and reports.

The layerlens CLI is bundled with the Python SDK. Install the SDK, set an API key, and layerlens is on your PATH.

Install

pip install --extra-index-url https://sdk.layerlens.ai/package "layerlens[cli]"
export LAYERLENS_STRATIX_API_KEY="..."

Verify:

layerlens --version

What it does

  • layerlens login — interactive authentication

  • layerlens evaluate — create and run evaluations

  • layerlens judge test — run a grader against a trace

  • layerlens judge create — create a grader

See the full CLI reference.

Common patterns

Reports

Where to next

Last updated

Was this helpful?