图编排框架:把多个 rein agent 编排成有状态的图工作流(条件分支/循环/并行/HITL),内核复用 rein
Project description
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
Project details
Release history Release notifications | RSS feed
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 rein_graph-0.2.0.tar.gz.
File metadata
- Download URL: rein_graph-0.2.0.tar.gz
- Upload date:
- Size: 31.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0db24d1d1de5d7e5bf25c821aefdf30a9c54ae4942f820bad1e3f89956fca63
|
|
| MD5 |
ef5fca682b61483ffeeb1197e2f2f2cf
|
|
| BLAKE2b-256 |
e290c17b8056251ffeb26dd0f6ed17750a1a62c8a5333fbb61e062bad5e7fd61
|
File details
Details for the file rein_graph-0.2.0-py3-none-any.whl.
File metadata
- Download URL: rein_graph-0.2.0-py3-none-any.whl
- Upload date:
- Size: 28.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a03a024352d134417a0710bd4e0357b8cb622a21286455bee1d2a6e18c22490
|
|
| MD5 |
31ad1628dd179ad1027b20d08f3c9143
|
|
| BLAKE2b-256 |
f03fcba28a4c0983e6c72c84dcec2d01122822f285a1f66a226e153df0c104a5
|