Skip to content
OpenClaw 不踩坑恶意 Skills ,企业需 Skills Registry:Nacos 3.2 发布Know more

Nacos SDK Overview

Nacos SDKs let applications and tools access Nacos through typed interfaces. Before choosing a document, distinguish the two SDK roles:

SDK TypeUse CaseDocument Entry
Client SDKApplication runtime access, including reading and listening to configurations, registering instances, subscribing to services, and querying or subscribing to AI resources.SDK Runtime Guide, language SDK manuals
Maintainer SDKOperations tools, management platforms, consoles, or automation tasks that call Nacos management capabilities.Maintainer SDK

Business applications should prefer the Client SDK. The Client SDK manages connections, local cache, listeners, subscriptions, and reconnect recovery. To understand runtime behavior, read SDK Runtime Guide first.

Officially Maintained Client SDKs

LanguageManualCode RepositoryPackage Repository
JavaJava SDK Usagealibaba/nacosMaven Central
GoGo SDK Usagenacos-group/nacos-sdk-gogithub.com/nacos-group/nacos-sdk-go/v2
PythonPython SDK Usagenacos-group/nacos-sdk-pythonPyPI

Java is the current reference implementation for Client SDK runtime semantics. Go, Python, and other language SDKs align their connection, cache, subscription, and recovery behavior as their language runtime capabilities evolve.

Community SDKs

The community also provides SDKs for other languages. Their maintenance status, protocol support, and Nacos version compatibility may differ. Before production adoption, confirm repository activity, supported Nacos versions, auth capabilities, and local cache behavior.

LanguageCode RepositoryPackage Repository
C++nacos-group/nacos-sdk-cpp/
Node.jsnacos-group/nacos-sdk-nodejsnpm
C#nacos-group/nacos-sdk-csharpNuGet
Rustnacos-group/nacos-sdk-rustcrates.io

If your language does not have a suitable SDK, read OpenAPI Overview and Client API to understand the HTTP Client API boundary.