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.786.tar.gz
(115.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.6.786.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.6.786.tar.gz
- Upload date:
- Size: 115.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
311e7588c73f740c51291f329443c1b64926e6392a03ed872dc070b020089f00
|
|
| MD5 |
79c333efacd5a8b3d0eb925300d7fab4
|
|
| BLAKE2b-256 |
af987bca3c14a5e92e927f272013288cc9a6db34d22938f4475b4d8f8d7d4a9e
|
File details
Details for the file asteroid_odyssey-1.6.786-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.6.786-py3-none-any.whl
- Upload date:
- Size: 386.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8f5de060bd54097904ed7a43a46efbae40f61d1baa11ba2ea47676e6037691a
|
|
| MD5 |
1ad10f0ba4119c9d83cd7443255ec93b
|
|
| BLAKE2b-256 |
d6d0af5ea6c8b6a03c6cfc6871b9ea8ff4f750393da819a9c86f7cc86527b104
|