Agentics Package Manager (AGPK) is a JavaScript toolchain that bundles, encrypts with AES-256-CTR, and compiles JavaScript/TypeScript projects into native binaries. Version 1.2.4 current. It also functions as a full package manager with dependency resolution, global store, and lockfile management, competing with npm, yarn, pnpm, and bun. Key differentiator: unlike bundlers that produce readable output (obfuscation or bytecode), AGPK encrypts source code and compiles to native binaries with key splitting and runtime memory-only execution, protecting intellectual property at the binary level.
npm install agpkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Programmatic compile of a JS/TS project to an encrypted native binary using AGPK, demonstrating the default export and compile function.
Recompile your project with AGPK v2. Set algorithm: 'aes-256-ctr' in options for backward compatibility if needed.
Upgrade to Node.js 18 or later.
Use 'agpk bundle-compile' instead.
Test binaries on target OS. Consider submitting false positive reports to antivirus vendors.
Use AGPK_DEBUG=1 for development debugging.
Provide a key of exactly 32 bytes (256 bits). For example: const key = crypto.randomBytes(32).toString('hex');Add 'main' to package.json or pass 'entry' option explicitly.
Use ESM import or use const agpk = require('agpk').default;