Python SDK for the Asteroid Agents API
Project description
Asteroid Odyssey Python SDK
Python SDK for the Asteroid Agents API.
Installation
pip install asteroid-odyssey
Usage
from asteroid_odyssey import ApiClient, Configuration, ExecutionApi
# Configure the client
config = Configuration(
host="https://odyssey.asteroid.ai/agents/v2",
api_key={"ApiKeyAuth": "your-api-key"}
)
client = ApiClient(config)
execution_api = ExecutionApi(client)
# Execute an agent
response = execution_api.agent_execute_post(
agent_id="your-agent-id",
agents_agent_execute_agent_request={"inputs": {"input": "value"}}
)
print(f"Execution ID: {response.execution_id}")
Documentation
See docs.asteroid.ai for full documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
asteroid_odyssey-1.6.797.tar.gz
(119.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asteroid_odyssey-1.6.797.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.6.797.tar.gz
- Upload date:
- Size: 119.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6771b7ef56fac5388ef647c74934ab6f7083c0d12b627476d1a0f0f393b07fbd
|
|
| MD5 |
cabe3c640d8b7ec7631b5c2f2dd73cd8
|
|
| BLAKE2b-256 |
2a975fe8be6bea0d8eb3081326612324252e36d3cd1bee701a080c02f2a07fbe
|
File details
Details for the file asteroid_odyssey-1.6.797-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.6.797-py3-none-any.whl
- Upload date:
- Size: 402.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5e84286ce20dd880c0e224e9311f2a850ba9c22c27166d8d892d6e8bf401cbd
|
|
| MD5 |
e8b257d18ea2d96d95c1aed3de48c661
|
|
| BLAKE2b-256 |
f92f8d437de67bd5fd9112147ef84ce9edd42fc1562f050ae1af2c86de4a278d
|