kxco-pq-agent 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +34 -34
- package/README.md +187 -155
- package/package.json +64 -64
- package/src/agent-client.js +147 -147
- package/src/agent-identity.js +299 -299
- package/src/errors.js +7 -7
- package/src/index.d.ts +146 -146
- package/src/index.js +4 -4
- package/src/jcs.js +34 -34
- package/src/scope.js +94 -94
package/LICENSE
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction, and distribution.
|
|
10
|
-
"Licensor" shall mean KXCO by Knightsbridge.
|
|
11
|
-
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity.
|
|
12
|
-
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
13
|
-
"Source" form shall mean the preferred form for making modifications.
|
|
14
|
-
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form.
|
|
15
|
-
"Work" shall mean the work of authorship made available under the License.
|
|
16
|
-
"Derivative Works" shall mean any work that is based on the Work.
|
|
17
|
-
"Contribution" shall mean any work of authorship submitted to the Licensor for inclusion in the Work.
|
|
18
|
-
"Contributor" shall mean Licensor and any Legal Entity on behalf of whom a Contribution has been received by the Licensor and incorporated within the Work.
|
|
19
|
-
|
|
20
|
-
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
21
|
-
|
|
22
|
-
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work.
|
|
23
|
-
|
|
24
|
-
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work; and (d) If the Work includes a "NOTICE" text file, You must include a readable copy of the attribution notices contained within such NOTICE file.
|
|
25
|
-
|
|
26
|
-
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions.
|
|
27
|
-
|
|
28
|
-
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor.
|
|
29
|
-
|
|
30
|
-
7. Disclaimer of Warranty. THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
|
31
|
-
|
|
32
|
-
8. Limitation of Liability. IN NO EVENT SHALL ANY CONTRIBUTOR BE LIABLE FOR ANY DAMAGES ARISING FROM THIS LICENSE OR THE USE OF THE WORK.
|
|
33
|
-
|
|
34
|
-
Copyright 2026 KXCO by Knightsbridge
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution.
|
|
10
|
+
"Licensor" shall mean KXCO by Knightsbridge.
|
|
11
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity.
|
|
12
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
13
|
+
"Source" form shall mean the preferred form for making modifications.
|
|
14
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form.
|
|
15
|
+
"Work" shall mean the work of authorship made available under the License.
|
|
16
|
+
"Derivative Works" shall mean any work that is based on the Work.
|
|
17
|
+
"Contribution" shall mean any work of authorship submitted to the Licensor for inclusion in the Work.
|
|
18
|
+
"Contributor" shall mean Licensor and any Legal Entity on behalf of whom a Contribution has been received by the Licensor and incorporated within the Work.
|
|
19
|
+
|
|
20
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
21
|
+
|
|
22
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work.
|
|
23
|
+
|
|
24
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work; and (d) If the Work includes a "NOTICE" text file, You must include a readable copy of the attribution notices contained within such NOTICE file.
|
|
25
|
+
|
|
26
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions.
|
|
27
|
+
|
|
28
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor.
|
|
29
|
+
|
|
30
|
+
7. Disclaimer of Warranty. THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
|
31
|
+
|
|
32
|
+
8. Limitation of Liability. IN NO EVENT SHALL ANY CONTRIBUTOR BE LIABLE FOR ANY DAMAGES ARISING FROM THIS LICENSE OR THE USE OF THE WORK.
|
|
33
|
+
|
|
34
|
+
Copyright 2026 KXCO by Knightsbridge
|
package/README.md
CHANGED
|
@@ -1,155 +1,187 @@
|
|
|
1
|
-
# kxco-pq-agent
|
|
2
|
-
|
|
3
|
-
Post-quantum AI
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
//
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
1
|
+
# kxco-pq-agent
|
|
2
|
+
|
|
3
|
+
Post-quantum identity for AI agents and autonomous systems.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## The problem it solves
|
|
8
|
+
|
|
9
|
+
AI systems cannot pass KYC. An LLM, robot, IoT device, or daemon has no legal standing to authenticate itself to a regulated network. This package solves that with a delegation model: a KYC-verified institution sponsors the agent by signing its ML-DSA-65 public key alongside a locked capability scope. The agent then signs its own relay operations independently, presenting the sponsor's credential as proof of authority. The KXCO relay validates both signatures before accepting any intent — the institution's approval is cryptographically bound to every action the agent takes.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## When to use this
|
|
14
|
+
|
|
15
|
+
Use this package when deploying LLMs, robots, IoT devices, or daemons that need to perform on-chain operations — payments, attestation anchoring, audit checkpointing — with verifiable, auditable scope controlled by a licensed institution.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Install
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install kxco-pq-agent
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Quick start
|
|
28
|
+
|
|
29
|
+
```js
|
|
30
|
+
import { KxcoAgentIdentity } from 'kxco-pq-agent'
|
|
31
|
+
|
|
32
|
+
// sponsor is a KxcoIdentity from kxco-pq-sdk
|
|
33
|
+
// it must have .kid (string) and .sign(Uint8Array) -> Promise<Uint8Array>
|
|
34
|
+
|
|
35
|
+
const agent = await KxcoAgentIdentity.create({
|
|
36
|
+
sponsor,
|
|
37
|
+
label: 'Settlement Bot',
|
|
38
|
+
agentType: 'llm',
|
|
39
|
+
scope: {
|
|
40
|
+
attestations: { purposes: ['trade-confirmation'] },
|
|
41
|
+
auditLog: true,
|
|
42
|
+
},
|
|
43
|
+
expiresIn: '90d',
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
// Connect to the relay and anchor an attestation
|
|
47
|
+
const client = agent.toChainClient('https://relay.kxco.ai')
|
|
48
|
+
|
|
49
|
+
const result = await client.anchorAttestation({
|
|
50
|
+
payloadHash: '9f86d081884c7d65...',
|
|
51
|
+
purpose: 'trade-confirmation',
|
|
52
|
+
})
|
|
53
|
+
// { txHash: '0x...', blockNumber: 228345 }
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Scope manifest
|
|
59
|
+
|
|
60
|
+
The scope is signed by the sponsor at issuance and cannot be changed. To update an agent's permissions, revoke and re-issue.
|
|
61
|
+
|
|
62
|
+
```js
|
|
63
|
+
scope: {
|
|
64
|
+
payments: {
|
|
65
|
+
maxPerTransaction: 5000, // maximum ARMR per transfer (positive number)
|
|
66
|
+
maxPerDay: 50000, // rolling daily cap across all transfers
|
|
67
|
+
allowedRecipients: [ // EVM address (0x + 40 hex) or KXCO kid (16 hex chars)
|
|
68
|
+
'0xAbCdEf...',
|
|
69
|
+
'aa29f37ab7f4b2cf',
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
attestations: {
|
|
73
|
+
purposes: ['trade-confirmation', 'settlement-receipt'], // allowed purpose strings
|
|
74
|
+
},
|
|
75
|
+
auditLog: true, // permits anchorAuditRoot calls
|
|
76
|
+
credentials: false, // permits credential management (use sparingly)
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
All fields are optional. Omit a section entirely to deny that capability. The scope hash (SHA-256 of the JCS-canonical scope JSON) is stored on-chain at issuance so the relay can verify integrity.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## API
|
|
85
|
+
|
|
86
|
+
### KxcoAgentIdentity
|
|
87
|
+
|
|
88
|
+
**`KxcoAgentIdentity.create(opts)` → `Promise<KxcoAgentIdentity>`**
|
|
89
|
+
|
|
90
|
+
Generates an ML-DSA-65 keypair for the agent and has the sponsor sign the credential.
|
|
91
|
+
|
|
92
|
+
| Option | Type | Required | Description |
|
|
93
|
+
|--------|------|----------|-------------|
|
|
94
|
+
| `sponsor` | `{ kid: string, sign(msg: Uint8Array): Promise<Uint8Array> }` | Yes | The sponsoring KxcoIdentity |
|
|
95
|
+
| `label` | `string` | Yes | Human-readable name for this agent |
|
|
96
|
+
| `agentType` | `'llm' \| 'robot' \| 'iot' \| 'process'` | Yes | Category of the agent |
|
|
97
|
+
| `model` | `string` | No | Model, firmware, or version identifier |
|
|
98
|
+
| `scope` | `object` | Yes | Capability manifest (see above) |
|
|
99
|
+
| `expiresIn` | `string \| number` | Yes | Duration: `'30d'`, `'1y'`, or seconds as a number |
|
|
100
|
+
| `chain` | `KxcoChain` | No | If provided, registers the credential on-chain at issuance |
|
|
101
|
+
|
|
102
|
+
**`agent.toChainClient(relay, opts?)` → `AgentChainClient`**
|
|
103
|
+
|
|
104
|
+
Returns a relay client that automatically attaches the agent's credential and signature to every request.
|
|
105
|
+
|
|
106
|
+
| Option | Type | Default | Description |
|
|
107
|
+
|--------|------|---------|-------------|
|
|
108
|
+
| `relay` | `string` | — | Relay base URL, e.g. `'https://relay.kxco.ai'` |
|
|
109
|
+
| `opts.timeout` | `number` | `10000` | Request timeout in milliseconds |
|
|
110
|
+
|
|
111
|
+
**`agent.sign(message)` → `Promise<Uint8Array>`**
|
|
112
|
+
|
|
113
|
+
Signs an arbitrary message with the agent's ML-DSA-65 private key.
|
|
114
|
+
|
|
115
|
+
**`agent.export()` → `object`**
|
|
116
|
+
|
|
117
|
+
Serialises the full identity including the secret key. Store securely.
|
|
118
|
+
|
|
119
|
+
**`KxcoAgentIdentity.import(exported)` → `Promise<KxcoAgentIdentity>`**
|
|
120
|
+
|
|
121
|
+
Restores an agent identity from a previously exported object.
|
|
122
|
+
|
|
123
|
+
**`KxcoAgentIdentity.verify(credential, opts?)` → `Promise<{ valid, agentKid, sponsorKid, scope, ... }>`**
|
|
124
|
+
|
|
125
|
+
Verifies an agent credential envelope.
|
|
126
|
+
|
|
127
|
+
- Without `opts.sponsorPublicKey`: checks format and expiry only.
|
|
128
|
+
- With `opts.sponsorPublicKey` (Uint8Array): performs full ML-DSA-65 signature verification.
|
|
129
|
+
|
|
130
|
+
**`KxcoAgentIdentity.revoke(agentKid, { chain, reason? })` → `Promise`**
|
|
131
|
+
|
|
132
|
+
Revokes an agent credential on-chain. `chain` must be a KxcoChain instance belonging to the original sponsor.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
### AgentChainClient
|
|
137
|
+
|
|
138
|
+
Returned by `agent.toChainClient()`. All methods return `Promise<{ txHash: string, blockNumber: number }>`.
|
|
139
|
+
|
|
140
|
+
**`client.anchorAttestation({ payloadHash, purpose })`**
|
|
141
|
+
|
|
142
|
+
Anchors an attestation envelope hash on-chain. Requires `scope.attestations` with the matching purpose listed.
|
|
143
|
+
|
|
144
|
+
**`client.anchorAuditRoot({ rootHash, entryCount })`**
|
|
145
|
+
|
|
146
|
+
Anchors an audit log checkpoint on-chain. Requires `scope.auditLog: true`.
|
|
147
|
+
|
|
148
|
+
**`client.transfer({ to, amount })`**
|
|
149
|
+
|
|
150
|
+
Submits a payment intent. `to` is an EVM address or KXCO kid. `amount` is in ARMR. The relay enforces `allowedRecipients`, `maxPerTransaction`, and `maxPerDay` from the scope.
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Agent types
|
|
155
|
+
|
|
156
|
+
| Type | Use |
|
|
157
|
+
|------|-----|
|
|
158
|
+
| `llm` | Large language models and AI assistants |
|
|
159
|
+
| `robot` | Physical robots and automated machinery |
|
|
160
|
+
| `iot` | IoT devices and sensors |
|
|
161
|
+
| `process` | Automated software processes and daemons |
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## What this does NOT do
|
|
166
|
+
|
|
167
|
+
- Agents cannot issue credentials to other agents. Only a KYC-verified sponsor can create an agent identity.
|
|
168
|
+
- Agents cannot exceed the scope declared at issuance. The relay enforces scope server-side; attempting an out-of-scope operation returns an error.
|
|
169
|
+
- Agents cannot operate without a sponsor. There is no anonymous or self-signed credential mode.
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## Part of the KXCO stack
|
|
174
|
+
|
|
175
|
+
| Package | Purpose |
|
|
176
|
+
|---------|---------|
|
|
177
|
+
| `kxco-post-quantum` | ML-DSA-65 and ML-KEM primitives |
|
|
178
|
+
| `kxco-pq-sdk` | KxcoIdentity — human and institution identities |
|
|
179
|
+
| `kxco-pq-agent` | This package — machine and agent identities |
|
|
180
|
+
|
|
181
|
+
Contact: hello@kxco.ai | https://kxco.ai
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## Authors
|
|
186
|
+
|
|
187
|
+
Shayne Heffernan and John Heffernan — KXCO by Knightsbridge
|
package/package.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name":
|
|
3
|
-
"version":
|
|
4
|
-
"description":
|
|
5
|
-
"keywords":
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"license":
|
|
22
|
-
"author":
|
|
23
|
-
"contributors":
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"homepage":
|
|
32
|
-
"repository":
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"bugs":
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"type":
|
|
40
|
-
"sideEffects":
|
|
41
|
-
"main":
|
|
42
|
-
"types":
|
|
43
|
-
"exports":
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"files":
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"engines":
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"dependencies":
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"scripts":
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"funding":
|
|
63
|
-
"publishConfig":
|
|
64
|
-
|
|
65
|
-
|
|
2
|
+
"name": "kxco-pq-agent",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "Post-quantum identity for AI agents and autonomous systems — a KYC-verified institution sponsors an ML-DSA-65 keypair and locked capability scope for any agent that cannot pass KYC itself.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"post-quantum",
|
|
7
|
+
"pqc",
|
|
8
|
+
"ml-dsa",
|
|
9
|
+
"nist",
|
|
10
|
+
"fips-204",
|
|
11
|
+
"kxco",
|
|
12
|
+
"agent-identity",
|
|
13
|
+
"robot-identity",
|
|
14
|
+
"machine-identity",
|
|
15
|
+
"ai-agent",
|
|
16
|
+
"capability-scope",
|
|
17
|
+
"armature",
|
|
18
|
+
"relay",
|
|
19
|
+
"blockchain"
|
|
20
|
+
],
|
|
21
|
+
"license": "Apache-2.0",
|
|
22
|
+
"author": "Shayne Heffernan and John Heffernan",
|
|
23
|
+
"contributors": [
|
|
24
|
+
{
|
|
25
|
+
"name": "Shayne Heffernan"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "John Heffernan"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"homepage": "https://kxco.ai",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/JackKXCO/kxco-pq-agent.git"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/JackKXCO/kxco-pq-agent/issues"
|
|
38
|
+
},
|
|
39
|
+
"type": "module",
|
|
40
|
+
"sideEffects": false,
|
|
41
|
+
"main": "./src/index.js",
|
|
42
|
+
"types": "./src/index.d.ts",
|
|
43
|
+
"exports": {
|
|
44
|
+
".": {
|
|
45
|
+
"types": "./src/index.d.ts",
|
|
46
|
+
"import": "./src/index.js"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"src",
|
|
51
|
+
"LICENSE"
|
|
52
|
+
],
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=20.19"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"kxco-post-quantum": "^1.2.0"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"test": "node --test --test-timeout=30000 test/agent.test.js"
|
|
61
|
+
},
|
|
62
|
+
"funding": "https://kxco.ai",
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"access": "public"
|
|
65
|
+
}
|
|
66
66
|
}
|