Integrations SDK for Autohive
Build integrations for Autohive's AI agent platform. Define actions that Autohive agents can execute — call APIs, process data, and connect to third-party services.
Installation
pip install autohive-integrations-sdk
Quick Example
from autohive_integrations_sdk import (
Integration, ExecutionContext, ActionHandler, ActionResult
)
from typing import Dict, Any
integration = Integration.load()
@integration.action("fetch_data")
class FetchData(ActionHandler):
async def execute(self, inputs: Dict[str, Any], context: ExecutionContext) -> ActionResult:
response = await context.fetch(
"https://api.example.com/data",
headers={"Authorization": f"Bearer {context.auth['credentials']['api_key']}"}
)
return ActionResult(data=response.data)
Key Features
- Action handlers — async handlers with typed inputs/outputs and built-in HTTP client
- Authentication — flexible auth config (API keys, OAuth, custom fields)
- Billing support — report per-action costs via
ActionResult.cost_usd - Error handling —
ActionErrorfor expected application-level errors - Connected accounts — expose authorized user identity back to the platform
- Validation — JSON Schema input/output validation with detailed error reporting
Documentation
| Guide | Description |
|---|---|
| Building Your First Integration | End-to-end tutorial covering config, actions, auth, testing |
| Integration Structure | Directory layout, config.json schema reference |
| Patterns & Best Practices | Pagination, API helpers, multi-field auth |
| Starter Template | Copy this to begin a new integration |
Links
- GitHub Repository
- Release Notes
- Public Integrations — examples of production integrations built with this SDK
Metadata
Release files for autohive-integrations-sdk 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autohive_integrations_sdk-2.0.1.tar.gz | 764.9 kB | Without provenance | Details for autohive_integrations_sdk-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autohive_integrations_sdk-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for autohive_integrations_sdk-2.0.1-py3-none-any.whl |
Total release size: 778.3 kB
Release files / autohive_integrations_sdk-2.0.1.tar.gz
| Download URL | autohive_integrations_sdk-2.0.1.tar.gz |
|---|---|
| Size | 764.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07cb84e69955fb9f74e07081dacde2bd5fa77a0194d978bc8fc50c28de3cbad1
|
|
BLAKE2b-256 checksum How to use checksums |
c32633c47ff270a51d5c3418927dfa71280dd619c9d642e23bfbf23efd4c12a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / autohive_integrations_sdk-2.0.1-py3-none-any.whl
| Download URL | autohive_integrations_sdk-2.0.1-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b41f2cb26e71ee20370c4efd13848b52b159ad7b994a2b9bd179f6fe72340b79
|
|
BLAKE2b-256 checksum How to use checksums |
708615aa8aa51d40a6320af19f8d4191da759402e8cd706c869ee4c04e5dba49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for autohive-integrations-sdk 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.