Skip to main content

图编排框架:把多个 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rein_graph-0.1.0.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

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

rein_graph-0.1.0-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file rein_graph-0.1.0.tar.gz.

File metadata

  • Download URL: rein_graph-0.1.0.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for rein_graph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e69f0fe447c955878c74a76c1347b5f612503118f4a35752127478859ddd19f4
MD5 25f64697d42520ae24b75e72f9a1b406
BLAKE2b-256 85776e4aab5ffb1a5c9b37647a09bf307388530a3d5903166416d0ff506845b5

See more details on using hashes here.

File details

Details for the file rein_graph-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rein_graph-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for rein_graph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bcb36862c330009bad0f8ea916342d133b5234bafc32db6e72dfa818dbb0a4b0
MD5 6fe59299131d36b46b9cf06bac815c33
BLAKE2b-256 791ffa8635000b26c2a30d9c5cf2de435da4966b2707b89e490b703a4ba6db33

See more details on using hashes here.

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