# CLI

A `klink` command-line tool is on the roadmap.

The intended shape:

```bash
# Authenticate (delegates to your browser wallet)
klink login

# Inspect a wallet
klink wallet show

# Create a session for an agent
klink session create --cap 5 --daily-cap 50 --recipient <pubkey>

# Watch the audit log live
klink audit tail
```

## Status

🛠️ **Coming soon.** No published binary yet.

For now, every operation the CLI will offer is available via the HTTP API and the dashboard:

* **Wallet inspection / management** → dashboard + `GET /v1/wallet`
* **Session creation / revocation** → dashboard (Phantom signs)
* **Audit review** → dashboard or `GET /v1/audit`
* **Spend / yield** → SDK (coming soon) or direct `curl` against the HTTP API

See the [Quickstart](/klink-docs/getting-started/quickstart.md) for the current path.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://klink-4.gitbook.io/klink-docs/developer-resources/cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
