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.887.tar.gz
(120.7 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.887.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.6.887.tar.gz
- Upload date:
- Size: 120.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c70c9c5523357be2d1b1abfb4abd1799400d67701dc11fe490ea021797a0becb
|
|
| MD5 |
ecf8a5c91b50163c446c3925ac3c8fa1
|
|
| BLAKE2b-256 |
f863fb34c317519bd7d36823644049f81c6c253212d66d71debe84aabd5391eb
|
File details
Details for the file asteroid_odyssey-1.6.887-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.6.887-py3-none-any.whl
- Upload date:
- Size: 406.3 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 |
da568be000e57c830469bbd292eb926d81bd5f1134d064545019e853924c4aa7
|
|
| MD5 |
0359e5afa8809f21b27c35fb9bc8c67e
|
|
| BLAKE2b-256 |
01fa14ebda42d5479bd370dfcb0babf38f47a5625adf41c9e1640bb9f83aba56
|