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.289.tar.gz
(137.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.289.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.289.tar.gz
- Upload date:
- Size: 137.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 |
9f4eba194d5563a8d1cd48b50eab91b7a62281ee59817272d780b86ac6143e14
|
|
| MD5 |
234c18d168ef0d07381ef1580ad792d6
|
|
| BLAKE2b-256 |
4c92cdf6ae00ef6afd7ee447696f578b6174defbd09b55efc2dac502cfdec0a0
|
File details
Details for the file asteroid_odyssey-1.7.289-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.289-py3-none-any.whl
- Upload date:
- Size: 453.8 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 |
7bc92280ca5426222b2664af0d670939f6293140067aabb269807fa0b3d696e0
|
|
| MD5 |
3880ab525b18972a0ef9d31a8e289fdc
|
|
| BLAKE2b-256 |
15fabb45f02ee207998927c0184e284d271dc51394445c078e66c4dad5a7ee19
|