vouch-protocol 1.1.2__tar.gz → 1.3.0__tar.gz

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.
Files changed (57) hide show
  1. vouch_protocol-1.3.0/LICENSE +206 -0
  2. vouch_protocol-1.3.0/PKG-INFO +445 -0
  3. vouch_protocol-1.3.0/README.md +174 -0
  4. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/pyproject.toml +4 -3
  5. vouch_protocol-1.3.0/tests/test_async_verifier.py +215 -0
  6. vouch_protocol-1.3.0/tests/test_auditor.py +171 -0
  7. vouch_protocol-1.3.0/tests/test_cache.py +163 -0
  8. vouch_protocol-1.3.0/tests/test_nonce.py +113 -0
  9. vouch_protocol-1.3.0/tests/test_reputation.py +177 -0
  10. vouch_protocol-1.3.0/tests/test_revocation.py +151 -0
  11. vouch_protocol-1.3.0/tests/test_signer.py +142 -0
  12. vouch_protocol-1.3.0/tests/test_verifier.py +204 -0
  13. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/__init__.py +34 -1
  14. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/mcp/server.py +1 -1
  15. vouch_protocol-1.3.0/vouch/kms.py +534 -0
  16. vouch_protocol-1.3.0/vouch/reputation.py +735 -0
  17. vouch_protocol-1.3.0/vouch/revocation.py +463 -0
  18. vouch_protocol-1.3.0/vouch_protocol.egg-info/PKG-INFO +445 -0
  19. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch_protocol.egg-info/SOURCES.txt +10 -0
  20. vouch_protocol-1.1.2/LICENSE +0 -661
  21. vouch_protocol-1.1.2/PKG-INFO +0 -935
  22. vouch_protocol-1.1.2/README.md +0 -210
  23. vouch_protocol-1.1.2/vouch/kms.py +0 -175
  24. vouch_protocol-1.1.2/vouch_protocol.egg-info/PKG-INFO +0 -935
  25. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/setup.cfg +0 -0
  26. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/async_verifier.py +0 -0
  27. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/audio.py +0 -0
  28. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/auditor.py +0 -0
  29. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/cache.py +0 -0
  30. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/cli.py +0 -0
  31. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/autogen/__init__.py +0 -0
  32. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/autogen/tool.py +0 -0
  33. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/autogpt/__init__.py +0 -0
  34. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/autogpt/commands.py +0 -0
  35. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/crewai/__init__.py +0 -0
  36. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/crewai/tool.py +0 -0
  37. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/google.py +0 -0
  38. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/langchain/__init__.py +0 -0
  39. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/langchain/tool.py +0 -0
  40. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/mcp/__init__.py +0 -0
  41. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/n8n.py +0 -0
  42. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/streamlit/__init__.py +0 -0
  43. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/streamlit/seal.py +0 -0
  44. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/vertex_ai/__init__.py +0 -0
  45. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/integrations/vertex_ai/tool.py +0 -0
  46. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/keys.py +0 -0
  47. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/metrics.py +0 -0
  48. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/nonce.py +0 -0
  49. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/ratelimit.py +0 -0
  50. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/registry.py +0 -0
  51. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/seal.py +0 -0
  52. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/signer.py +0 -0
  53. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch/verifier.py +0 -0
  54. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch_protocol.egg-info/dependency_links.txt +0 -0
  55. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch_protocol.egg-info/entry_points.txt +0 -0
  56. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch_protocol.egg-info/requires.txt +0 -0
  57. {vouch_protocol-1.1.2 → vouch_protocol-1.3.0}/vouch_protocol.egg-info/top_level.txt +0 -0
