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.366.tar.gz
(147.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.366.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.366.tar.gz
- Upload date:
- Size: 147.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c6eec7df7650faeeba3261408bd45d36631a9aa6bbe7d6496103aa6f8b75ec6
|
|
| MD5 |
1424fb16acba24f9c263a553415f91ac
|
|
| BLAKE2b-256 |
ff5214d022c8a8c4447104c065e2355e07cef35d0f56b3a6216bdbfbb9d498d3
|
File details
Details for the file asteroid_odyssey-1.7.366-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.366-py3-none-any.whl
- Upload date:
- Size: 489.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 |
baf6968b97a56282a3d04d8555779c7446827145819ab0f6f3ef1cde2a0b7fa2
|
|
| MD5 |
776123dcccb12bf740c35d963cf041f9
|
|
| BLAKE2b-256 |
7fd405df4a6b7732b04ad07971444505ec2d25155dc25bde86d67ed1a952b249
|