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.503.tar.gz
(161.4 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.503.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.503.tar.gz
- Upload date:
- Size: 161.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de6ac482553604acc5b38616a664be7e93076c95c187c2ba6c5b24f54e6e81fa
|
|
| MD5 |
bcd70991938b015fab3a4f1181945fe4
|
|
| BLAKE2b-256 |
545b20886b963878034f7bb91ca2697c237c4736954a4a4cb76dbe7364d5fc1f
|
File details
Details for the file asteroid_odyssey-1.7.503-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.503-py3-none-any.whl
- Upload date:
- Size: 537.0 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 |
16d6d3a958bc5a7dcf6265400225f846893dcacde0a5f23eabd07be624a9f27d
|
|
| MD5 |
2c7abaf96139f5c6f00835ef4943a282
|
|
| BLAKE2b-256 |
c66d31988c5bd9a7ed9b68ca69e6c99633f7ecc3664e8e1ba51582e6c834c7cb
|