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.303.tar.gz
(97.2 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.303.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.6.303.tar.gz
- Upload date:
- Size: 97.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e607475b4f83c8ad9f0fb0779a5d969a9299e6e756c9b03a82100ea9a06deef
|
|
| MD5 |
08e76fc84c01d8a494921a99c324399e
|
|
| BLAKE2b-256 |
92280eb23bee3fc0a9ae27a86ed351c11f9f7832a3ab2bf2a9f5bdbc2cacc27e
|
File details
Details for the file asteroid_odyssey-1.6.303-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.6.303-py3-none-any.whl
- Upload date:
- Size: 327.6 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 |
e47c111663f92dfe9bb497834c54d00e106ab98e888363c40aeb0f01e614ebca
|
|
| MD5 |
01b5a41ebb609358850d96962c4a0723
|
|
| BLAKE2b-256 |
5a1f0437260b2c0c2c7c72899bbbf0e8890d338f198d1ad5af247c286d1677f6
|