What feature would you like to see?
Parity feature with Claude Code, see here:
https://code.claude.com/docs/en/commands#commands:~:text=/loop%20%5Binterval%5D%20%5Bprompt,on%20a%20schedule
/loop [interval] [prompt] Skill. Run a prompt repeatedly while the session stays open. Omit the interval and Claude self-paces between iterations. Omit the prompt and Claude runs an autonomous maintenance check, or the prompt in .claude/loop.md if present. Example: /loop 5m check if the deploy finished. See Run prompts on a schedule
Prototyped on a previous version of the kimi-cli. It is amazing. Allowed a single kimi session to work on batched tasks over a week-long time horizon.
As an example of utility in my prototyped implementation, it was able to build a set of government data extractors that conformed to uniform types across 21 facets in 15 different jurisdictions/states. It did this by feeding back into the session, at 10 minute intervals, the same uniform instruction set that built on existing session context from previous loops.
In the implementation there is a built in planning sequence for vague prompts, meaning that the agent will, on invocation of the /loop command, parse out the itteration time for the cron job and do a prompt refinement on all text thereafter. You may specify exact prompts in a file by passing it as a string and instructing the agent to copy the prompt directly, although I suspect this could be refined with prompt logic.
For the implementation I had to change the core agent loop and allow for the cron job to reattach to the session that spawned it. Otherwise, much of this could be captured by way of a bundled skill.
I will attempt to pull down the latest branch and merge my ole instance of kimi-cli and attach a PR to this issue once I am able.
Best,
JM
Additional information
No response
What feature would you like to see?
Parity feature with Claude Code, see here:
https://code.claude.com/docs/en/commands#commands:~:text=/loop%20%5Binterval%5D%20%5Bprompt,on%20a%20schedule
/loop [interval] [prompt] Skill. Run a prompt repeatedly while the session stays open. Omit the interval and Claude self-paces between iterations. Omit the prompt and Claude runs an autonomous maintenance check, or the prompt in .claude/loop.md if present. Example: /loop 5m check if the deploy finished. See Run prompts on a schedule
Prototyped on a previous version of the kimi-cli. It is amazing. Allowed a single kimi session to work on batched tasks over a week-long time horizon.
As an example of utility in my prototyped implementation, it was able to build a set of government data extractors that conformed to uniform types across 21 facets in 15 different jurisdictions/states. It did this by feeding back into the session, at 10 minute intervals, the same uniform instruction set that built on existing session context from previous loops.
In the implementation there is a built in planning sequence for vague prompts, meaning that the agent will, on invocation of the /loop command, parse out the itteration time for the cron job and do a prompt refinement on all text thereafter. You may specify exact prompts in a file by passing it as a string and instructing the agent to copy the prompt directly, although I suspect this could be refined with prompt logic.
For the implementation I had to change the core agent loop and allow for the cron job to reattach to the session that spawned it. Otherwise, much of this could be captured by way of a bundled skill.
I will attempt to pull down the latest branch and merge my ole instance of kimi-cli and attach a PR to this issue once I am able.
Best,
JM
Additional information
No response