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.263.tar.gz
(129.0 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.263.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.263.tar.gz
- Upload date:
- Size: 129.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adeccf9402b092690e3b91b253d1e9af08a1980f3dfa7afb698b17b8269780cf
|
|
| MD5 |
ea1dff5b14990240ffc70e49754c400f
|
|
| BLAKE2b-256 |
9a720a3225160dda0e3d9d01742dda46f4cf10112da7d04ed66eae62bb09b55a
|
File details
Details for the file asteroid_odyssey-1.7.263-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.263-py3-none-any.whl
- Upload date:
- Size: 430.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa0804823c5dacf4c4ba57b96f6ec484517bfaa145bd549258db206462ae12f2
|
|
| MD5 |
943573387c5de26aa91796fafc1c6811
|
|
| BLAKE2b-256 |
a72575cde9bf01ea875fad989d37362ad7de528e3a39bb83e0874f254be99f96
|