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.
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.7.394.tar.gz
(146.4 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.7.394.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.394.tar.gz
- Upload date:
- Size: 146.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16dac662bc156f1d813209d92ed1a4bb9fe52db96c0f2f36e252b12bc8e44ba0
|
|
| MD5 |
e2679e8c52694b22f33f6067a1f22c9f
|
|
| BLAKE2b-256 |
0932751a2c91e08a096c9c0d39376b6964c5973bcf6824bd718b0c4117e0d2f1
|
File details
Details for the file asteroid_odyssey-1.7.394-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.394-py3-none-any.whl
- Upload date:
- Size: 482.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
439d3d7062e282afa00e05ec7d2e78f7be9f902c6c2e16449d623b629472d881
|
|
| MD5 |
1fa277c700be8e2f55690948109851a5
|
|
| BLAKE2b-256 |
de95c125d8026ec45f2dd0e1e679570a76358c1c45a3cff9da8a31b84f00377c
|