SDK oficial em Python para o ANNA Protocol - Identidade e Reputação para Agentes de IA
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: support@annaprotocol.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
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_sdk-1.2.1.tar.gz.
File metadata
- Download URL: anna_protocol_sdk-1.2.1.tar.gz
- Upload date:
- Size: 15.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 |
05a5f247f9ecb7fa077bc60577ea6eb923f4bef0be56cdd2721ace7d394a59f4
|
|
| MD5 |
3df0338e82301eadf0e885f043a7daf4
|
|
| BLAKE2b-256 |
8c3969e9ecfefa568c935985ddb90ceb8a90624d0d07eee081fc4747b47d8bb4
|
File details
Details for the file anna_protocol_sdk-1.2.1-py3-none-any.whl.
File metadata
- Download URL: anna_protocol_sdk-1.2.1-py3-none-any.whl
- Upload date:
- Size: 17.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 |
da856481c850effa8287b2dce30c379625e69f386f990258c5d7aa4d67b98071
|
|
| MD5 |
57b9de4709a23752f23c5d557d1c03d4
|
|
| BLAKE2b-256 |
cd86eb2ffa8196a395aab94545c4efdf13fdc621843d877ef1029062b1735cd8
|