loki-mode-sdk
Python SDK for Loki Mode, the autonomous multi-agent development platform.
Install
pip install loki-mode-sdk
Quick Start
from loki_mode_sdk import Client
client = Client(base_url="http://localhost:57374")
# Check dashboard status
status = client.get_status()
print(status)
# List projects
projects = client.list_projects()
for p in projects:
print(f"{p.id}: {p.name} ({p.status})")
API Reference
The SDK wraps the Loki Mode Dashboard API (default port 57374).
Client Methods
client.get_status()- Dashboard status and versionclient.list_projects()- List all projectsclient.create_project(name)- Create a new projectclient.get_project(id)- Get project detailsclient.list_runs(project_id)- List runsclient.cancel_run(run_id)- Cancel a running executionclient.query_audit()- Query audit trailclient.create_api_key(name)- Create API keyclient.rotate_api_key(key_id)- Rotate API key
Requirements
- Python 3.10+
- Running Loki Mode instance (
npm install -g loki-mode)
License
Business Source License 1.1 -- see LICENSE
Release files for loki-mode-sdk 9.26.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| loki_mode_sdk-9.26.1.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| loki_mode_sdk-9.26.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / loki_mode_sdk-9.26.1.tar.gz
| Download URL | loki_mode_sdk-9.26.1.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dbfed1aeae59f27502cc05c90efb9eadb248037086bf4b2e0f859938b22a4b1
|
|
BLAKE2b-256 checksum How to use checksums |
9f87f8b8070aa43ccde4728b1c05f926410b0de0828c49e9626a7c2df4333615
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / loki_mode_sdk-9.26.1-py3-none-any.whl
| Download URL | loki_mode_sdk-9.26.1-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ea30615a186313214e10b8a2a0d878c68bcabc00afa0bdc0fc9aa3f1613cbfb
|
|
BLAKE2b-256 checksum How to use checksums |
16a53a5238600c49dc1baf121786d04a711f1903ba9caa8ecc3df8a53c04d933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|