nomyo is a Python package that provides a secure, OpenAI-compatible interface for AI inference. It wraps your API calls with military-grade encryption, ensuring your prompts and outputs never reach the model provider in plaintext.

Security Model

Hybrid Encryption

nomyo uses a dual-layer encryption approach:

  1. AES-256-GCM – Encrypts the payload (prompts, messages, responses) with authenticated encryption
  2. 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 Encryption Use Case
Standard AES-256-GCM + RSA-4096 General secure inference
High Standard + secure memory Sensitive business data
Maximum All above + memory zeroing Classified/regulated data

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

  • Paid data is never used for training
  • Free data may be used for model improvement
  • Full encryption at rest and in transit
  • No logging of encrypted payloads

Contact Us

Email: ichi@nomyo.ai

Phone: +1 (415) 289-9022

Address: 2810 N Church St, PMB 947236, Wilmington, DE 19802-4447, USA