@kyma-api/agent
v0.1.20
Published
Kyma coding agent — one account, many models. AI-powered coding assistant backed by Kyma API.
Maintainers
Readme
Kyma Agent
Terminal-first coding agent powered by Kyma API.
Install one package, sign in once, and use many models through one balance.
Install
npm i -g @kyma-api/agentOn Windows, use npm install -g @kyma-api/agent in PowerShell or Windows Terminal. Do not use curl ... | bash.
This package installs:
kymafor direct coding sessionskyma-terfor the local multi-agent workspace
Kyma Agent vs Kyma Ter
The package contains two related tools:
kymais the coding agent CLIkyma-teris the browser-based local workspace for running manykymaand shell sessions in parallel
kyma-ter is distributed through this same package. The install step downloads the local kyma-ter binary automatically.
Usage
kyma # Interactive coding agent
kyma "explain this repo" # Start with a prompt
kyma -p "fix the bug" # One-shot mode (process and exit)
kyma -c # Continue previous sessionLaunch the workspace with:
kyma-terOn Windows:
kymaruns natively in PowerShell or Windows Terminalkyma-teris available, with shell panes optimized for WSL2
First Run
kyma
# 1. Run /connect to connect your Kyma account
# 2. Run /init in a repo to scaffold KYMA.md
# 3. Start codingOr start with kyma-ter if you want a local multi-pane workspace first.
Switching Models
Browse and switch models with /models. Filter by keyword:
/models coding # models tagged for code
/models vision # vision-capable models
/models cheap # budget-tier modelsOr set a per-project default by pinning model: in your KYMA.md frontmatter — see Project Config below.
Commands
| Command | Description |
|---------|-------------|
| /connect | Sign in to your Kyma account |
| /disconnect | Sign out |
| /models | Browse and switch models |
| /init | Scaffold KYMA.md for this project |
| /mcp | Manage Model Context Protocol servers |
| /status | Account, credits, session, and diagnostics (merged /doctor, /balance, /usage) |
| /billing | Open billing page |
| /dashboard | Open Kyma dashboard |
| /upgrade | View tiers and upgrade |
| /feedback | Report issues or give feedback |
Project Config
Create a KYMA.md at your project root to set per-project defaults. /init scaffolds one for you:
---
model: qwen-3-coder
thinking: high
---
# My Project
## Conventions
- All DB access goes through `src/db.ts`
- Run tests before committingThe frontmatter pins model + thinking level at session start. The markdown body is prepended to the system prompt on every turn, so edits apply without restarting.
Kyma loads context from three layers in precedence order (later layers override):
~/.kyma/agent/KYMA.md— user global./KYMA.md(or./CLAUDE.mdor./AGENTS.mdas fallback) — project shared, committed./KYMA.local.md— personal overrides, gitignored
MCP Servers
Kyma speaks Model Context Protocol over stdio. Drop a config at ~/.kyma/agent/mcp.json (user) or ./.kyma/mcp.json (project):
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/me/projects"],
"enabled": true
}
}
}Manage servers inside kyma:
/mcp # list configured servers and their tools
/mcp test filesystem # spawn + handshake + list tools (useful for debugging)
/mcp enable filesystem # flip enabled in config
/mcp disable filesystemTools are namespaced as mcp__<server>__<tool> in the Pi tool registry.
Environment
| Variable | Description |
|----------|-------------|
| KYMA_API_KEY | API key (alternative to /login) |
| KYMA_BASE_URL | Custom API base URL |
Windows Notes
kymais intended to run natively on Windowskyma-teron Windows currently works best as a beta experience with WSL2 installed- Run
/statusinsidekymato verify local setup,kyma-ter, WSL detection, and MCP health
Docs
- Kyma Agent: docs.kymaapi.com/guides/agent
- Kyma Ter overview: docs.kymaapi.com/guides/kyma-ter/overview
- Kyma Ter quickstart: docs.kymaapi.com/guides/kyma-ter/quickstart
Pricing
All models are pay-per-token through your Kyma account. Free credits on signup. See kymaapi.com for pricing details.
Links
- Website: kymaapi.com
- Docs: docs.kymaapi.com
- Dashboard: kymaapi.com/dashboard
License
MIT
