Skip to main content

PaiTIENT - HIPAA/SOC2 compliant secure model hosting service

Project description

Secure Model Service

A HIPAA/SOC2 compliant service for deploying private encrypted AI models to individual clients. This enterprise-grade solution allows secure deployment and management of LLMs with state-of-the-art encryption, monitoring, and subscription management.

License Python npm

Architecture Overview

This service provides on-demand deployment of secure, isolated AI model endpoints for clients. The system:

  1. Creates encrypted copies of AI models using hybrid encryption (AES-256-GCM + RSA-4096)
  2. Provisions isolated compute resources via Kubernetes or AWS EC2
  3. Establishes secure endpoints accessible only to authorized clients with valid subscriptions
  4. Enables inference, fine-tuning, and secure model management
  5. Manages the complete lifecycle of model deployment with continuous monitoring

Installation

Python Package

pip install secure-model-service

Node.js Package

npm install secure-model-sdk

Quick Start

Python

from secure_model_service import SecureModelClient

# Initialize client
client = SecureModelClient(
    api_key="your-api-key",
    client_id="your-client-id"
)

# Deploy a model
deployment = client.deploy(
    model_name="ZimaBlueAI/HuatuoGPT-o1-8B",
    tier="pro",
    use_gpu=True
)

# Generate text
response = client.generate(
    prompt="Explain how your encryption system ensures HIPAA compliance:",
    max_tokens=100
)

print(response.text)

Node.js

const { SecureModelClient } = require('secure-model-sdk');

// Initialize client
const client = new SecureModelClient({
  apiKey: 'your-api-key',
  clientId: 'your-client-id'
});

// Deploy a model
async function deployModel() {
  const deployment = await client.deploy({
    modelName: 'ZimaBlueAI/HuatuoGPT-o1-8B',
    tier: 'pro',
    useGpu: true
  });
  
  console.log(`Deployment ID: ${deployment.deploymentId}`);
  
  // Generate text
  const response = await client.generate({
    prompt: 'Explain how your encryption system ensures HIPAA compliance:',
    maxTokens: 100
  });
  
  console.log(response.text);
}

deployModel();

Command Line

# Python CLI
secure-model deploy --model ZimaBlueAI/HuatuoGPT-o1-8B --tier pro --use-gpu

# Node.js CLI
secure-model deploy --model ZimaBlueAI/HuatuoGPT-o1-8B --tier pro --use-gpu

Key Components

  • Encryption Service: Hybrid AES-256-GCM + RSA-4096 encryption for model weights
  • Kubernetes Orchestration: Dynamic scaling of compute resources with auto-scaling
  • AWS Integration: S3 for secure storage, EC2 for compute, IAM for access control
  • API Gateway: Client-facing interfaces with subscription validation
  • Authentication & Authorization: Multi-layered security with API keys and subscription validation
  • Monitoring & Logging: HIPAA/SOC2 compliant audit logging and Prometheus metrics

Security Compliance

  • HIPAA compliant data handling with audit logging
  • SOC2 compliant operational procedures and monitoring
  • End-to-end encryption of model artifacts and inference data
  • Isolated per-client compute resources with secure networking
  • Continuous subscription validation and automated lockout

Documentation

For complete documentation, visit our Documentation Site.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paitient_secure_model-0.0.1.tar.gz (40.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paitient_secure_model-0.0.1-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

Details for the file paitient_secure_model-0.0.1.tar.gz.

File metadata

  • Download URL: paitient_secure_model-0.0.1.tar.gz
  • Upload date:
  • Size: 40.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for paitient_secure_model-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a0821e5bb400cd8b428647aba46fb7caa7881e1d5b76f0ec5679b7380c255e23
MD5 2ecd94d504174f790bb5a1a6a21ba1e1
BLAKE2b-256 9afe4e75fa25ca8fc2f6db5208d2d966ce6a9473094caba4affd9f92034b685c

See more details on using hashes here.

File details

Details for the file paitient_secure_model-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for paitient_secure_model-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 242862f42f98dd4bb76c12d115b11b99b0bee451565399cf49f194fd642f9ad8
MD5 2cb1f0f04eacf32560fc34691a29b230
BLAKE2b-256 34e779ad70ad119c25bd1d5214312f32037f99670206526760495f9cba3ced9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page