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.337.tar.gz
(146.1 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.337.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.337.tar.gz
- Upload date:
- Size: 146.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80acf47a7d7053e2e7dd51114929ce5bf705c25e2f801a5e3449a027ec5e1fca
|
|
| MD5 |
59fd14e3da76a928e29225db2cd86ca0
|
|
| BLAKE2b-256 |
2bcac4d899a9ed9ddafb9a638ddc6e9c41930e8ccab2bcb7a0488880078daac5
|
File details
Details for the file asteroid_odyssey-1.7.337-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.337-py3-none-any.whl
- Upload date:
- Size: 487.5 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 |
b6df5bb6c83fc2d57e06a8ade717545a839b75f364d0553271de19c3e4ac7a90
|
|
| MD5 |
7ed9d1cc041437f7c4a30f3bdca0dfa8
|
|
| BLAKE2b-256 |
c73bcbf46efa653b7f03b3df0810b9e744d4dd86dcf68247456f293fea075671
|