Skip to content跳至正文
Harry Xin
Projects项目索引09
Looming06 / 09
← All work← 全部项目AGENT WORKFLOWSAGENT 工作流
LOCAL WORKFLOW STUDY本地流程示意

Looming

A task continues.
Its context should, too.
工作继续,
来龙去脉也要留下。

An agent-loop runner built around a mission, a backlog and a journal: a way to carry useful state from one iteration into the next.围绕目标、待办与日志组织的 agent 循环工具,把一次迭代中的有效信息带到下一次。

Open on GitHub在 GitHub 打开Explore ↓往下看 ↓
MISSION CONTROLNo background agent is running不启动后台 agent
LOOM / ITERATION LOGSIMULATION
01
Mission目标
02
Run执行
03
Journal记录
mission.md

Define the task and the stopping point.写清任务,也写清何时结束。

Ready准备就绪

Local state illustration · no agent or background job runs本地状态示意 · 不启动 agent 或后台任务

02 / THE JOURNAL02 / 持续留下的记录

The loop moves on.
The record stays.
循环向前,
记录留下。

Use “Next step” above. Watch the example leave a trail.点击上方“下一步”,看示例如何留下记录。

journal.ndjsonLOCAL EXAMPLE
  1. Mission loaded. Waiting for the first step.目标已载入,等待第一步。

03 / STATE ON DISK03 / 文件里的状态

mission.md

Set the mission写清目标

A mission file records the task, completion criteria and boundaries. A backlog keeps remaining work explicit.目标文件记录任务、完成条件和边界;待办列表明确剩余工作。

backlog.json

Run an iteration执行一次迭代

Build the next prompt from the mission, backlog and journal, then parse a structured report from the agent.结合目标、待办与日志构建下一次提示,并解析 agent 的结构化报告。

journal.ndjson

Record and decide记录,再决定

Append the result and learning to the journal. Updated state informs the next iteration or a configured stopping condition.把结果与经验追加到日志,再根据更新后的状态继续,或在配置的停止条件下结束。

The repository documents mission.md, backlog.json and journal.ndjson, with a dry-run mode for inspecting the assembled prompt before executing an agent.仓库说明了 mission.md、backlog.json 和 journal.ndjson 的职责,并提供 dry-run,在实际执行前检查组装后的提示。

Continue with
something learned.
带着新理解,
继续下一步。

Next project下一个项目RLCard