reinGraph
把多个 rein agent 编排成有状态的图工作流 —— 条件分支、循环、并行汇合、人在环路(HITL)。
reinGraph 之于 rein,如同 LangGraph 之于 LangChain。 但根本区别在于 ——【内核全部复用 rein,而非重造】:
- 图的 checkpoint 复用 rein 的
SessionStore; - 图的暂停 / 恢复复用 rein 的
aresume(喂回状态从断点继续); - 节点内执行复用 rein 的
Agent.arun/RunResult; - 图级中断复用 rein 的
Interrupt(原样冒泡); - 熔断照抄 rein 的
check_circuit纯函数形态。
reinGraph 新增的只有「图拓扑」这一维。
安装
pip install rein-graph # 装完即带 rein-agent
import reingraph
状态
G0–G7 全部完成 ✅:顺序 / 条件 / 循环 / 并行扇出汇合 / 图级 HITL(可恢复)/ 流式 / 子图嵌套 / 可视化。CI 全套绿(ruff + mypy + pytest,Python 3.11–3.13)。
许可
Apache-2.0
Metadata
Release files for rein-graph 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rein_graph-0.2.0.tar.gz | 31.4 kB | Without provenance | Details for rein_graph-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rein_graph-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for rein_graph-0.2.0-py3-none-any.whl |
Total release size: 60.1 kB
Release files / rein_graph-0.2.0.tar.gz
| Download URL | rein_graph-0.2.0.tar.gz |
|---|---|
| Size | 31.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0db24d1d1de5d7e5bf25c821aefdf30a9c54ae4942f820bad1e3f89956fca63
|
|
BLAKE2b-256 checksum How to use checksums |
e290c17b8056251ffeb26dd0f6ed17750a1a62c8a5333fbb61e062bad5e7fd61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / rein_graph-0.2.0-py3-none-any.whl
| Download URL | rein_graph-0.2.0-py3-none-any.whl |
|---|---|
| Size | 28.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a03a024352d134417a0710bd4e0357b8cb622a21286455bee1d2a6e18c22490
|
|
BLAKE2b-256 checksum How to use checksums |
f03fcba28a4c0983e6c72c84dcec2d01122822f285a1f66a226e153df0c104a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Security for rein-graph 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.