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.396.tar.gz
(145.1 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.396.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.396.tar.gz
- Upload date:
- Size: 145.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e22858dacfc6691fca71a4daaf9456a1b31467f113dd3bbc7de18cb18c91e5f7
|
|
| MD5 |
9a278e7910fbbce8ec424b6b045b4771
|
|
| BLAKE2b-256 |
7f940de94046180ecacc8bac742e60c4e216b0af376480ad7504cb7f09b1e3fb
|
File details
Details for the file asteroid_odyssey-1.7.396-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.396-py3-none-any.whl
- Upload date:
- Size: 480.1 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 |
d3f7acbe6c7f586cccb63113cce02752cec037f57fb5378649695bd52a9d2c37
|
|
| MD5 |
3f6717a11828af89f1f765b069419e1b
|
|
| BLAKE2b-256 |
139f884b6da93affc105893ccd2d2cc06266147873e200bd29b2885ad8e0e714
|