/near:near-ai-cloudfrom near
Provides verifiable private AI inference via NEAR AI Cloud's OpenAI-compatible API using TEEs (Intel TDX, NVIDIA confidential GPUs). Supports attestation verification, response signatures, and encrypted inference for sensitive data.
Ships in near. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Verifiable private AI inference through Trusted Execution Environments (TEEs). Private (Confidential TEE) models run inside Intel TDX confidential VMs with NVIDIA TEE GPUs — your data stays encrypted and isolated from infrastructure providers, model providers, and NEAR itself. Other models in the catalog have different guarantees; see Models and Privacy Tiers.
The API is OpenAI-compatible. Point any OpenAI SDK at https://cloud-api.near.ai/v1:
import openai
client = openai.OpenAI(
base_url="https://cloud-api.near.ai/v1",
api_key="YOUR_API_KEY" # from cloud.near.ai dashboard
)
response = client.chat.completions.create(
model="z-ai/glm-5.3-flash",
messages=[{"role": "user", "content": "Hello, NEAR AI!"}]
)
print(response.choices[0].message.content)
import OpenAI from 'openai';
const openai = new OpenAI({
baseURL: 'https://cloud-api.near.ai/v1',
apiKey: 'YOUR_API_KEY',
});
const completion = await openai.chat.completions.create({
model: 'z-ai/glm-5.3-flash',
messages: [{ role: 'user', content: 'Hello, NEAR AI!' }]
});
console.log(completion.choices[0].message.content);
provider_tee signature from the model TEE or a gateway signature from the gateway TEE. Only provider_tee binds a response to a model-serving TEE1. Generate nonce
2. Request model attestation → get signing_address, nvidia_payload, intel_quote
3. Verify GPU attestation → submit nvidia_payload to NVIDIA NRAS, check JWT fields
4. Verify CPU attestation → verify intel_quote via dcap-qvl or TEE Explorer
5. Verify GPU-CPU binding → signing_address + nonce bound in TDX report data; same nonce in NRAS eat_nonce
6. Make chat request → use the API as normal
7. Fetch chat signature → GET /v1/signature/{chat_id}
8. Verify signature → recover signer, compare to attested signing_address
Base URL: https://cloud-api.near.ai
| Endpoint | Method | Description |
|---|---|---|
/v1/chat/completions | POST | OpenAI-compatible chat completions |
/v1/models | GET | List available models |
/v1/attestation/report?model={model} | GET | Model attestation (GPU + CPU) |
/v1/attestation/report | GET | Gateway attestation |
/v1/signature/{chat_id} | GET | Chat message signature (also covers Responses API resp_*) |
https://cloud-api.near.ai/v1 — use with any OpenAI SDKsigning_algo can be ecdsa or ed25519GET /v1/models, which needs no key. Older IDs can return 404 or resolve as aliases, and a resolved alias gets a gateway signature[["JWT", "..."], {"GPU-0": "..."}] — overall JWT + per-GPU JWTsprovider_tee signature, the signing_address from model attestation must match the address that signed the response| Topic | File |
|---|---|
| Models and privacy tiers | references/models-and-privacy-tiers.md |
| Model TEE verification | references/model-verification.md |
| Gateway verification + TLS | references/gateway-verification.md |
| Chat message verification | references/chat-verification.md |
| E2E encrypted chat (E2EE) | references/e2ee-chat.md |
| Specialized endpoints | references/specialized-endpoints.md |
resp_* stateless responsesreferences/chat-verification.md (opens in a new tab)references/e2ee-chat.md (opens in a new tab)references/gateway-verification.md (opens in a new tab)references/model-verification.md (opens in a new tab)references/models-and-privacy-tiers.md (opens in a new tab)references/specialized-endpoints.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tee, confidential-computing, attestation, private-inference, near-ai
8 skills in this plugin
/near-api-jsGuide for developing with near-api-js v7 - the JavaScript/TypeScript library for NEAR blockchain interaction. Use when: (1) building apps that interact with NEAR blockchain, (2) creating/signing transactions, (3) calling smart contracts, (4) managing accounts and keys, (5) working with NEAR RPC API, (6) handling FT/NFT tokens on NEAR, (7) using NEAR cryptographic operations (KeyPair, signing), (8) converting between NEAR units (yocto, gas), (9) gasless/meta transactions with relayers, (10) NEP-413 message signing for authentication, (11) storage deposit management for FT contracts. Triggers on any NEAR blockchain development tasks. Also use to give an app's users on-chain accounts and let the app act for them: users who never pay gas or hold a gas token, an app or game that can act for a user only within limits (function-call access keys restricted to one contract and chosen methods), accounts or per-player sub-accounts created by the app, or sign-in that proves which account a user controls./near-cli-rsGenerate near-cli-rs v0.14+ commands for NEAR Protocol — account management, NEAR/FT/NFT token transfers, staking delegation, contract deployment and calls, transaction signing (keychain, Ledger, seed phrase, MPC, offline), and network config/near-contract-auditComprehensive security audit skill for NEAR Protocol smart contracts written in Rust. Use when auditing NEAR contracts, reviewing security vulnerabilities, or analyzing contract code for issues like reentrancy, unhandled promises, unsafe math, access control flaws, and callback security.npx claudepluginhub near/agent-skills --plugin nearOther plugins' skills for the same job