# Lace - AI Training Transparency Protocol
[](https://badge.fury.io/py/lace-client)
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://pypi.org/project/lace-client/)
**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
```bash
pip install lace-client
```
```python
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](https://withlace.ai/request-demo)
```bash
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
```python
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
```python
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
```python
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
- **Docs:** [https://withlace.ai/docs](https://withlace.ai/docs)
- **Website:** [https://withlace.ai](https://withlace.ai)
## 🤝 Support
- **Email:** support@withlace.ai
- **Website:** [https://withlace.ai](https://withlace.ai)
## 📄 License
Apache License 2.0 - Copyright (c) 2025 Aegis Testing Technologies LLC
---
**Stop worrying about copyright lawsuits. Start building with confidence.**
[Get Started Free →](https://withlace.ai)
Raw data
{
"_id": null,
"home_page": "https://github.com/Aegis-Testing-Technologies/aegis-techspike",
"name": "lace-client",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "ai, copyright, compliance, training, transparency, legal",
"author": "Aegis Testing Technologies LLC",
"author_email": "Aegis Testing Technologies LLC <support@withlace.ai>",
"download_url": "https://files.pythonhosted.org/packages/40/e6/a5236058221a8033ff0c35f687fdcde79dc8bdcd09cece332b727fe956f6/lace_client-0.5.12.tar.gz",
"platform": null,
"description": "# Lace - AI Training Transparency Protocol\n\n[](https://badge.fury.io/py/lace-client)\n[](https://www.apache.org/licenses/LICENSE-2.0)\n[](https://pypi.org/project/lace-client/)\n\n**Prevent copyright lawsuits by proving what you DIDN'T train on.**\n\nLace 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.\n\n## \ud83d\ude80 Quick Start\n\n```bash\npip install lace-client\n```\n\n```python\nimport lace\n\n# Before training: Create attestation of your dataset\nattestation_id = lace.attest(\"./training_data\")\n\n# During training: One-line integration (zero overhead)\nlace.monitor() # Automatically hooks into PyTorch/TensorFlow\n\n# After training: Verify if specific content was in training data\nresult = lace.verify(attestation_id, check_copyright=\"Text to check\")\nprint(f\"Result: {result['detection']}\") # \"FOUND\" or \"NOT_FOUND\"\nprint(f\"Confidence: {result['confidence']}%\") # Binary confidence level\n```\n\n## \ud83d\udd11 Get Your API Key\n\nAll processing happens in our secure cloud infrastructure for maximum accuracy and IP protection.\n\n**Get your free API key:** [https://withlace.ai/request-demo](https://withlace.ai/request-demo)\n\n```bash\nexport LACE_API_KEY=your_api_key_here\n```\n\n## \ud83d\udca1 How It Works\n\n1. **Attestation**: Before training, Lace creates a cryptographic fingerprint of your dataset\n2. **Monitoring**: During training, Lace captures training patterns using multiple proprietary methods\n3. **Verification**: After training, Lace analyzes the relationship between your model and dataset\n4. **Legal Evidence**: Get legally-sufficient evidence showing what was and wasn't in your training data\n\n## \ud83d\udcca Integration Examples\n\n### HuggingFace Transformers\n\n```python\nfrom transformers import Trainer\nimport lace\n\n# Create attestation\nattestation_id = lace.attest(\"./data\")\n\n# Start monitoring\nlace.monitor()\n\n# Train normally\ntrainer = Trainer(model, args, dataset)\ntrainer.train()\n\n# Verify copyright content\nresult = lace.verify(attestation_id, check_copyright=\"Copyrighted text\")\nprint(f\"Was this text in training data? {result['detection']}\")\n```\n\n### PyTorch\n\n```python\nimport torch\nimport lace\n\n# Start monitoring\nlace.monitor()\n\n# Your normal training loop\nfor epoch in range(epochs):\n for batch in dataloader:\n loss = model(batch)\n loss.backward() # Automatically captured!\n optimizer.step()\n```\n\n### TensorFlow/Keras\n\n```python\nimport tensorflow as tf\nimport lace\n\n# Start monitoring\nlace.monitor()\n\n# Your normal training\nmodel.fit(x_train, y_train, epochs=10) # Automatically captured!\n```\n\n## \ud83d\udee1\ufe0f Legal Protection\n\nLace combines multiple proprietary verification methods to provide legally defensible evidence:\n\n- **Cryptographic attestations** that cannot be forged\n- **Training pattern analysis** using proprietary algorithms\n- **Multi-factor verification** across different metrics\n- **High-confidence detection** with rigorous validation\n\nOur 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.\n\n## \ud83c\udfe2 Enterprise Features\n\n- **Unlimited attestations**: No limits on dataset size\n- **Priority support**: Direct email support with SLA\n- **SLA guarantees**: 99.9% uptime commitment\n- **Custom deployment**: On-premise options available\n\n**Contact:** support@withlace.ai\n\n## \ud83d\udcd6 Documentation\n\n- **Docs:** [https://withlace.ai/docs](https://withlace.ai/docs)\n- **Website:** [https://withlace.ai](https://withlace.ai)\n\n## \ud83e\udd1d Support\n\n- **Email:** support@withlace.ai\n- **Website:** [https://withlace.ai](https://withlace.ai)\n\n## \ud83d\udcc4 License\n\nApache License 2.0 - Copyright (c) 2025 Aegis Testing Technologies LLC\n\n---\n\n**Stop worrying about copyright lawsuits. Start building with confidence.**\n\n[Get Started Free \u2192](https://withlace.ai)\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Lace: AI Training Transparency Protocol - Prevent copyright lawsuits with cryptographic proof",
"version": "0.5.12",
"project_urls": {
"Get API Key": "https://withlace.ai/request-demo",
"Homepage": "https://github.com/Aegis-Testing-Technologies/aegis-techspike",
"documentation": "https://withlace.ai/docs",
"homepage": "https://withlace.ai"
},
"split_keywords": [
"ai",
" copyright",
" compliance",
" training",
" transparency",
" legal"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "afd17bd892f43043aebdc10d660b8e32af73f334b0891fca8ef74dd7e7f1c601",
"md5": "64cd3c8debbbea9cd28c70b30f3c33f6",
"sha256": "f17cba64112e2979bdf26abc59fd0a220e6cf2092544b18618096fc68ee92a42"
},
"downloads": -1,
"filename": "lace_client-0.5.12-py3-none-any.whl",
"has_sig": false,
"md5_digest": "64cd3c8debbbea9cd28c70b30f3c33f6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 15619,
"upload_time": "2025-08-16T15:38:48",
"upload_time_iso_8601": "2025-08-16T15:38:48.387530Z",
"url": "https://files.pythonhosted.org/packages/af/d1/7bd892f43043aebdc10d660b8e32af73f334b0891fca8ef74dd7e7f1c601/lace_client-0.5.12-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "40e6a5236058221a8033ff0c35f687fdcde79dc8bdcd09cece332b727fe956f6",
"md5": "62980cbdf4b5f83191914b481bf66b28",
"sha256": "0d2be1f322d99223e76746f84390250e3109d1343730ef801f54dca106e30f2e"
},
"downloads": -1,
"filename": "lace_client-0.5.12.tar.gz",
"has_sig": false,
"md5_digest": "62980cbdf4b5f83191914b481bf66b28",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 32425,
"upload_time": "2025-08-16T15:38:49",
"upload_time_iso_8601": "2025-08-16T15:38:49.736310Z",
"url": "https://files.pythonhosted.org/packages/40/e6/a5236058221a8033ff0c35f687fdcde79dc8bdcd09cece332b727fe956f6/lace_client-0.5.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-16 15:38:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Aegis-Testing-Technologies",
"github_project": "aegis-techspike",
"github_not_found": true,
"lcname": "lace-client"
}