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.261.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.261.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.261.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 |
3899add03c0632a2f9754324eb288a026721eeb1e1688f72922480a542ca4456
|
|
| MD5 |
1abef6c13a32f1074dede65e11f50b70
|
|
| BLAKE2b-256 |
1dc6a309936b365370d0ba23c593b78559fd176a89843be599ff1415a82ce520
|
File details
Details for the file asteroid_odyssey-1.7.261-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.261-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 |
989483187bb03cfe8761df86ef00ff384d2fca950d2e5fa838ca4042854162cb
|
|
| MD5 |
40dd1857777467d8093817dfab39b995
|
|
| BLAKE2b-256 |
580b73f8f2bf480610164c4c4170c0e8ed7bde8aefb11da4a2ea8ae111ced3a4
|