Skip to content

Architecture: AI Agent SDK

Status: Alpha Component: clients/python

Philosophy: "Batteries Included"

AI Agents (LLMs) cannot easily navigate complex OAuth flows or sign raw bytes with ECDSA. They need a high-level, intent-based interface.

The SDK

The qazna Python package wraps the underlying complexity of gRPC and Cryptography.

Usage Example

python
import qazna

client = qazna.Client()
client.transfer(to="recipient", amount=10, currency="USD")

Technical Stack

  • Language: Python 3.9+ (Standard for AI/ML).
  • Transport: gRPC (via grpcio).
  • Generation: Stubs are auto-generated from api/proto/qazna/v1/ledger.proto.

Future Roadmap

  • Wallet Management: Local keystore (encrypted JSON) vs Remote Signer (HSM).
  • Agent Identifiers: Integration with DNS or ENS-like naming for agents (e.g., gpt4.openai.qazna).
  • Micropayments: State channels for high-frequency API metering.

Released under the Apache 2.0 License.