ANNA Protocol SDK - Making AI Decisions Accountable
Project description
ANNA Protocol SDK
Making AI Decisions Accountable
ANNA Protocol is a blockchain infrastructure that makes AI decisions auditable, traceable, and trustworthy.
🚀 Quick Start
Installation
pip install anna-protocol
Basic Usage
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: antoniorjr4@gmail.com
- Telegram: https://t.me/AntonioRufino27
📜 License
MIT License - see LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anna_protocol-1.0.0.tar.gz
(11.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anna_protocol-1.0.0.tar.gz.
File metadata
- Download URL: anna_protocol-1.0.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b1d950ea8757dbccaeffe1d7d9408ddb99171d20cb96a1cbdf493c7b5513d30
|
|
| MD5 |
d68768149ee4192aaad55bda23ea91dd
|
|
| BLAKE2b-256 |
2e635eaf608c441025ad00d1e6b8ec2b83b302436f6e10ec88f4098b71ad6001
|
File details
Details for the file anna_protocol-1.0.0-py3-none-any.whl.
File metadata
- Download URL: anna_protocol-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ac54385f3c993f4cbca2d34dfa5735eeb8a7a7b85b6cc0e88f77e1058369170
|
|
| MD5 |
d07fad42eda4fac07a50761c2eed9e34
|
|
| BLAKE2b-256 |
f9d8d838acdd90b4cb15fe3dfb6b1735d317c24c32dbffaa554e39e582effeba
|