Metadata-Version: 2.4
Name: anna-protocol-sdk
Version: 1.2.8
Summary: SDK oficial em Python para o ANNA Protocol - Identidade e Reputação para Agentes de IA
Home-page: https://annaprotocol.com
Author: ANNA Protocol Team
Author-email: ANNA Protocol Team <support@annaprotocol.com>
License: MIT
Project-URL: Homepage, https://annaprotocol.com
Project-URL: Documentation, https://annaprotocol.github.io/annaprotocol/
Project-URL: Repository, https://github.com/anna-protocol/sdk-python
Project-URL: Bug Tracker, https://github.com/anna-protocol/sdk-python/issues
Project-URL: Changelog, https://github.com/anna-protocol/sdk-python/blob/main/CHANGELOG.md
Keywords: blockchain,ethereum,polygon,artificial-intelligence,ai,identity,reputation,attestation,decentralized,web3,smart-contracts,metadata,traceability
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Distributed Computing
Classifier: Topic :: Security :: Cryptography
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: web3>=6.0.0
Requires-Dist: eth-account>=0.8.0
Provides-Extra: dev
Requires-Dist: pytest>=7.4.0; extra == "dev"
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: mypy>=1.5.0; extra == "dev"
Requires-Dist: flake8>=6.1.0; extra == "dev"
Requires-Dist: isort>=5.12.0; extra == "dev"
Provides-Extra: docs
Requires-Dist: sphinx>=7.0.0; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=1.3.0; extra == "docs"
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# ANNA Protocol SDK

**Making AI Decisions Accountable**

ANNA Protocol is a blockchain infrastructure that makes AI decisions auditable, traceable, and trustworthy.

## 🚀 Quick Start

### Installation
```bash
pip install anna-protocol
```

### Basic Usage
```python
from anna_protocol import ANNAClient, create_reasoning

# Initialize client
client = ANNAClient(
    private_key="0x...",
    network="polygon-amoy"
)

# Create reasoning
reasoning = create_reasoning(
    input_text="Credit analysis for customer #123",
    steps=[
        ("Score verification", "Credit score: 750"),
        ("Income analysis", "Monthly income: $5,000"),
        ("Decision", "APPROVED - Low risk profile")
    ],
    conclusion="Credit APPROVED",
    confidence=0.95
)

# Submit attestation
result = client.submit_attestation(
    content="Customer #123 credit analysis",
    reasoning=reasoning,
    category="credit_analysis"
)

print(f"Registered on blockchain!")
print(f"Attestation ID: {result.attestation_id}")
```

## 📚 Features

- ✅ **Blockchain-based Audit Trail** - Immutable record of AI decisions
- ✅ **Easy Integration** - Add 10 lines of code to your existing AI
- ✅ **Reputation System** - Build trust through verified decisions
- ✅ **LGPD/GDPR Compliant** - Only hashes on-chain, data stays private
- ✅ **Multi-chain Support** - Polygon Amoy (testnet) and Mainnet

## 🎯 Use Cases

- **FinTech** - Credit analysis, fraud detection
- **LegalTech** - Contract review, legal advice
- **HealthTech** - Medical triage, diagnosis support
- **InsurTech** - Risk assessment, claims processing
- **RegTech** - KYC/AML compliance

## 📖 Documentation

Full documentation: https://annaprotocol.github.io/annaprotocol/

## 🔐 Security

- EIP-712 signature validation
- On-chain verification system
- Audited smart contracts
- Privacy-preserving architecture

## 📞 Support

- Website: https://annaprotocol.github.io/annaprotocol/
- Email: support@annaprotocol.com
- Telegram: https://t.me/AntonioRufino27

## 📜 License

MIT License - see LICENSE file for details
