---
title: "KYE™ Developers — SDKs"
description: "TypeScript. Python. Go. Same names."
url: https://kyeprotocol.com/developers/sdks/
lang: en
source: "KYE Protocol"
---

# KYE Protocol™ SDKs — TypeScript, Python, Go.

TypeScript. Python. Go. Same names.

[Quickstart →](https://kyeprotocol.com/developers/quickstart/) [API reference](https://kyeprotocol.com/developers/api/)

Generated from canonical KYE™ schemas. TypeScript and Python ship today; Go in alpha.

Plain Q&A

## Plain Q&A

Short questions. Short answers.

- **What is KYE™?** A protocol for AI governance.
- **What does the SDK do?** It signs every call. It verifies every reply.
- **Which language?** TypeScript, Python, or Go.
- **Do I need a key?** Yes. You keep it.
- **Free to use?** Yes. Apache 2.0.
- **Sandbox tokens?** Free. One click.
- **Pilot tokens?** Free for 30 days.
- **Do you log my data?** No. Not ever.

## TypeScript

```
npm install @kye/sdk
# or: pnpm add @kye/sdk
# or: yarn add @kye/sdk
```

Tree-shakeable, bundles types from the canonical schemas. Targets Node 18+ and modern browsers.

## Python

```
pip install kye-sdk
# or: poetry add kye-protocol
```

Pydantic v2 models, sync + async clients, runs on Python 3.10+.

## Go

```
go get github.com/kye-protocol/sdk-go
```

alpha — tracking the schema package and the OpenAPI spec.

## Issue a delegation

TypeScript:

```
const delegation = await kye.delegations.create({
  actor:     "kye:agent:acme.kyc_triage_001",
  principal: "kye:user:acme.compliance_lead",
  subject:   "kye:business:retail_customer_segment",
  scope:     ["kyc.verify", "kyc.read"],
  expires_at:"2026-12-31T00:00:00Z"
});
```

Python:

```
delegation = kye.delegations.create(
    actor="kye:agent:acme.kyc_triage_001",
    principal="kye:user:acme.compliance_lead",
    subject="kye:business:retail_customer_segment",
    scope=["kyc.verify", "kyc.read"],
    expires_at="2026-12-31T00:00:00Z",
)
```

## Get a decision

```
const d = await kye.decisions.create({
  actor: "kye:agent:acme.kyc_triage_001",
  principal: "kye:user:acme.compliance_lead",
  capability: "kyc.verify",
  context: { customer_id: "cust_001", region: "EU" }
});
if (d.decision === "allow") { /* proceed */ }
else if (d.decision === "require_human_review") { /* queue */ }
```

## Download an evidence pack

```
curl -H "Authorization: Bearer $KYE_API_KEY" \
  https://api.kyeprotocol.com/v1/evidence-packs/kye:evidence-pack:adoption_acme_q1_2026 \
  -o pack.json
# verify hash + signature locally:
kye-cli evidence verify pack.json --key-id kye-evidence-signing-2026-q1
```

Standalone public SDK source repositories are pending their first governed publication — the honest, live list of what is verifiable from the public surface today is on the [trust page](https://kyeprotocol.com/trust/).

Canonical KYE™ surfaces referenced on this page: [Evidence Pack™](https://kyeprotocol.com/evidence-pack/) · [KYE Protocol™](https://kyeprotocol.com/).
