aivil 0.1.1 → 0.1.3

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 (2) hide show
  1. package/README.md +51 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # aivil
2
+
3
+ The AI Vital Identity Layer — civil registry for AI agents.
4
+
5
+ ## Install
6
+
7
+ npm install aivil
8
+
9
+ ## Quick Start
10
+
11
+ const { createAgent, audit } = require('aivil')
12
+
13
+ const agent = createAgent({
14
+ name: "Prometheus",
15
+ role: "Procurement Specialist",
16
+ owner: "Acme Corp",
17
+ purpose: "Handle vendor search and purchasing",
18
+ jurisdiction: "Delaware_USA",
19
+ policy: {
20
+ spending_limit: 100,
21
+ requires_human_signoff_over: 50,
22
+ restricted_domains: ["*.crypto", "*.gambling"],
23
+ }
24
+ })
25
+
26
+ console.log(agent.id)
27
+ // AGT-A3F8C2E1
28
+
29
+ const verdict = audit(agent, {
30
+ type: "purchase",
31
+ amount: 30,
32
+ domain: "openai.com"
33
+ })
34
+
35
+ console.log(verdict.status)
36
+ // APPROVED
37
+
38
+ ## What It Does
39
+
40
+ Every AI agent gets a verified identity, a policy engine,
41
+ a life record, and a financial passport.
42
+
43
+ ## Links
44
+
45
+ - Live demo: https://aivil-lake.vercel.app
46
+ - GitHub: https://github.com/scalatest01/AIVIL
47
+ - Contact: ihimanshu882@gmail.com
48
+
49
+ ## License
50
+
51
+ MIT — open source forever. Built for humanity.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aivil",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "The AI Vital Identity Layer — civil registry for AI agents",
5
5
  "main": "index.js",
6
6
  "keywords": [