🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@kyma-api/agent

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kyma-api/agent

Kyma coding agent — one account, many models. AI-powered coding assistant backed by Kyma API.

latest
Source
npmnpm
Version
0.1.20
Version published
Maintainers
1
Created
Source

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/agent

On Windows, use npm install -g @kyma-api/agent in PowerShell or Windows Terminal. Do not use curl ... | bash.

This package installs:

  • kyma for direct coding sessions
  • kyma-ter for the local multi-agent workspace

Kyma Agent vs Kyma Ter

The package contains two related tools:

  • kyma is the coding agent CLI
  • kyma-ter is the browser-based local workspace for running many kyma and 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 session

Launch the workspace with:

kyma-ter

On Windows:

  • kyma runs natively in PowerShell or Windows Terminal
  • kyma-ter is 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 coding

Or 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 models

Or set a per-project default by pinning model: in your KYMA.md frontmatter — see Project Config below.

Commands

CommandDescription
/connectSign in to your Kyma account
/disconnectSign out
/modelsBrowse and switch models
/initScaffold KYMA.md for this project
/mcpManage Model Context Protocol servers
/statusAccount, credits, session, and diagnostics (merged /doctor, /balance, /usage)
/billingOpen billing page
/dashboardOpen Kyma dashboard
/upgradeView tiers and upgrade
/feedbackReport 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 committing

The 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.md or ./AGENTS.md as 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 filesystem

Tools are namespaced as mcp__<server>__<tool> in the Pi tool registry.

Environment

VariableDescription
KYMA_API_KEYAPI key (alternative to /login)
KYMA_BASE_URLCustom API base URL

Windows Notes

  • kyma is intended to run natively on Windows
  • kyma-ter on Windows currently works best as a beta experience with WSL2 installed
  • Run /status inside kyma to verify local setup, kyma-ter, WSL detection, and MCP health

Docs

Pricing

All models are pay-per-token through your Kyma account. Free credits on signup. See kymaapi.com for pricing details.

License

MIT

Keywords

kyma

FAQs

Package last updated on 26 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts