Python SDK for the Asteroid Agents API
Project description
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.
Project details
Release history Release notifications | RSS feed
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.6.173.tar.gz
(65.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.6.173.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.6.173.tar.gz
- Upload date:
- Size: 65.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd846cda16cc4691523b55f067bee608f7a73c56c5d36440416076605dc60a9c
|
|
| MD5 |
31f8eab4bf2a7a17a73415e935ee9002
|
|
| BLAKE2b-256 |
7b352cf8d01ec85f2fd0fdb56c294d60cdb809e271157b9422d6049c13264c50
|
File details
Details for the file asteroid_odyssey-1.6.173-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.6.173-py3-none-any.whl
- Upload date:
- Size: 205.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
801383f0e5ccacfcb88715677a309b3008bc58868fcbf19ffe98fe8b1f0b78de
|
|
| MD5 |
346aae423f9f14b9460eef8790eec1ac
|
|
| BLAKE2b-256 |
14e0e4b947bebb8d3a1787aac89f3f0daac9f751bc5b16d6272dd19c7b74359e
|