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.198.tar.gz
(126.3 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.198.tar.gz.
File metadata
- Download URL: asteroid_odyssey-1.7.198.tar.gz
- Upload date:
- Size: 126.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
981f2525b7d2fbc2b46987d965a9b18f902337aa61ce9a2c9ae86e03047b1724
|
|
| MD5 |
e351627e1df2f1b4a01d97b4020ceeb1
|
|
| BLAKE2b-256 |
ad9b6ffb1321cb09021c30fae583212573c22cd26d151c0d160de072749379b1
|
File details
Details for the file asteroid_odyssey-1.7.198-py3-none-any.whl.
File metadata
- Download URL: asteroid_odyssey-1.7.198-py3-none-any.whl
- Upload date:
- Size: 426.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8a57bdc33abd744e0acbbce77013cb730e145fbdd999e5184c87b49b623b046
|
|
| MD5 |
eff9d730fd21964acd119967695ee2c6
|
|
| BLAKE2b-256 |
5609145c45544c49a567f4cc2738669421117eeccc656b9bbcbe2a8ac884bd5e
|