The Know Your AI CLI (Documentation Index
Fetch the complete documentation index at: https://hydroxai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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
| Command | Alias | Description |
|---|---|---|
kya doctor | — | Validate configuration and test connectivity |
kya target | — | Show product configuration |
kya list | ls | List evaluations and datasets |
kya evaluate <id> | eval | Run an evaluation |
kya describe <id> | — | Show evaluation details |
kya history | — | Show recent run history |
kya result <run-id> | — | Show results for a specific run |
kya help | --help, -h | Show help |
kya version | --version, -v | Show version |
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.