Skip to main content

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

limioryn-0.39.0.tar.gz (586.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

limioryn-0.39.0-py3-none-any.whl (371.2 kB view details)

Uploaded Python 3

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

Hashes for limioryn-0.39.0.tar.gz
Algorithm Hash digest
SHA256 4498d25eab9ce0a105b2e38166e66814c20ecac64a3ec9f711f5def2ca278eee
MD5 ec39279d01163d4ff166316d09f91e7e
BLAKE2b-256 1af9a5d3b8edaf4801584b769580c303de99ebce59244d78294ab3a4841dbc5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for limioryn-0.39.0.tar.gz:

Publisher: publish-pypi.yml on YINGLINGH/limioryn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for limioryn-0.39.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45c523af4d76b863c1396aa388ce10309862e2b6ac3d5822ce35b6695e7d9568
MD5 a3afca6c9d3edeb45895f25dd46c46b9
BLAKE2b-256 a8dc7d7e329fd611fb70765c25e2792969b2379e482f20ab01c0d5fada113949

See more details on using hashes here.

Provenance

The following attestation bundles were made for limioryn-0.39.0-py3-none-any.whl:

Publisher: publish-pypi.yml on YINGLINGH/limioryn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page