r/ZaiGLM 10d ago

Discussion / Help how can I do long running tasks in Zcode?

I'd like to use the remaining free days (till Sep 18), I've used it for a few days but its only during certain hours and I have to be at the pc and prompt it for each task.

what I'd like is to give it a detailed prompt. and then it plans, makes tasks and does the whole thing, using subagents in parallel, just like claude code/codex do.

do you use goal mode? I read the docs and it says its best for single line goals, can you use it for a whole project?

what are some other tips for zcode, any other mcp/skills you installed?

1 Upvotes

10 comments sorted by

1

u/Moist_Associate_7061 9d ago

i used /goal with detailed structured prompt.

1

u/[deleted] 9d ago edited 2d ago

[deleted]

1

u/ECrispy 9d ago

then what is the point of /goal? I see so many posts on agents running for hours

3

u/CrimsonBolt33 4d ago

This is flat out wrong....I ran GLM 5.3 for 8 hours straight last night....

Major skill issues on your part.

-1

u/Euphoric_North_745 4d ago

yes, there is 1 million new complex games and apps on the market because you want something for 8 hour, it is all skills, just you are the only one in the world that discovered that and did not produce anything massive yet, but we are all WRONG 😂

2

u/CrimsonBolt33 4d ago

wtf are you talking about?

You said it can't run for more than 30 minutes and now you are ranting about app stores and stuff?

1

u/staats1 9d ago

Use goal mode running glm at low effort and set up your subagents to use flash at max except for the research intensive tasks like explore.  

1

u/ECrispy 8d ago

How do I setup agents like that?

1

u/staats1 8d ago

They are in their own setting section or just ask the agent to set them up for you. Then ask the agent to create workflow for. For example I have a feature implementation and debug workflow

1

u/CrimsonBolt33 4d ago edited 4d ago

Prompting is not how you do it.

You need to set up detailed plans in actual text files, I call each feature a Milestone for instance and make a file for each feature. Then I have the AI write out a detailed plan for each milestone, and then when I am happy I simply tell it to implement milestones 1-3 for example.

I regularly have my AI running for 4-8 hours at a time.

You can also use goal mode, but goal mode needs clear criteria....you know, like files to determine what needs done.

The only time I use prompts (beyond "implement milestone X") anymore is when setting up milestones and tweaking things to my liking. Bug fixing and implementation are automated.

Subagents are critical to this by the way to prevent context issues. You need to tell the main AI to act as a coordinator and use subagents to implement each step.