# NATS工具

You use NATS when you run applications ('client' applications from NATS' point of view) that leverage NATS to communicate with other applications, receive data streams and invoke services.

These applications leverage any of the 40+ client libraries available for NATS and connect to an instance of the NATS service that can can be either a single server, a cluster of servers or even a global super-cluster such as Synadia's [NGS](https://synadia.com/ngs). And, if the application is written in Go, it can even embed its own server.

Beside those client applications, the NATS Ecosystem also has many tools to interact with other applications and services over nats and streams, support server configuration, enhance monitoring or tune performance such as:

* General interaction and management
  * [nats](/cn/shi-yong-nats/nats-tools/nats_cli.md) - The `nats` Command Line Tool is the best way to interact with, test and manage NATS and JetStream from a terminal or from scripts
* Security
  * [nk](/cn/shi-yong-nats/nats-tools/nk.md) - Generate NKeys
  * [nsc](/cn/shi-yong-nats/nats-tools/nsc.md) - Configure Operators, Accounts and Users
  * [nats account server](/cn/yi-chan/nas.md) - Serve Account JWTs (legacy, replaced by the built-in NATS resolver)
* Monitoring
  * [nats top](/cn/shi-yong-nats/nats-tools/nats_top.md) - Monitor NATS Server
  * [prometheus-nats-exporter](https://github.com/nats-io/prometheus-nats-exporter) - Export NATS server metrics to [Prometheus](https://prometheus.io/) and a [Grafana](https://grafana.com) dashboard.
* Benchmarking
  * see [nats](/cn/shi-yong-nats/nats-tools/nats_cli.md)


---

# 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://docs.natsclub.cn/cn/shi-yong-nats/nats-tools.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.
