Metadata-Version: 2.4
Name: you-ai-oracle
Version: 1.0.0
Summary: Production-ready AI Guardian Service for DAO governance
Author-email: Shivay Singh <shivaysinghrajputofficial@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Shivay00001/youdao
Project-URL: Repository, https://github.com/Shivay00001/youdao
Keywords: dao,oracle,blockchain,ai,governance,web3
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# YOU.AI Oracle

A production-ready **AI Guardian Service** designed to monitor blockchain proposals, perform rule-based decision-making, and interact with DAO smart contracts.

## 🚀 Overview

YOU.AI Oracle is a sophisticated decision-making engine that acts as a guardian for DAOs. It uses a rule-based AI approach (no LLM dependencies) to evaluate proposals based on a "Founder Personality" profile, ensuring alignment with core values and vision.

## ✨ Key Features

- **Rule-Based Decision Engine**: Advanced NLP and pattern matching for proposal analysis.
- **Blockchain Integration**: Seamless interaction with Ethereum-based smart contracts using Web3.py.
- **Persistent Storage**: SQLite and Redis integration for decision caching and state management.
- **Security First**: Production-ready logging and error handling for high-stakes governance.
- **Extensible Architecture**: Easily customizable personality profiles and decision factors.

## 🛠️ Components

- **DecisionEngine**: The core logic identifying alignment, risk, and innovation.
- **YOUAIOracle**: The main service orchestrating blockchain monitoring and transaction submission.
- **FounderPersonality**: A data-driven model representing governance values.

## 📦 Installation

```bash
pip install you-ai-oracle
```

## ⚙️ Configuration

The service requires a `config.yaml` with the following structure:

```yaml
ethereum:
  rpc_url: "YOUR_RPC_URL"
  you_dao_address: "0x..."
  ai_guardian_address: "0x..."
oracle:
  private_key: "YOUR_PRIVATE_KEY"
redis:
  host: "localhost"
  port: 6379
```

## 📄 License

MIT License
