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.379.tar.gz
(147.8 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.379.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.379.tar.gz
- Upload date:
- Size: 147.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f02347686350fff5b3804c9235e6ca0eb8759d1b78d377459e6b2e83a7647b0d
|
|
| MD5 |
0bee45c8fbceafbe2d8aab5b3c941706
|
|
| BLAKE2b-256 |
c930e256d919474bd789a7f379d92d4e4cc5c5845f71cb089ff33b771abcb6ca
|
File details
Details for the file asteroid_odyssey-1.7.379-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.379-py3-none-any.whl
- Upload date:
- Size: 490.5 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 |
aae8f189dd3296b0041059f59f30721d6d42f3b178f38971af44db77b09ed550
|
|
| MD5 |
0c0ea627406aa0025fb47114a186507b
|
|
| BLAKE2b-256 |
30a0eb11b43b1010107622f16a33e56fbb8c64aca2e1eb83e0eb1c930d4dbaca
|