@@ -0,0 +1,206 @@
1
+ Apache License 2.0 (Default License)
2
+ =====================================
3
+
4
+ Copyright 2025 Vouch Protocol Contributors
5
+
6
+ This is the default license for the Vouch Protocol repository.
7
+
8
+ MULTI-LICENSE NOTICE:
9
+ ---------------------
10
+ This project uses different licenses for different components:
11
+
12
+ • Client SDK (default): Apache License 2.0 (this file)
13
+ - Applies to: Signer, Keys, Audio, TypeScript SDK, Client Integration Adapters
14
+ - Use freely in commercial and open-source projects
15
+
16
+ • Server SDK: GNU Affero General Public License v3.0 (AGPL-3.0)
17
+ - Applies to: Verifier, Revocation, Reputation, Registry components
18
+ - See: licenses/LICENSE-SERVER
19
+ - Copyleft license requiring source disclosure for network services
20
+
21
+ • Protocol Specification: Community Specification License 1.0
22
+ - Applies to: Protocol design, DID format, JWT structure
23
+ - See: licenses/LICENSE-SPEC
24
+ - Open standard with patent grants
25
+
26
+ For detailed information about which license applies to specific components,
27
+ see the licenses/ directory and README.md.
28
+
29
+ ================================================================================
30
+
31
+ Apache License
32
+ Version 2.0, January 2004
33
+ http://www.apache.org/licenses/
34
+
35
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
36
+
37
+ 1. Definitions.
38
+
39
+ "License" shall mean the terms and conditions for use, reproduction,
40
+ and distribution as defined by Sections 1 through 9 of this document.
41
+
42
+ "Licensor" shall mean the copyright owner or entity authorized by
43
+ the copyright owner that is granting the License.
44
+
45
+ "Legal Entity" shall mean the union of the acting entity and all
46
+ other entities that control, are controlled by, or are under common
47
+ control with that entity. For the purposes of this definition,
48
+ "control" means (i) the power, direct or indirect, to cause the
49
+ direction or management of such entity, whether by contract or
50
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
51
+ outstanding shares, or (iii) beneficial ownership of such entity.
52
+
53
+ "You" (or "Your") shall mean an individual or Legal Entity
54
+ exercising permissions granted by this License.
55
+
56
+ "Source" form shall mean the preferred form for making modifications,
57
+ including but not limited to software source code, documentation
58
+ source, and configuration files.
59
+
60
+ "Object" form shall mean any form resulting from mechanical
61
+ transformation or translation of a Source form, including but
62
+ not limited to compiled object code, generated documentation,
63
+ and conversions to other media types.
64
+
65
+ "Work" shall mean the work of authorship, whether in Source or
66
+ Object form, made available under the License, as indicated by a
67
+ copyright notice that is included in or attached to the work
68
+ (an example is provided in the Appendix below).
69
+
70
+ "Derivative Works" shall mean any work, whether in Source or Object
71
+ form, that is based on (or derived from) the Work and for which the
72
+ editorial revisions, annotations, elaborations, or other modifications
73
+ represent, as a whole, an original work of authorship. For the purposes
74
+ of this License, Derivative Works shall not include works that remain
75
+ separable from, or merely link (or bind by name) to the interfaces of,
76
+ the Work and Derivative Works thereof.
77
+
78
+ "Contribution" shall mean any work of authorship, including
79
+ the original version of the Work and any modifications or additions
80
+ to that Work or Derivative Works thereof, that is intentionally
81
+ submitted to Licensor for inclusion in the Work by the copyright owner
82
+ or by an individual or Legal Entity authorized to submit on behalf of
83
+ the copyright owner. For the purposes of this definition, "submitted"
84
+ means any form of electronic, verbal, or written communication sent
85
+ to the Licensor or its representatives, including but not limited to
86
+ communication on electronic mailing lists, source code control systems,
87
+ and issue tracking systems that are managed by, or on behalf of, the
88
+ Licensor for the purpose of discussing and improving the Work, but
89
+ excluding communication that is conspicuously marked or otherwise
90
+ designated in writing by the copyright owner as "Not a Contribution."
91
+
92
+ "Contributor" shall mean Licensor and any individual or Legal Entity
93
+ on behalf of whom a Contribution has been received by Licensor and
94
+ subsequently incorporated within the Work.
95
+
96
+ 2. Grant of Copyright License. Subject to the terms and conditions of
97
+ this License, each Contributor hereby grants to You a perpetual,
98
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
99
+ copyright license to reproduce, prepare Derivative Works of,
100
+ publicly display, publicly perform, sublicense, and distribute the
101
+ Work and such Derivative Works in Source or Object form.
102
+
103
+ 3. Grant of Patent License. Subject to the terms and conditions of
104
+ this License, each Contributor hereby grants to You a perpetual,
105
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
106
+ (except as stated in this section) patent license to make, have made,
107
+ use, offer to sell, sell, import, and otherwise transfer the Work,
108
+ where such license applies only to those patent claims licensable
109
+ by such Contributor that are necessarily infringed by their
110
+ Contribution(s) alone or by combination of their Contribution(s)
111
+ with the Work to which such Contribution(s) was submitted. If You
112
+ institute patent litigation against any entity (including a
113
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
114
+ or a Contribution incorporated within the Work constitutes direct
115
+ or contributory patent infringement, then any patent licenses
116
+ granted to You under this License for that Work shall terminate
117
+ as of the date such litigation is filed.
118
+
119
+ 4. Redistribution. You may reproduce and distribute copies of the
120
+ Work or Derivative Works thereof in any medium, with or without
121
+ modifications, and in Source or Object form, provided that You
122
+ meet the following conditions:
123
+
124
+ (a) You must give any other recipients of the Work or
125
+ Derivative Works a copy of this License; and
126
+
127
+ (b) You must cause any modified files to carry prominent notices
128
+ stating that You changed the files; and
129
+
130
+ (c) You must retain, in the Source form of any Derivative Works
131
+ that You distribute, all copyright, patent, trademark, and
132
+ attribution notices from the Source form of the Work,
133
+ excluding those notices that do not pertain to any part of
134
+ the Derivative Works; and
135
+
136
+ (d) If the Work includes a "NOTICE" text file as part of its
137
+ distribution, then any Derivative Works that You distribute must
138
+ include a readable copy of the attribution notices contained
139
+ within such NOTICE file, excluding those notices that do not
140
+ pertain to any part of the Derivative Works, in at least one
141
+ of the following places: within a NOTICE text file distributed
142
+ as part of the Derivative Works; within the Source form or
143
+ documentation, if provided along with the Derivative Works; or,
144
+ within a display generated by the Derivative Works, if and
145
+ wherever such third-party notices normally appear. The contents
146
+ of the NOTICE file are for informational purposes only and
147
+ do not modify the License. You may add Your own attribution
148
+ notices within Derivative Works that You distribute, alongside
149
+ or as an addendum to the NOTICE text from the Work, provided
150
+ that such additional attribution notices cannot be construed
151
+ as modifying the License.
152
+
153
+ You may add Your own copyright statement to Your modifications and
154
+ may provide additional or different license terms and conditions
155
+ for use, reproduction, or distribution of Your modifications, or
156
+ for any such Derivative Works as a whole, provided Your use,
157
+ reproduction, and distribution of the Work otherwise complies with
158
+ the conditions stated in this License.
159
+
160
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
161
+ any Contribution intentionally submitted for inclusion in the Work
162
+ by You to the Licensor shall be under the terms and conditions of
163
+ this License, without any additional terms or conditions.
164
+ Notwithstanding the above, nothing herein shall supersede or modify
165
+ the terms of any separate license agreement you may have executed
166
+ with Licensor regarding such Contributions.
167
+
168
+ 6. Trademarks. This License does not grant permission to use the trade
169
+ names, trademarks, service marks, or product names of the Licensor,
170
+ except as required for reasonable and customary use in describing the
171
+ origin of the Work and reproducing the content of the NOTICE file.
172
+
173
+ 7. Disclaimer of Warranty. Unless required by applicable law or
174
+ agreed to in writing, Licensor provides the Work (and each
175
+ Contributor provides its Contributions) on an "AS IS" BASIS,
176
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
177
+ implied, including, without limitation, any warranties or conditions
178
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
179
+ PARTICULAR PURPOSE. You are solely responsible for determining the
180
+ appropriateness of using or redistributing the Work and assume any
181
+ risks associated with Your exercise of permissions under this License.
182
+
183
+ 8. Limitation of Liability. In no event and under no legal theory,
184
+ whether in tort (including negligence), contract, or otherwise,
185
+ unless required by applicable law (such as deliberate and grossly
186
+ negligent acts) or agreed to in writing, shall any Contributor be
187
+ liable to You for damages, including any direct, indirect, special,
188
+ incidental, or consequential damages of any character arising as a
189
+ result of this License or out of the use or inability to use the
190
+ Work (including but not limited to damages for loss of goodwill,
191
+ work stoppage, computer failure or malfunction, or any and all
192
+ other commercial damages or losses), even if such Contributor
193
+ has been advised of the possibility of such damages.
194
+
195
+ 9. Accepting Warranty or Additional Liability. While redistributing
196
+ the Work or Derivative Works thereof, You may choose to offer,
197
+ and charge a fee for, acceptance of support, warranty, indemnity,
198
+ or other liability obligations and/or rights consistent with this
199
+ License. However, in accepting such obligations, You may act only
200
+ on Your own behalf and on Your sole responsibility, not on behalf
201
+ of any other Contributor, and only if You agree to indemnify,
202
+ defend, and hold each Contributor harmless for any liability
203
+ incurred by, or claims asserted against, such Contributor by reason
204
+ of your accepting any such warranty or additional liability.
205
+
206
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,445 @@
1
+ Metadata-Version: 2.4
2
+ Name: vouch-protocol
3
+ Version: 1.3.0
4
+ Summary: The Identity & Reputation Standard for AI Agents
5
+ Author-email: Vouch Protocol Contributors <hello@vouch-protocol.com>
6
+ License: Apache License 2.0 (Default License)
7
+ =====================================
8
+
9
+ Copyright 2025 Vouch Protocol Contributors
10
+
11
+ This is the default license for the Vouch Protocol repository.
12
+
13
+ MULTI-LICENSE NOTICE:
14
+ ---------------------
15
+ This project uses different licenses for different components:
16
+
17
+ • Client SDK (default): Apache License 2.0 (this file)
18
+ - Applies to: Signer, Keys, Audio, TypeScript SDK, Client Integration Adapters
19
+ - Use freely in commercial and open-source projects
20
+
21
+ • Server SDK: GNU Affero General Public License v3.0 (AGPL-3.0)
22
+ - Applies to: Verifier, Revocation, Reputation, Registry components
23
+ - See: licenses/LICENSE-SERVER
24
+ - Copyleft license requiring source disclosure for network services
25
+
26
+ • Protocol Specification: Community Specification License 1.0
27
+ - Applies to: Protocol design, DID format, JWT structure
28
+ - See: licenses/LICENSE-SPEC
29
+ - Open standard with patent grants
30
+
31
+ For detailed information about which license applies to specific components,
32
+ see the licenses/ directory and README.md.
33
+
34
+ ================================================================================
35
+
36
+ Apache License
37
+ Version 2.0, January 2004
38
+ http://www.apache.org/licenses/
39
+
40
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
41
+
42
+ 1. Definitions.
43
+
44
+ "License" shall mean the terms and conditions for use, reproduction,
45
+ and distribution as defined by Sections 1 through 9 of this document.
46
+
47
+ "Licensor" shall mean the copyright owner or entity authorized by
48
+ the copyright owner that is granting the License.
49
+
50
+ "Legal Entity" shall mean the union of the acting entity and all
51
+ other entities that control, are controlled by, or are under common
52
+ control with that entity. For the purposes of this definition,
53
+ "control" means (i) the power, direct or indirect, to cause the
54
+ direction or management of such entity, whether by contract or
55
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
56
+ outstanding shares, or (iii) beneficial ownership of such entity.
57
+
58
+ "You" (or "Your") shall mean an individual or Legal Entity
59
+ exercising permissions granted by this License.
60
+
61
+ "Source" form shall mean the preferred form for making modifications,
62
+ including but not limited to software source code, documentation
63
+ source, and configuration files.
64
+
65
+ "Object" form shall mean any form resulting from mechanical
66
+ transformation or translation of a Source form, including but
67
+ not limited to compiled object code, generated documentation,
68
+ and conversions to other media types.
69
+
70
+ "Work" shall mean the work of authorship, whether in Source or
71
+ Object form, made available under the License, as indicated by a
72
+ copyright notice that is included in or attached to the work
73
+ (an example is provided in the Appendix below).
74
+
75
+ "Derivative Works" shall mean any work, whether in Source or Object
76
+ form, that is based on (or derived from) the Work and for which the
77
+ editorial revisions, annotations, elaborations, or other modifications
78
+ represent, as a whole, an original work of authorship. For the purposes
79
+ of this License, Derivative Works shall not include works that remain
80
+ separable from, or merely link (or bind by name) to the interfaces of,
81
+ the Work and Derivative Works thereof.
82
+
83
+ "Contribution" shall mean any work of authorship, including
84
+ the original version of the Work and any modifications or additions
85
+ to that Work or Derivative Works thereof, that is intentionally
86
+ submitted to Licensor for inclusion in the Work by the copyright owner
87
+ or by an individual or Legal Entity authorized to submit on behalf of
88
+ the copyright owner. For the purposes of this definition, "submitted"
89
+ means any form of electronic, verbal, or written communication sent
90
+ to the Licensor or its representatives, including but not limited to
91
+ communication on electronic mailing lists, source code control systems,
92
+ and issue tracking systems that are managed by, or on behalf of, the
93
+ Licensor for the purpose of discussing and improving the Work, but
94
+ excluding communication that is conspicuously marked or otherwise
95
+ designated in writing by the copyright owner as "Not a Contribution."
96
+
97
+ "Contributor" shall mean Licensor and any individual or Legal Entity
98
+ on behalf of whom a Contribution has been received by Licensor and
99
+ subsequently incorporated within the Work.
100
+
101
+ 2. Grant of Copyright License. Subject to the terms and conditions of
102
+ this License, each Contributor hereby grants to You a perpetual,
103
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
104
+ copyright license to reproduce, prepare Derivative Works of,
105
+ publicly display, publicly perform, sublicense, and distribute the
106
+ Work and such Derivative Works in Source or Object form.
107
+
108
+ 3. Grant of Patent License. Subject to the terms and conditions of
109
+ this License, each Contributor hereby grants to You a perpetual,
110
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
111
+ (except as stated in this section) patent license to make, have made,
112
+ use, offer to sell, sell, import, and otherwise transfer the Work,
113
+ where such license applies only to those patent claims licensable
114
+ by such Contributor that are necessarily infringed by their
115
+ Contribution(s) alone or by combination of their Contribution(s)
116
+ with the Work to which such Contribution(s) was submitted. If You
117
+ institute patent litigation against any entity (including a
118
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
119
+ or a Contribution incorporated within the Work constitutes direct
120
+ or contributory patent infringement, then any patent licenses
121
+ granted to You under this License for that Work shall terminate
122
+ as of the date such litigation is filed.
123
+
124
+ 4. Redistribution. You may reproduce and distribute copies of the
125
+ Work or Derivative Works thereof in any medium, with or without
126
+ modifications, and in Source or Object form, provided that You
127
+ meet the following conditions:
128
+
129
+ (a) You must give any other recipients of the Work or
130
+ Derivative Works a copy of this License; and
131
+
132
+ (b) You must cause any modified files to carry prominent notices
133
+ stating that You changed the files; and
134
+
135
+ (c) You must retain, in the Source form of any Derivative Works
136
+ that You distribute, all copyright, patent, trademark, and
137
+ attribution notices from the Source form of the Work,
138
+ excluding those notices that do not pertain to any part of
139
+ the Derivative Works; and
140
+
141
+ (d) If the Work includes a "NOTICE" text file as part of its
142
+ distribution, then any Derivative Works that You distribute must
143
+ include a readable copy of the attribution notices contained
144
+ within such NOTICE file, excluding those notices that do not
145
+ pertain to any part of the Derivative Works, in at least one
146
+ of the following places: within a NOTICE text file distributed
147
+ as part of the Derivative Works; within the Source form or
148
+ documentation, if provided along with the Derivative Works; or,
149
+ within a display generated by the Derivative Works, if and
150
+ wherever such third-party notices normally appear. The contents
151
+ of the NOTICE file are for informational purposes only and
152
+ do not modify the License. You may add Your own attribution
153
+ notices within Derivative Works that You distribute, alongside
154
+ or as an addendum to the NOTICE text from the Work, provided
155
+ that such additional attribution notices cannot be construed
156
+ as modifying the License.
157
+
158
+ You may add Your own copyright statement to Your modifications and
159
+ may provide additional or different license terms and conditions
160
+ for use, reproduction, or distribution of Your modifications, or
161
+ for any such Derivative Works as a whole, provided Your use,
162
+ reproduction, and distribution of the Work otherwise complies with
163
+ the conditions stated in this License.
164
+
165
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
166
+ any Contribution intentionally submitted for inclusion in the Work
167
+ by You to the Licensor shall be under the terms and conditions of
168
+ this License, without any additional terms or conditions.
169
+ Notwithstanding the above, nothing herein shall supersede or modify
170
+ the terms of any separate license agreement you may have executed
171
+ with Licensor regarding such Contributions.
172
+
173
+ 6. Trademarks. This License does not grant permission to use the trade
174
+ names, trademarks, service marks, or product names of the Licensor,
175
+ except as required for reasonable and customary use in describing the
176
+ origin of the Work and reproducing the content of the NOTICE file.
177
+
178
+ 7. Disclaimer of Warranty. Unless required by applicable law or
179
+ agreed to in writing, Licensor provides the Work (and each
180
+ Contributor provides its Contributions) on an "AS IS" BASIS,
181
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
182
+ implied, including, without limitation, any warranties or conditions
183
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
184
+ PARTICULAR PURPOSE. You are solely responsible for determining the
185
+ appropriateness of using or redistributing the Work and assume any
186
+ risks associated with Your exercise of permissions under this License.
187
+
188
+ 8. Limitation of Liability. In no event and under no legal theory,
189
+ whether in tort (including negligence), contract, or otherwise,
190
+ unless required by applicable law (such as deliberate and grossly
191
+ negligent acts) or agreed to in writing, shall any Contributor be
192
+ liable to You for damages, including any direct, indirect, special,
193
+ incidental, or consequential damages of any character arising as a
194
+ result of this License or out of the use or inability to use the
195
+ Work (including but not limited to damages for loss of goodwill,
196
+ work stoppage, computer failure or malfunction, or any and all
197
+ other commercial damages or losses), even if such Contributor
198
+ has been advised of the possibility of such damages.
199
+
200
+ 9. Accepting Warranty or Additional Liability. While redistributing
201
+ the Work or Derivative Works thereof, You may choose to offer,
202
+ and charge a fee for, acceptance of support, warranty, indemnity,
203
+ or other liability obligations and/or rights consistent with this
204
+ License. However, in accepting such obligations, You may act only
205
+ on Your own behalf and on Your sole responsibility, not on behalf
206
+ of any other Contributor, and only if You agree to indemnify,
207
+ defend, and hold each Contributor harmless for any liability
208
+ incurred by, or claims asserted against, such Contributor by reason
209
+ of your accepting any such warranty or additional liability.
210
+
211
+ END OF TERMS AND CONDITIONS
212
+
213
+ Project-URL: Homepage, https://github.com/vouch-protocol/vouch
214
+ Project-URL: Bug Tracker, https://github.com/vouch-protocol/vouch/issues
215
+ Project-URL: Documentation, https://vouch-protocol.com
216
+ Keywords: ai,agents,identity,cryptography,did,verifiable-credentials
217
+ Classifier: Development Status :: 4 - Beta
218
+ Classifier: Intended Audience :: Developers
219
+ Classifier: License :: OSI Approved :: Apache Software License
220
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
221
+ Classifier: Programming Language :: Python :: 3
222
+ Classifier: Programming Language :: Python :: 3.9
223
+ Classifier: Programming Language :: Python :: 3.10
224
+ Classifier: Programming Language :: Python :: 3.11
225
+ Classifier: Programming Language :: Python :: 3.12
226
+ Classifier: Topic :: Security :: Cryptography
227
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
228
+ Requires-Python: >=3.9
229
+ Description-Content-Type: text/markdown
230
+ License-File: LICENSE
231
+ Requires-Dist: jwcrypto>=1.5.0
232
+ Requires-Dist: pydantic>=2.0.0
233
+ Requires-Dist: httpx>=0.24.0
234
+ Provides-Extra: langchain
235
+ Requires-Dist: langchain>=0.1.0; extra == "langchain"
236
+ Provides-Extra: crewai
237
+ Requires-Dist: crewai>=0.1.0; extra == "crewai"
238
+ Provides-Extra: autogen
239
+ Requires-Dist: pyautogen>=0.2.0; extra == "autogen"
240
+ Provides-Extra: mcp
241
+ Requires-Dist: mcp>=0.1.0; extra == "mcp"
242
+ Provides-Extra: vertex
243
+ Requires-Dist: google-cloud-aiplatform>=1.0.0; extra == "vertex"
244
+ Provides-Extra: streamlit
245
+ Requires-Dist: streamlit>=1.0.0; extra == "streamlit"
246
+ Provides-Extra: server
247
+ Requires-Dist: fastapi>=0.100.0; extra == "server"
248
+ Requires-Dist: uvicorn>=0.23.0; extra == "server"
249
+ Provides-Extra: enterprise
250
+ Requires-Dist: redis>=5.0.0; extra == "enterprise"
251
+ Requires-Dist: prometheus-client>=0.17.0; extra == "enterprise"
252
+ Provides-Extra: aws
253
+ Requires-Dist: aioboto3>=12.0.0; extra == "aws"
254
+ Provides-Extra: gcp
255
+ Requires-Dist: google-cloud-kms>=2.0.0; extra == "gcp"
256
+ Provides-Extra: azure
257
+ Requires-Dist: azure-keyvault-keys>=4.0.0; extra == "azure"
258
+ Provides-Extra: tracing
259
+ Requires-Dist: opentelemetry-api>=1.20.0; extra == "tracing"
260
+ Requires-Dist: opentelemetry-sdk>=1.20.0; extra == "tracing"
261
+ Requires-Dist: opentelemetry-instrumentation-httpx>=0.40b0; extra == "tracing"
262
+ Provides-Extra: dev
263
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
264
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
265
+ Requires-Dist: black>=23.0.0; extra == "dev"
266
+ Requires-Dist: mypy>=1.0.0; extra == "dev"
267
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
268
+ Provides-Extra: all
269
+ Requires-Dist: vouch-protocol[autogen,crewai,dev,enterprise,langchain,mcp,server,streamlit,tracing,vertex]; extra == "all"
270
+ Dynamic: license-file
271
+
272
+ # Vouch Protocol
273
+
274
+ [![Discord](https://img.shields.io/badge/Discord-Join_Community-7289da?logo=discord&logoColor=white)](https://discord.gg/RXuKJDfC)
275
+ [![Spec: Community](https://img.shields.io/badge/Spec-Community_License-green.svg)](https://github.com/vouch-protocol/vouch/blob/main/licenses/LICENSE-SPEC)
276
+ [![Client: Apache 2.0](https://img.shields.io/badge/Client-Apache_2.0-blue.svg)](https://github.com/vouch-protocol/vouch/blob/main/LICENSE)
277
+ [![Server: AGPL-3.0](https://img.shields.io/badge/Server-AGPL_3.0-orange.svg)](https://github.com/vouch-protocol/vouch/blob/main/licenses/LICENSE-SERVER)
278
+ [![Status](https://img.shields.io/badge/Status-Public_Beta-yellow)](https://github.com/vouch-protocol/vouch)
279
+
280
+ > **The Open Standard for AI Agent Identity & Accountability**
281
+ >
282
+ > When Anthropic launched MCP, they solved "how agents call tools."
283
+ > They didn't solve "how we TRUST those agents."
284
+ >
285
+ > **Vouch Protocol is the SSL certificate for AI agents.**
286
+
287
+ [Read the spec →](https://github.com/vouch-protocol/vouch/blob/main/docs/vouch_guide.md) | [Join Discord →](https://discord.gg/RXuKJDfC)
288
+
289
+ ---
290
+
291
+ ## The Problem
292
+
293
+ AI agents are making real-world API calls with **ZERO cryptographic proof** of:
294
+ - **WHO** they are
295
+ - **WHAT** they intended to do
296
+ - **WHEN** they did it
297
+
298
+ **Examples of the risk:**
299
+ - Healthcare AI accesses patient data → HIPAA violation risk
300
+ - Financial AI makes unauthorized trades → Liability nightmare
301
+ - Customer service AI leaks data → Compliance failure
302
+
303
+ **Current solutions:**
304
+ - **DIY JWT signing** → No agent-specific features, security mistakes easy
305
+ - **Nothing** → Most people just YOLO it and hope for the best
306
+
307
+ ---
308
+
309
+ ## The Solution
310
+
311
+ **Vouch Protocol** provides cryptographic identity for AI agents, modeled after SSL/TLS:
312
+
313
+ ✅ **Ed25519 signatures** (industry-standard cryptography)
314
+ ✅ **JWK key format** (works with existing infrastructure)
315
+ ✅ **Audit trail** (cryptographic proof of every action)
316
+ ✅ **Framework-agnostic** (works with MCP, LangChain, CrewAI, etc.)
317
+ ✅ **Open source** (Apache 2.0 license)
318
+
319
+ **Think of it as:**
320
+ - SSL certificate = Proves website identity
321
+ - **Vouch Protocol = Proves AI agent identity**
322
+
323
+ ---
324
+
325
+ ## Why Vouch Protocol?
326
+
327
+ ### vs. DIY JWT
328
+
329
+ | Feature | Vouch Protocol | DIY JWT |
330
+ |---------|---------------|---------|
331
+ | **Agent-specific** | ✅ (designed for agents) | ❌ (generic) |
332
+ | **MCP integration** | ✅ (native) | ❌ (manual) |
333
+ | **Framework integrations** | ✅ (LangChain, CrewAI, etc.) | ❌ |
334
+ | **Audit trail format** | ✅ (standardized) | ❌ (custom) |
335
+ | **Security best practices** | ✅ (built-in) | ⚠️ (easy to mess up) |
336
+
337
+ ---
338
+
339
+ ## Quick Start
340
+
341
+ ### 1. Install
342
+ ```bash
343
+ pip install vouch-protocol
344
+ ```
345
+
346
+ ### 2. Generate Identity
347
+ ```bash
348
+ vouch init --domain your-agent.com
349
+ ```
350
+
351
+ ### 3. Sign an Action (Agent Side)
352
+ ```python
353
+ from vouch import Signer
354
+ import os
355
+
356
+ signer = Signer(
357
+ private_key=os.environ['VOUCH_PRIVATE_KEY'],
358
+ did=os.environ['VOUCH_DID']
359
+ )
360
+
361
+ token = signer.sign({'action': 'read_database', 'target': 'users'})
362
+ # Include token in Vouch-Token header
363
+ ```
364
+
365
+ ### 4. Verify (API Side)
366
+ ```python
367
+ from fastapi import FastAPI, Header, HTTPException
368
+ from vouch import Verifier
369
+
370
+ app = FastAPI()
371
+
372
+ @app.post("/api/resource")
373
+ def protected_route(vouch_token: str = Header(alias="Vouch-Token")):
374
+ public_key = '{"kty":"OKP"...}' # From agent's vouch.json
375
+
376
+ is_valid, passport = Verifier.verify(vouch_token, public_key_jwk=public_key)
377
+
378
+ if not is_valid:
379
+ raise HTTPException(status_code=401, detail="Untrusted Agent")
380
+
381
+ return {"status": "Verified", "agent": passport.sub}
382
+ ```
383
+
384
+ **That's it.** 3 lines to sign, 3 lines to verify.
385
+
386
+ ---
387
+
388
+ ## Integrations
389
+
390
+ Works with all major AI frameworks out-of-the-box:
391
+
392
+ - ✅ **Model Context Protocol (MCP)** - Native integration for Claude Desktop & Cursor
393
+ - ✅ **LangChain** - Sign tool calls automatically
394
+ - ✅ **CrewAI** - Multi-agent identity management
395
+ - ✅ **AutoGPT** - Autonomous agent signing
396
+ - ✅ **AutoGen** - Microsoft multi-agent framework
397
+ - ✅ **Google Vertex AI** - Sign function calls
398
+ - ✅ **n8n** - Low-code agent workflows
399
+
400
+ [See all integrations →](https://github.com/vouch-protocol/vouch/tree/main/vouch/integrations)
401
+
402
+ ---
403
+
404
+ ## Enterprise Features
405
+
406
+ - 🔐 **Key Rotation** - Automatic rotating keys for production
407
+ - 🎙️ **Voice AI Signing** - Sign audio frames in real-time
408
+ - ☁️ **Cloud KMS** - AWS KMS, GCP Cloud KMS, Azure Key Vault
409
+ - 📊 **Reputation Scoring** - Track agent behavior over time
410
+ - 🚫 **Revocation Registry** - Blacklist compromised keys
411
+ - ⚡ **Redis Caching** - Production-scale verification
412
+
413
+ ---
414
+
415
+ ## 📜 License & Legal
416
+
417
+ This project uses a **3-layer license structure** to balance open collaboration and sustainability:
418
+
419
+ 1. **Specification:** [Community Specification License 1.0](https://github.com/vouch-protocol/vouch/blob/main/licenses/LICENSE-SPEC)
420
+ - The protocol standard (open for anyone to implement)
421
+
422
+ 2. **Client SDK:** [Apache License 2.0](https://github.com/vouch-protocol/vouch/blob/main/LICENSE)
423
+ - The reference implementation (permissive for all uses)
424
+
425
+ 3. **Server SDK:** [AGPL-3.0](https://github.com/vouch-protocol/vouch/blob/main/licenses/LICENSE-SERVER) OR Commercial License
426
+ - Network-facing components (pass-forward obligation OR paid license)
427
+
428
+ **TL;DR for developers:**
429
+ - ✅ Using the client library? **Apache 2.0** (use freely, even in closed-source)
430
+ - ✅ Implementing the protocol yourself? **Community Spec License** (open standard)
431
+ - ⚠️ Running the server component? **AGPL** (open-source your server) OR [contact us](mailto:commercial@vouch-protocol.com) for commercial license
432
+
433
+ **Default LICENSE:** This repository's main LICENSE file is Apache 2.0 for maximum compatibility. See individual components for specific licenses.
434
+
435
+ [View licenses/ directory](https://github.com/vouch-protocol/vouch/tree/main/licenses)
436
+
437
+ ## Defensive Disclosure (Prior Art)
438
+ **Publication Date:** December 14, 2025
439
+ **Subject:** Cryptographic Binding of AI Agent Intent via Model Context Protocol (MCP)
440
+
441
+ To ensure the freedom of the ecosystem to build secure agents, we explicitly disclose the following novel method as Prior Art:
442
+
443
+ 1. **The "Identity Sidecar" Pattern:** An MCP Server acting as a local "Identity Proxy" for a stateless LLM, isolating keys from application code.
444
+ 2. **Just-in-Time (JIT) Intent Signing:** A workflow where the LLM requests a signed "Vouch-Token" for a specific action *before* execution.
445
+ 3. **Non-Repudiation:** Generating a cryptographically verifiable audit trail binding Identity, Intent, and Time.