SDKs & Integrations
Aira SDKs for Python and TypeScript, plus framework integrations for LangChain, CrewAI, OpenAI, Vercel AI, and more.
Both SDKs now use the two-step flow. Call authorize() before the agent acts. Call notarize() after the agent executes. See the Quickstart for the end-to-end pattern.
SDKs
Both SDKs have full API coverage. Pick your language:
Integration Matrix
| Integration | Python | TypeScript |
|---|---|---|
| LangChain | pip install aira-sdk[langchain] | import from "aira-sdk/extras/langchain" |
| CrewAI | pip install aira-sdk[crewai] | — |
| OpenAI Agents | pip install aira-sdk[openai-agents] | import from "aira-sdk/extras/openai-agents" |
| Vercel AI | — | import from "aira-sdk/extras/vercel-ai" |
| Google ADK | pip install aira-sdk[google-adk] | — |
| AWS Bedrock | pip install aira-sdk[bedrock] | — |
| MCP Server | pip install aira-sdk[mcp] | import from "aira-sdk/extras/mcp" |
| CLI | pip install aira-sdk[cli] | — |
| Webhooks | Built-in | Built-in |
| Offline Mode | Built-in | Built-in |
| Session Context | Built-in | Built-in |
Trust Layer
Both SDKs include full trust layer support: W3C DIDs, Verifiable Credentials, mutual notarization, and reputation scoring.
| Feature | Python | TypeScript |
|---|---|---|
DID Identity (get_agent_did / getAgentDid) | Yes | Yes |
Key Rotation (rotate_agent_keys / rotateAgentKeys) | Yes | Yes |
Verifiable Credentials (get_agent_credential / getAgentCredential) | Yes | Yes |
Credential Verification (verify_credential / verifyCredential) | Yes | Yes |
Credential Revocation (revoke_credential / revokeCredential) | Yes | Yes |
Mutual Notarization (request_mutual_sign / requestMutualSign) | Yes | Yes |
Reputation Score (get_reputation / getReputation) | Yes | Yes |
Endpoint Policy (set_endpoint_policy / setEndpointPolicy) | Yes | Yes |
DID Resolution (resolve_did / resolveDid) | Yes | Yes |
Trust Check (check_trust / checkTrust) | Yes | Yes |
Trust Bundle (get_trust_bundle / getTrustBundle) | Yes | Yes |
| Trust Policy in Integrations | trust_policy={} | trustPolicy: {} |