{"_id":"@agp-protocol/sdk","_rev":"2-d604eff3f9f2c3ce52457b9708253373","name":"@agp-protocol/sdk","dist-tags":{"latest":"0.5.1"},"versions":{"0.5.0":{"name":"@agp-protocol/sdk","version":"0.5.0","keywords":["ai","agents","governance","accountability","compliance","agp"],"license":"Apache-2.0","_id":"@agp-protocol/sdk@0.5.0","maintainers":[{"name":"cunardai_org","email":"arnab@cunardai.com"}],"homepage":"https://agp.dev","bugs":{"url":"https://github.com/cunardai/agp/issues"},"dist":{"shasum":"bc08d4449fc07b85b9e76bd2e49c5b6667d6c9d8","tarball":"https://registry.npmjs.org/@agp-protocol/sdk/-/sdk-0.5.0.tgz","fileCount":7,"integrity":"sha512-n+pjQ1B0eXIfl1HuNbAKXwzcGqqwNeVLDPJCq5nD24Dh88op6QJ9Mb3DGCFvt+rngXGDfMJnDtAid3I7n1uhvA==","signatures":[{"sig":"MEUCIGwbCQRF3oWnc4taEjsvUrLXNyemXGPEKlZaKG8kJdE7AiEArnCExU1/h3VAKjcDyXT3NL2rU3mVwTF3DJOGiOs96Lk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":209490},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"3fe2b0d914ba478f1ea841135b6df1197e90e202","scripts":{"dev":"tsup --watch","test":"AGP_BASE_URL=${AGP_BASE_URL:-http://localhost:8099} vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"AGP_BASE_URL=${AGP_BASE_URL:-http://localhost:8099} vitest"},"_npmUser":{"name":"cunardai_org","email":"arnab@cunardai.com"},"repository":{"url":"git+https://github.com/cunardai/agp.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript/Node.js SDK for the Agent Governance Protocol","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^2.1.9","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.0_1776337091428_0.33124224007782144","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@agp-protocol/sdk","version":"0.5.1","description":"TypeScript/Node.js SDK for the Agent Governance Protocol","homepage":"https://agp.dev","repository":{"type":"git","url":"git+https://github.com/cunardai/agp.git"},"license":"Apache-2.0","keywords":["ai","agents","governance","accountability","compliance","agp"],"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit","test":"AGP_BASE_URL=${AGP_BASE_URL:-http://localhost:8099} vitest run","test:watch":"AGP_BASE_URL=${AGP_BASE_URL:-http://localhost:8099} vitest"},"engines":{"node":">=18.0.0"},"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","vitest":"^2.1.9"},"_id":"@agp-protocol/sdk@0.5.1","gitHead":"8c32df35d0dccd47113647de473d2b68cee8b738","bugs":{"url":"https://github.com/cunardai/agp/issues"},"_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-KCBzBIP0tMI9ybXwGN06f04k5NBuwYDfhKPCEED6FXfAkpPSeN8SeWP3szebyMdAAUrZjYv4SPk96hrNHz6abQ==","shasum":"f3d3d6e76ae004a0ba025508ba5e5406d3f2b9cc","tarball":"https://registry.npmjs.org/@agp-protocol/sdk/-/sdk-0.5.1.tgz","fileCount":8,"unpackedSize":210795,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHEtV15wlZTRxTeIEGHHk8sBdQK+lBir3r652V6nFdm0AiBUvKQPm8TpETYEcOamNbHybi3xtPYM99oPrwb8Poqjvg=="}]},"_npmUser":{"name":"cunardai_org","email":"arnab@cunardai.com"},"directories":{},"maintainers":[{"name":"cunardai_org","email":"arnab@cunardai.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.5.1_1776337807625_0.26137087275251547"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-16T10:58:11.325Z","modified":"2026-04-16T11:10:07.909Z","0.5.0":"2026-04-16T10:58:11.566Z","0.5.1":"2026-04-16T11:10:07.773Z"},"bugs":{"url":"https://github.com/cunardai/agp/issues"},"license":"Apache-2.0","homepage":"https://agp.dev","keywords":["ai","agents","governance","accountability","compliance","agp"],"repository":{"type":"git","url":"git+https://github.com/cunardai/agp.git"},"description":"TypeScript/Node.js SDK for the Agent Governance Protocol","maintainers":[{"name":"cunardai_org","email":"arnab@cunardai.com"}],"readme":"# @agp-protocol/sdk\n\nTypeScript/Node.js SDK for the [Agent Governance Protocol](https://agp.dev) — a governance protocol for autonomous agents operating in high-stakes, regulated, and multi-stakeholder environments.\n\nBuilt and maintained by [CunardAI](https://cunardai.com).\n\n## Install\n\n```bash\nnpm install @agp-protocol/sdk\n```\n\n## Quick start\n\n```typescript\nimport { AGPClient } from \"@agp-protocol/sdk\";\n\nconst client = new AGPClient({ baseUrl: \"https://your-agp-server\" });\n\n// Register a task\nconst task = await client.registry.registerTask({ ... });\n\n// Request a policy decision\nconst decision = await client.decision.evaluate(task.task_id);\n\n// Submit an action envelope\nconst result = await client.execution.submit({ task_id: task.task_id, ... });\n```\n\n## Clients\n\n| Client | Description |\n|---|---|\n| `AGPClient` | Top-level client — composes all three domains |\n| `RegistryClient` | Task registration and capability scoping |\n| `DecisionClient` | Policy evaluation and approval workflows |\n| `ExecutionClient` | Action envelope submission and audit ledger |\n\n## Links\n\n- [Protocol spec](https://agp.dev)\n- [Python SDK](https://pypi.org/project/agp-sdk/)\n- [GitHub](https://github.com/cunardai/agp)\n- [Apache-2.0 License](https://github.com/cunardai/agp/blob/main/LICENSE)\n","readmeFilename":"README.md"}