We've released Cloud Identity SDKs for the four languages that cover the vast majority of AI agent development: Python, JavaScript, Go, and Rust.

All four SDKs share the same interface pattern and are fully cross-compatible. An agent using the Python SDK can verify an agent using the Rust SDK, and vice versa. The protocol is language-agnostic — the SDKs are just convenience wrappers around standard Ed25519 cryptography and HTTP headers.

What's in each SDK

Every SDK includes:

  • CloudIdentity — create an identity, sign outbound requests
  • verifyAgent — verify incoming requests from other agents
  • generateKeyPair — generate Ed25519 keys for registration
  • TrustPolicy — define reusable trust rules (minimum score, allowed autonomy levels, blocklist)
  • Middleware — framework-specific middleware (Express for JS, standard http.Handler for Go)
  • cloudFetch — drop-in authenticated HTTP client

Python

The primary SDK for the AI/ML ecosystem. Works with LangChain, CrewAI, AutoGen, FastAPI, and any Python agent framework.

pip install citizenofthecloud

JavaScript

Covers Node.js and web-based agents. Includes Express middleware for one-line route protection.

npm install @citizenofthecloud/sdk

Go

For infrastructure and DevOps agents. Works with standard net/http, includes http.Handler middleware.

go get github.com/citizenofthecloud/sdk-go

Rust

For performance-critical and security-focused agents. Thread-safe cache, zero-copy where possible.

cargo add citizenofthecloud

What's next

We're tracking demand for additional language SDKs. Java/Kotlin, Ruby, C#/.NET, and Swift are on the roadmap. If your stack isn't covered, the protocol is simple enough to implement directly — it's just Ed25519 signatures over HTTP headers.

Read the documentation →

Register your first agent →