Limioryn
Limioryn 是面向端云协同 AI、多 Agent 与真实设备接入的分层 Python API。它统一设备 Capability、多 Agent 协作、受约束物理执行、状态确认与恢复,帮助开发者把智能应用构想落地为可连接真实设备、可验证、可恢复的工程系统。
当前版本:
0.39.0。项目处于公开预览阶段。涉及人身、财产或工业安全的系统,仍需独立风险评估、硬件联锁和现场验证。
安装
python -m pip install limioryn
Python 版本要求:3.11 或更高版本。
按需安装可选能力:
python -m pip install "limioryn[cli,mqtt]"
python -m pip install "limioryn[redis,sentinel-security]"
python -m pip install "limioryn[langgraph]"
几行代码建立概念化场景
from limioryn import create_demo
system = create_demo("智慧温室")
soil = system.sensor(
"soil", capability="sensor.moisture", initial=55, unit="%",
)
pump = system.actuator("pump", capability="actuator.relay")
system.agent(lambda soil: pump.on() if soil < 30 else pump.off())
system.scene("干燥", soil=22)
system.scene("湿润", soil=80)
system.run()
默认模式不需要模型密钥。开发者也可以在同一设备合同上接入云端模型、多 Agent Team、Runtime、Device SDK 和长期 Agent Workspace。
四层能力
- Demo Builder:用少量声明生成业务场景、交互控制台和状态投影。
- Framework:定义 Agent Team、Capability 权限、验证者和执行策略。
- Runtime:处理命令白名单、风险边界、Outbox、ACK、对账与恢复。
- Harness / Device SDK:验证设备协议合同,并提供 ESP32-S3、STM32 与 Linux SBC 参考实现。
Limioryn 的熵模型用于约束可能产生不可逆物理后果的执行。模型评分不能绕过 Capability、Schema、权限、命令白名单或硬件联锁。
发布与来源说明
代码采用 Apache-2.0 许可证,原始作者为 Xuchen Zhang。项目不会设置打赏渠道;欢迎体验、提交问题和参与开发。如果它对你有帮助,也欢迎在 GitHub 上点一个免费的 Star。
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 limioryn-0.39.0.tar.gz.
File metadata
- Download URL: limioryn-0.39.0.tar.gz
- Upload date:
- Size: 586.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4498d25eab9ce0a105b2e38166e66814c20ecac64a3ec9f711f5def2ca278eee
|
|
| MD5 |
ec39279d01163d4ff166316d09f91e7e
|
|
| BLAKE2b-256 |
1af9a5d3b8edaf4801584b769580c303de99ebce59244d78294ab3a4841dbc5f
|
Provenance
The following attestation bundles were made for limioryn-0.39.0.tar.gz:
Publisher:
publish-pypi.yml on YINGLINGH/limioryn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
limioryn-0.39.0.tar.gz -
Subject digest:
4498d25eab9ce0a105b2e38166e66814c20ecac64a3ec9f711f5def2ca278eee - Sigstore transparency entry: 2368108350
- Sigstore integration time:
-
Permalink:
YINGLINGH/limioryn@458911f4d75242c067cef5b4e1b197a1d0163fde -
Branch / Tag:
refs/heads/main - Owner: https://github.com/YINGLINGH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@458911f4d75242c067cef5b4e1b197a1d0163fde -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file limioryn-0.39.0-py3-none-any.whl.
File metadata
- Download URL: limioryn-0.39.0-py3-none-any.whl
- Upload date:
- Size: 371.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45c523af4d76b863c1396aa388ce10309862e2b6ac3d5822ce35b6695e7d9568
|
|
| MD5 |
a3afca6c9d3edeb45895f25dd46c46b9
|
|
| BLAKE2b-256 |
a8dc7d7e329fd611fb70765c25e2792969b2379e482f20ab01c0d5fada113949
|
Provenance
The following attestation bundles were made for limioryn-0.39.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on YINGLINGH/limioryn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
limioryn-0.39.0-py3-none-any.whl -
Subject digest:
45c523af4d76b863c1396aa388ce10309862e2b6ac3d5822ce35b6695e7d9568 - Sigstore transparency entry: 2368108423
- Sigstore integration time:
-
Permalink:
YINGLINGH/limioryn@458911f4d75242c067cef5b4e1b197a1d0163fde -
Branch / Tag:
refs/heads/main - Owner: https://github.com/YINGLINGH
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@458911f4d75242c067cef5b4e1b197a1d0163fde -
Trigger Event:
workflow_dispatch
-
Statement type: