Unigent: Cross-Session Agent Workflow SDK
gintrux · reddit · 2026-07-17
Unigent SDK 是一个用于脚本化 agent 工作流 的工具,主打跨 harness、跨 session 的统一 API。作者表示它可以混用 Pi、Claude CLI、Codex CLI 等后端,并且不用像某些工具那样把流程写进 YAML,而是直接用 TypeScript 定义并行、串行、fan-out 等控制流。
功能上,它支持:
- 用 Zod 定义结构化输出 schema
- 内置 tracing,便于观察每个步骤
- 内置 TUI,测试工作流时更直观
- 自动生成 --help,还支持交互式补参
- 可直接用 TypeScript 写自定义工具
- 可继承机器配置,如 skills、plugins、MCP 等
作者还强调,agent 也可以直接编写这种工作流,认为这会比一些动态 workflow 方案更易读、更适合人和 agent 一起使用。
More from coding & agent
- A better path to agent autonomy is running waves, finding friction, and iterating — JnBrymn · 2026-07-22
- Coding agents are heading toward an AI-writes, AI-reviews, human-approves workflow — aftahi_ai · 2026-07-22
- oMLX 0.5.2 adds Mac menu-bar stats, low-bit decode kernels, and faster downloads — awnihannun · 2026-07-22
- GitHub review bot hits its PR limit and forces a 39-minute cooldown — DanielLockyer · 2026-07-22
- Max reasoning effort appears to be mobile-only in Codex Remote, not desktop — GabGarrett · 2026-07-22
- A Reddit demo argues online stores should expose carts and pricing through MCP — gelembjuk · 2026-07-22