ACI Core: Deploy Proprietary Algorithms Without Exposing Source Code
Distribute proprietary algorithms to customer infrastructure via npm with information-theoretic security. XorIDA 2-of-2 threshold sharing means Share 1 alone reveals nothing about your algorithm.
Protecting Proprietary Algorithms During npm Distribution
SaaS works for consumer apps, but enterprise customers demand on-premises deployment. Traditional npm distribution exposes your source code the moment npm install runs.
The dilemma: Enterprise contracts require you to deploy your proprietary algorithm to customer infrastructure, but npm gives them the entire codebase. Obfuscation can be reversed. Encryption keys must be stored somewhere. Legal contracts don't prevent code theft.
You need a way to deliver the algorithm to customer servers without exposing the intellectual property. That's exactly what ACI Core provides.
XorIDA 2-of-2 Threshold Sharing
ACI Core uses XorIDA threshold sharing to split your algorithm into two shares. Share 1 ships via npm. Share 2 is payment-gated on Private.Me infrastructure.
The customer runs npm install @your-vendor/algorithm and gets Share 1. When their application starts, it calls Private.Me to retrieve Share 2. Share 2 is only delivered if their Stripe subscription is active.
If the subscription expires, Share 2 stops being delivered. The algorithm stops working. No refunds needed. No access revocation infrastructure. Billing enforcement is cryptographic, not contractual.
Four Building Blocks in One Bundle
ACI Core is a bundle of four core packages. You get all four together — this is not four separate installations.
Installation & Usage
Step 1: Install the Bundle
# One package, four building blocks included
npm install @private.me/aci-core
Step 2: Configure Your Algorithm for Full Control
Upload your algorithm to Private.Me. We split it into Share 1 (public npm) and Share 2 (payment-gated). You control the vendor account and billing.
import { FullControl } from '@private.me/aci-core'; // Customer runs this on their infrastructure const algorithm = await FullControl.activate({ vendorId: 'your-vendor-id', algorithmId: 'your-algorithm-id', connectionId: 'customer-connection-id' }); // Share 2 delivered only if subscription is active const result = await algorithm.run(inputData);
Step 3: Customer Subscribes
Customer visits your Stripe Checkout page → Subscribes → Gets Share 2 delivery credentials → Algorithm works on their infrastructure.
Simple, Transparent Pricing
Free trial: 3 months on all tiers, then choose the tier that fits your needs. All tiers include the complete bundle of four building blocks.
| Tier | Price | What You Get |
|---|---|---|
| Basic | $5/month | 1 algorithm, 100 activations/month, community support |
| Middle | $10/month | 5 algorithms, 1,000 activations/month, email support |
| Enterprise | $15/month | Unlimited algorithms, unlimited activations, priority support |
Tiers: Basic $5/month, Pro $10/month, Enterprise $15/month
Purchase Endpoint
const response = await fetch('https://private.me/api/purchase', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
product: 'aci-core',
tier: 'pro', // basic | pro | enterprise
email: 'user@example.com',
}),
});
const data = await response.json();
if (!response.ok) {
// RFC 7807 structured error with fields object
console.error(data.title, data.detail, data.fields);
}
Error handling: API returns RFC 7807 Problem Details with fields object for validation errors.