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.310.tar.gz
(140.6 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.310.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.310.tar.gz
- Upload date:
- Size: 140.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f09c4643f4025ab46a50363b8cb21eb87419cbd33f059dd2ed577d2f304e65c
|
|
| MD5 |
1dc1b88cb081ab48f3b1f989862b327b
|
|
| BLAKE2b-256 |
eedf235b5c310d6c9747f26393ea6eb015c8d9ebe1de2354f2ed738c4a9cceb3
|
File details
Details for the file asteroid_odyssey-1.7.310-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.310-py3-none-any.whl
- Upload date:
- Size: 465.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 |
0adb6624b3ff29844cb775322f67ccc6929de1bcde7d5706c4f62a468f0e2159
|
|
| MD5 |
801a4f4abf1119d840b8e9e4faaa7a74
|
|
| BLAKE2b-256 |
3260b8c580c09df54f1f964ec2f4d53839b6981f51796fa36c8faf42736c99cb
|