know-your-ai / kya) lets you run security evaluations, inspect product configurations, and review results — all from your terminal. It’s built on top of the @know-your-ai/evaluate SDK.
Installation
- npm (recommended)
- Shell script
know-your-ai and kya commands are available:
Configuration
The CLI requires a single environment variable:Verify setup
Rundoctor to validate your configuration and test connectivity:
- DSN set — verifies
KNOW_YOUR_AI_DSNenv var exists - DSN format — parses the DSN and shows host & product ID
- API key — checks key starts with
kya_ - API connection — tests authentication against the backend
- Evaluations — lists evaluations and reports count
- Datasets — lists datasets and reports count
Commands
See Commands Reference for detailed documentation of every command.
Quick workflow
What’s next
Commands Reference
Detailed documentation for every CLI command with examples.
Evaluate SDK
Use the SDK for programmatic evaluations in CI/CD pipelines.