nomyo is a Python package that provides a secure, OpenAI-compatible interface for AI inference. It encrypts prompts and responses with AES-256-GCM before they leave your system and offers hardened processing options on the elevated tiers – inference inside an Intel SGX enclave and per-request TPM 2.0 hardware attestation. The binding description of what is encrypted, logged, and where plaintext exists is the Data Handling Commitments, Section 4.
Security Model
Hybrid Encryption
nomyo uses a dual-layer encryption approach:
- AES-256-GCM – Encrypts the payload (prompts, messages, responses) with authenticated encryption
- RSA-OAEP 4096-bit – Handles key exchange, providing secure key distribution
Forward Secrecy
Each request generates ephemeral AES keys that are destroyed after use. Even if a key is compromised, past and future communications remain secure.
Security Tiers
| Tier | What It Adds | Use Case |
|---|---|---|
| Standard | AES-256-GCM + RSA-4096, secure tokenizer | General secure inference |
| High | CPU inference inside an Intel SGX enclave (hardware-encrypted enclave memory; SGX does not cover GPU memory), plus secure memory handling on the client | Sensitive business data |
| Maximum | High plus per-request TPM 2.0 hardware attestation of firmware, Secure Boot and application binary | Regulated and special-category data – requires a signed addendum for health data (no HIPAA BAA offered today) |
API Compatibility
nomyo is a drop-in replacement for the OpenAI Python SDK:
from nomyo import OpenAI
client = OpenAI(
base_url="https://api.nomyo.ai/v1",
api_key="your-nomyo-key"
)
response = client.chat.completions.create(
model="nomyo.ai:teammate",
messages=[{"role": "user", "content": "Hello"}]
)
Key Management
- Keys are generated and stored locally
- Support for hardware security modules (HSM)
- Automatic key rotation
- Secure key import/export
Migration from OpenAI
Migrating to nomyo requires minimal changes:
# Before (OpenAI)
from openai import OpenAI
client = OpenAI(api_key="your-openai-key")
# After (nomyo)
from nomyo import OpenAI
client = OpenAI(
base_url="https://api.nomyo.ai/v1",
api_key="your-nomyo-key"
)
All other code remains identical.
Installation
pip install nomyo
Data Privacy
What NOMYO stores, logs, encrypts, and whether your content is ever processed in plaintext is defined in the Data Handling Commitments. That document is the legally binding description, not this page.
Contact Us
Email: ichi@nomyo.ai
Phone: +1 (415) 289-9022
Address: 2810 N Church St, PMB 947236, Wilmington, DE 19802-4447, USA