kyma-api
v0.3.5
Published
CLI for Kyma API — one endpoint, 21 models
Maintainers
Readme
kyma-api
CLI for Kyma API — one endpoint, 21 open-source models.
Install
npm install -g kyma-apiOr use directly:
npx kyma-apiQuick Start
# Authenticate
kyma-api login
# Chat with the best model
kyma-api chat "What is Rust?"
# Pick a specific model
kyma-api chat -m deepseek-v3 "Explain transformers"
# Interactive mode
kyma-api chat
# Pipe mode
echo "Summarize this" | kyma-api chatCommands
| Command | Description |
|---------|-------------|
| kyma-api login | Authenticate (device code flow or API key) |
| kyma-api chat <prompt> | Stream a chat response |
| kyma-api models | List available models |
| kyma-api balance | Show credit balance and tier |
| kyma-api keys | Manage API keys |
| kyma-api status | Account overview |
Auth Options
# Device code flow (opens browser)
kyma-api login
# Direct API key
kyma-api login --api-key kyma-xxxx
# Environment variable
export KYMA_API_KEY=kyma-xxxx
kyma-api chat "hello"Agent/CI Mode
# JSON output
kyma-api models --json
# Quiet (no banners)
kyma-api chat --quiet "hello"
# Auto-detected when piped
echo "hello" | kyma-api chatRequirements
- Node.js 18+
