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.420.tar.gz
(150.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.420.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.420.tar.gz
- Upload date:
- Size: 150.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c887d2e1442f75876f802fab6cdf619ed44977320c6cb51df558ca23110d795
|
|
| MD5 |
5353e1e10989b56a89e0cfcad473fcd5
|
|
| BLAKE2b-256 |
824ffe508fc465978ce87acc316053c0427119cd41acd77b9d35044534337090
|
File details
Details for the file asteroid_odyssey-1.7.420-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.420-py3-none-any.whl
- Upload date:
- Size: 485.7 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 |
c6182f6cf58723a54d51401d94bd2f58edecdc6dfc0b64f89a7c991e9b004b93
|
|
| MD5 |
5ec9a0d57c6c02409492623e67838656
|
|
| BLAKE2b-256 |
2e4560a2d19d6c41f467cbd70ef84a3809b8e0b17a159b6c3e2f7665fbe5ec69
|