r/opencode • • Oct 29 '26

🔥 /goal is finally in OpenCode

Post image

...

403 Upvotes

36 comments sorted by

View all comments

Show parent comment

2

u/Takumi-0 Oct 29 '26 edited Oct 29 '26

I understand and it's very true. But using AI, there's just no way to make sure it's gonna complete tasks. Today, they are capable enough to do it, that's what we "expect" and the result is quite good. That's the word "expect" that "goal" is trying to remove.

Benchmarks are focusing on TerminalBench in order to make sure your agent is capable to remove 100% of "expectations" by being able to verify itself.

In my opinion, using very intelligent model will complete the task most of the time. What if you use a dump model with "goal". You can try this probably 🤔.

Opus 5.5 (no goal) vs Deepseek 4.1 (goal) Yes quality will be different, at the end they will complete same goal.

1

u/YoRt3m Oct 29 '26

I'm not a rocket scientist, if a model I use can't finish 1 task, as complicated as it might be for my needs, it might aswell be too dumb to use to begin with. and I used both Deepseek 4.1 and Opus 5.5 and others... (I'm not talking about idiotic models like Beam because I wouldn't use them for 1+1.)

That's why I asked what are the purposes of the other people because maybe they're doing more complicated things.

3

u/Takumi-0 Oct 29 '26

I think it really depends on how your harness is and how you manipulate AI conversation. I'm trying multiple things like writing specific tasks (coding oriented) or only run a task from a PRD with making sure the PRD is fully implemented and running as goal (product oriented).

I'm also very interested by how people use it 🤓

1

u/chhola 19d ago

Also trying to understand when to use goal.

What I normally do for a task is to get the agent to create a ticket on github first following by a pr. So the ticket becomes the reference point of the task. Sometimes I create multiple prs for the same ticket using different models, that way I can compare the results and pick the one I like.

1

u/Takumi-0 16d ago

Ok i just had an excellent usecase

I am actually working on a heavy plan that i know the agent would stop anytime. I need to do a big migration of code a legacy work and my 'goal' is to verify on the end result tests are all green based on a plan. During the session, the agent compacted the context multiple time keeping the harness (opencode with deepseek) goal constantly active.

I have the feeling that if your harness is focusing on a task and need to compact, its gonna compact on the current task with a smaller summarize on the "said goal". so the "harness goal" will keep the objective always true.

Does it make sense?