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.522.tar.gz
(161.9 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.522.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.522.tar.gz
- Upload date:
- Size: 161.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62c8b176b0ff6623cf84634d06b9fb3430acc663a3cf9d9ac1c9997640dbfd47
|
|
| MD5 |
ca20291a3b56f4a3be5deb23ea384066
|
|
| BLAKE2b-256 |
42d0bd25da8810ef7cb1907f6863f5c4386c159b0fdd0973c695284d0a70df37
|
File details
Details for the file asteroid_odyssey-1.7.522-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.522-py3-none-any.whl
- Upload date:
- Size: 537.3 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 |
8d8ff275982d0d34c11f0a253b3dd66071ab7052f7042ed35c210485a5f30086
|
|
| MD5 |
cf2accc369c3d7794b4cf0fdd16fbb91
|
|
| BLAKE2b-256 |
d59f7c174ba0894634d6c5839ee2e8742d9b580b4d9d012823a460001d56303a
|