CLI Reference

CLI reference for kpass and ksearch — all commands for Kite Agent Passport.

This page documents the kpass and ksearch commands. For getting started, see the Introduction.

kpass

kpass is the Passport CLI for authentication, wallet management, agent registration, spending sessions, and paid request execution.

General Flags

Flag
Description

--output json

Machine-readable JSON output (recommended when agents drive the CLI)

--no-interactive

Never prompt for stdin input (required for automation)

--base-url <URL>

Override the default backend URL

Status and Health

kpass status                  # Overall status: backend, auth, agent, session
kpass health --output json    # Backend connectivity check
kpass --version               # Installed version

Authentication

Sign Up (New User)

kpass signup init --email [email protected] --output json

After clicking the verification email link:

Log In (Returning User)

Enter the 8-character code from the email:

Confirm Identity

Wallet

Faucet (Testnet)

Agent Registration

Common --type values: coding-assistant, research-agent, or a label matching your use case.

Spending Sessions

Create a Session

Flag
Description

--task-summary

Human-readable description of what the agent will do

--max-amount-per-tx

Maximum spend per single transaction

--max-total-amount

Maximum total spend for the session

--ttl

Session lifetime (e.g. 1h, 24h)

--assets

Token(s) the session can spend

--payment-approach

Payment protocol (x402_http)

Approve and Monitor

Execute a Paid Request

With headers and body (POST):

Skills

The install flow adds Kite Passport skills to your coding agent:

Skill
Purpose

authenticate-user

Sign up or log in

kite-discovery

Search the service catalog

request-session

Create and approve spending sessions

x402-execute

Execute paid requests

wallet-send

Direct wallet transfers

manage-agents

Register and list agents

Inspect installed skills:


ksearch

ksearch is the service discovery CLI for searching and inspecting paid services in the Kite catalog.

Search Services

Flag
Description

--query

Search by topic or keyword

--payment-approach

Filter by payment protocol (x402_http)

--asset

Filter by payment asset (USDC)

--limit

Maximum number of results

Inspect a Service

Export Catalog

Health Check


Tips

  • Use --output json and --no-interactive together when an agent drives the workflow.

  • kpass stores project-local state in .kite-passport/. Run setup inside the workspace where your agent operates.

  • signup sends an email verification link. login sends an 8-character code. If you already have an account, use login.

  • Direct wallet transfers use kpass wallet send. Agentic service payments use agent:session create + agent:session execute.


Need help? Open an issuearrow-up-right or contact the Kite team.

Last updated