SDK Reference
Complete documentation for the MACAW Client SDK. Download from Console—no pip install required.
Installation
Download the SDK from Console → Settings → Downloads. The package includes your workspace configuration and credentials.
Alternatively, use the CLI to fetch the latest version.
bash
# Unzip the download from Console
unzip macaw-client-*.zip
# Install the package
pip install ./macaw-client-*/*.whlCore Classes
MACAWClient
The core client class that connects AI agents to the Trust Layer. Provides cryptographic identity, policy enforcement, and audit logging.
register()invoke_tool()list_attestations()RemoteIdentityProvider
Enterprise IDP integration. Route authentication through your existing identity provider (Keycloak, Okta, Azure AD).
login()validate()Quick Reference
Exceptions
- • PermissionDenied
- • SignatureVerificationError
- • PolicyViolation
Adapters →
- • SecureOpenAI
- • SecureAnthropic
- • LangChain / MCP
MAPL Schema →
- • Policy structure
- • Pattern matching
- • Constraints