Skip to main content

Lace: AI Training Transparency Protocol - Prevent copyright lawsuits with cryptographic proof

Project description

Lace - AI Training Transparency Protocol

PyPI version License: Apache 2.0 Python

Prevent copyright lawsuits by proving what you DIDN'T train on.

Lace provides cryptographic proof of AI training provenance through multiple proprietary verification methods. When model outputs resemble copyrighted content, you can prove definitively whether that content was in your training data.

🚀 Quick Start

pip install lace-client
import lace

# Before training: Create attestation of your dataset
attestation_id = lace.attest("./training_data")

# During training: One-line integration (zero overhead)
lace.monitor()  # Automatically hooks into PyTorch/TensorFlow

# After training: Verify if specific content was in training data
result = lace.verify(attestation_id, check_copyright="Text to check")
print(f"Result: {result['detection']}")  # "FOUND" or "NOT_FOUND"
print(f"Confidence: {result['confidence']}%")  # Binary confidence level

🔑 Get Your API Key

All processing happens in our secure cloud infrastructure for maximum accuracy and IP protection.

Get your free API key: https://withlace.ai/request-demo

export LACE_API_KEY=your_api_key_here

💡 How It Works

  1. Attestation: Before training, Lace creates a cryptographic fingerprint of your dataset
  2. Monitoring: During training, Lace captures training patterns using multiple proprietary methods
  3. Verification: After training, Lace analyzes the relationship between your model and dataset
  4. Legal Evidence: Get legally-sufficient evidence showing what was and wasn't in your training data

📊 Integration Examples

HuggingFace Transformers

from transformers import Trainer
import lace

# Create attestation
attestation_id = lace.attest("./data")

# Start monitoring
lace.monitor()

# Train normally
trainer = Trainer(model, args, dataset)
trainer.train()

# Verify copyright content
result = lace.verify(attestation_id, check_copyright="Copyrighted text")
print(f"Was this text in training data? {result['detection']}")

PyTorch

import torch
import lace

# Start monitoring
lace.monitor()

# Your normal training loop
for epoch in range(epochs):
    for batch in dataloader:
        loss = model(batch)
        loss.backward()  # Automatically captured!
        optimizer.step()

TensorFlow/Keras

import tensorflow as tf
import lace

# Start monitoring
lace.monitor()

# Your normal training
model.fit(x_train, y_train, epochs=10)  # Automatically captured!

🛡️ Legal Protection

Lace combines multiple proprietary verification methods to provide legally defensible evidence:

  • Cryptographic attestations that cannot be forged
  • Training pattern analysis using proprietary algorithms
  • Multi-factor verification across different metrics
  • High-confidence detection with rigorous validation

Our verification provides strong technical evidence suitable for copyright defense. When accused of training on copyrighted content, you have definitive proof of what was and wasn't in your dataset.

🏢 Enterprise Features

  • Unlimited attestations: No limits on dataset size
  • Priority support: Direct email support with SLA
  • SLA guarantees: 99.9% uptime commitment
  • Custom deployment: On-premise options available

Contact: support@withlace.ai

📖 Documentation

🤝 Support

📄 License

Apache License 2.0 - Copyright (c) 2025 Aegis Testing Technologies LLC


Stop worrying about copyright lawsuits. Start building with confidence.

Get Started Free →

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

lace_client-0.5.13.tar.gz (107.6 kB view details)

Uploaded Source

Built Distribution

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

lace_client-0.5.13-py3-none-any.whl (76.8 kB view details)

Uploaded Python 3

File details

Details for the file lace_client-0.5.13.tar.gz.

File metadata

  • Download URL: lace_client-0.5.13.tar.gz
  • Upload date:
  • Size: 107.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for lace_client-0.5.13.tar.gz
Algorithm Hash digest
SHA256 b60a87a696479008b64a54b1f1f24571cfcd0ea4abc2bd2912e9a2008dfea956
MD5 a94951c7d8f0d32f42f1a554f3fbc218
BLAKE2b-256 3372d470a2b866e1e2856af35b20b01cc3a9a1df7239e2f4e5614857f9ad1f40

See more details on using hashes here.

File details

Details for the file lace_client-0.5.13-py3-none-any.whl.

File metadata

  • Download URL: lace_client-0.5.13-py3-none-any.whl
  • Upload date:
  • Size: 76.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for lace_client-0.5.13-py3-none-any.whl
Algorithm Hash digest
SHA256 dac976f91a0c5c6db0f315b3104ca4b5263e60c6802b8b311782239be0b48530
MD5 013919062e72ae950a5ccba722abfd63
BLAKE2b-256 ae2bfcbcc723eafb57e6c981ecd0add9e742fb0df52fddab844d5d4af2b0b2fa

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