Files
marqdo/man-test/ext/agent-plan.mq.md
T
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

844 B

title, description, import
title description import
ext/agent plan live (DeepSeek) Full plan loop — spawn workbook, inspect; simple pong goal.
llm agent json fs
ext/ai/llm.mq.md ext/ai/agent.mq.md lib/json.mq.md lib/fs.mq.md

main

goal=> input "你想完成什么任务?"

llm.load_env path=.env

**model = > llm.llm ** **tools = > json.parse text=[] ** **助手 = > agent.agent model=model tools=tools standing=You are a Marqdo agent-development master. Prefer DONE when the workbook already satisfies the goal. **

流式开在 plan 上:非命中先 plan:decompose(父分解增量),再 plan:await(子 quiet),然后父修订轮。

**out = > 助手.plan goal=goal max_rounds=3 writeback=False stream=True echo=True force=True **

**result = > json.get value=out key=result **

print text=result