Skip to main content

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

📜 License

MIT License - see LICENSE file for details

Project details


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_sdk-2.0.1.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anna_protocol_sdk-2.0.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file anna_protocol_sdk-2.0.1.tar.gz.

File metadata

  • Download URL: anna_protocol_sdk-2.0.1.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for anna_protocol_sdk-2.0.1.tar.gz
Algorithm Hash digest
SHA256 d733a5c77f735285a493f4f5793706f7fa3f3c8c5ad5c33ee46cc12980f8ac8c
MD5 a92eab46e7d328da43cd9b4e44d7a316
BLAKE2b-256 c259ebc26b50084be1f9c691f7e8d56c9b6845f0510c56cbd682591ecab1d76a

See more details on using hashes here.

File details

Details for the file anna_protocol_sdk-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for anna_protocol_sdk-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66fa998b8a3c38547788475defc6cb17dce85952dbe286e9031af9ae6a09366d
MD5 8e12c0df75dd1b0d04e422b3f3b4cb3a
BLAKE2b-256 a184ce8c4db18d4a62b5c6dcf6370c13a9d98d1bb9a9f8c7a2075f8987545eb1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page