Metadata-Version: 2.4
Name: love-ai
Version: 1.2.0
Summary: Learnable Object Valuation Engine - Ethical governance system for computational decisions
Project-URL: Homepage, https://github.com/love-ai-engine/love-ai
Project-URL: Documentation, https://github.com/love-ai-engine/love-ai/blob/main/LOVE%20IS%20ALL%20YOU%20NEED.md
Project-URL: Repository, https://github.com/love-ai-engine/love-ai
Project-URL: Bug Tracker, https://github.com/love-ai-engine/love-ai/issues
Author-email: Jorge Checa Jaspe <engine.ops.love@gmail.com>
License: AGPL-3.0
License-File: LICENSE
Keywords: ai,decision-making,ethics,governance,protection
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Provides-Extra: api
Requires-Dist: google-generativeai>=0.3.0; extra == 'api'
Provides-Extra: dev
Requires-Dist: black>=22.0; extra == 'dev'
Requires-Dist: flake8>=5.0; extra == 'dev'
Requires-Dist: mypy>=0.990; extra == 'dev'
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Description-Content-Type: text/markdown

# 💎 LOVE AI - Learnable Object Valuation Engine

**Ethical Governance System for Computational Decisions**

[![PyPI version](https://badge.fury.io/py/love-ai.svg)](https://badge.fury.io/py/love-ai)
[![Python](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/)
[![License: AGPLv3](https://img.shields.io/badge/License-AGPLv3-red.svg)](LICENSE)
![Visitors](https://api.visitorbadge.io/api/visitors?path=love-ai-engine/love-ai&label=LOVE%20Visits&countColor=%23263759&style=flat)

---

## 🎯 What is LOVE?

LOVE is a framework that helps computational systems take **ethical decisions** about potentially destructive actions, using principles of informational preservation and weighted attention.

**Simply put**: It protects what is fragile without paralyzing the system.

> *"Love is the human name for the universal principle of complexity preservation."*

---

## 🚀 Getting Started

### 1. [📚 User Documentation](DOCS.md)
**Go here if you want to:**
*   Install the library
*   See code examples (`is_allowed`, `decide`)
*   Configure thresholds (`heart.txt`)
*   Understand the metrics

### 2. [🔬 Scientific Paper](LOVE%20IS%20ALL%20YOU%20NEED.md)
**Go here if you want to:**
*   Understand the underlying math (Entropy, Omega, Forgiveness)
*   See the experimental validation results
*   Read about the philosophical implications of "Machine Love"

---

## ⚡ Installation

```bash
# Basic installation (offline mode)
pip install love-ai

# With API support (accurate stress analysis)
pip install love-ai[api]
```

---

## 🌍 Beyond Files: Universal Applications

LOVE AI is domain-agnostic. The "Entropy" and "Cluster" concepts can be adapted to any field:

### 1. DevOps & Infrastructure
*   **Object:** A production server.
*   **Entropy:** CPU load, memory complexity, number of active connections (High = Fragile state).
*   **Decision:** "Should I restart this container?"
*   *Result:* LOVE protects busy servers from accidental restarts by tired engineers.

### 2. Community Management
*   **Object:** A user account.
*   **Entropy:** Account age, karma, post history complexity.
*   **Decision:** "Should I ban this user?"
*   *Result:* Protecting veteran users (high complexity) from automated ban hammers, while allowing quick bans for zero-entropy spam bots.

### 3. Robotics
*   **Object:** An obstacle in the path.
*   **Entropy:** Visual complexity (Texture, edges, irregularity).
*   **Decision:** "Should I crush it or go around?"
*   *Result:* A rover might crush a rock (low entropy) but stop before a flower or a lost artifact (high entropy).

---

## 📄 License

**AGPLv3** - see [LICENSE](LICENSE)

---

## 🙏 Acknowledgements

LOVE is the result of human and multi-AI collaboration:
- **Gemini**: Architecture and validation
- **ChatGPT**: Forgiveness concepts
- **Claude**: Integration and refinement
- **Grok**: Stochastic exploration ideas

---

> **LEGAL NOTICE**: This software is free software under **AGPLv3** license. If you are a company and wish to integrate this engine into a proprietary commercial product without releasing your source code, contact us for a **Commercial License**.

## 📞 Contact

- **Commercial**: engine.ops.love@gmail.com
- **Docs**: [User Guide](DOCS.md)

---

<p align="center">
  <i>"Preserving what's fragile, allowing what's reversible"</i>
</p>
