langship CLI is the primary interface for running evals, managing datasets, and triggering deployments locally and in CI.
Installation
Authentication
Commands
langship eval
Run evaluators against your agent.
| Flag | Description |
|---|---|
--config PATH | Path to langship.yaml (default: ./langship.yaml) |
--eval NAME | Run only the named evaluator (repeat for multiple) |
--dataset NAME | Override the dataset specified in config |
--dataset-version SHA | Pin to a specific dataset version |
--env ENVIRONMENT | Target environment (default: default) |
--no-fail | Always exit 0 regardless of results |
--output FORMAT | Output format: table (default), json, junit |
--parallel N | Run N test cases in parallel (default: 5) |
langship dataset
Manage versioned datasets.
langship runs
Browse and inspect past runs.
langship deploy
Deploy an agent version to an environment.
| Flag | Description |
|---|---|
--env ENVIRONMENT | Target environment (e.g., staging, production) |
--agent-id ID | Agent ID in the target platform |
--target PLATFORM | Deployment target: lyzr (default) |
--dry-run | Validate config without deploying |
--wait | Wait for deployment to complete |
langship config
Manage CLI configuration.
~/.langship/config.yaml.
langship init
Initialize a new langship.yaml in the current directory.
langship server
Start or stop a local Control Plane Server (development use).
Global flags
| Flag | Description |
|---|---|
--profile NAME | Use a named config profile |
--verbose | Show verbose output |
--json | Output raw JSON |
--no-color | Disable colored output |
--help | Show help for any command |
Environment variables
| Variable | Description |
|---|---|
LANGSHIP_ENDPOINT | Server URL (overrides config) |
LANGSHIP_API_KEY | API key (overrides config) |
LANGSHIP_PROJECT | Default project (overrides config) |
LANGSHIP_ENV | Default environment (overrides config) |
LANGSHIP_NO_COLOR | Disable colored output |