You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[suggestion] save tokens by adding an ASK MODE #1573
If you don't have AGENTS.md, the only part of the system prompt that remains is
Here is some useful information about the environment you are running in:
<env>
Working directory: ...
Is directory a git repo: ...
Platform: ...
Today's date: ...
</env>
<project>
</project>
Reacted by John, Katarzyna Nowicka, Santiago Rios Olaya and Mhmdrz_a
Reacted by Micha(el) Bladowski, jinzhongjia and David Velasco
{
"agent": {
"ask": {
"mode": "primary",
"tools": {
"*": false
},
"prompt": " "
}
}
}
If you don't have AGENTS.md, the only part of the system prompt that remains is
Here is some useful information about the environment you are running in:
<env>
Working directory: ...
Is directory a git repo: ...
Platform: ...
Today's date: ...
</env>
<project>
</project>
Thanks for the workaround! But there’s also a predefined prompt for an ‘empty’ agent. I just want to chat with the agent the same way I do on the ChatGPT website. no opencode prompt, no context etc.
Just adding some feedback from my workflow. I tend to find success with designing a Plan in Ask mode.
I have a conversation with the LLM about my goals and make decisions about those goals in the Ask mode. Then Compress that conversation into a Plan via Plan mode. Then when executing the plan in Build mode I will toggle to Ask mode if there isn't something quite right with the implementation or there is a bug. Ask is almost like a 2 Party thinking mode to make design decisions and take direction.
Now Ask mode needs the ability to scrape through the code base and then compress that information back into the conversation. So what seems to work well is a Sub-Agent of sorts that goes out and does the search work then returns information back into the main session's context.
Please for the love of god make ask mode native... and set it as the default mode. A simple git push to HF -> plan and build made this chonky thing happen! (I'm on the paid plan btw not that it matters)
One more vote to make it native, I believe that even that the terminal focus on hard users, we need to think that some people are hard users trying to save time (the payload of creating your own agent/skill) and tokens.
When coding for fun, I have 10 directories, I don't create an .agent folder for each one.
Reacted by Heiland, Alwin Raju, Giuseppe Stecca, bitanath, Johannes Zellner, Luca Cavallaro, hendraptaksu, Daniel and Mhmdrz_a
Ask Agent should not be a blank prompt, but rather an Agent specifically designed for explaining code, with prompts like "Explain the code, do not edit", etc.
What you probably mean is Raw Agent.
But it's strange that opencode doesn't have Ask Agent built-in—after all, the need to use LLMs to assist in reading code is very common.
Activity
davejfranco commentedon Aug 4, 2025
I second this, being able to just chat with your LLM is a most so that you don't have to go to chatgpt to ask to then go back a build stuff
anuramat commentedon Sep 8, 2025
Try this:
{ "agent": { "ask": { "mode": "primary", "tools": { "*": false }, "prompt": " " } } }If you don't have AGENTS.md, the only part of the system prompt that remains is
thdxr commentedon Sep 17, 2025
you can configure this yourself - we'll consider making it native but needs more thought
shihaonan369 commentedon Dec 27, 2025
Thanks for the workaround! But there’s also a predefined prompt for an ‘empty’ agent. I just want to chat with the agent the same way I do on the ChatGPT website. no opencode prompt, no context etc.
cmcdowell03 commentedon Jan 29, 2026
Just adding some feedback from my workflow. I tend to find success with designing a Plan in Ask mode.
I have a conversation with the LLM about my goals and make decisions about those goals in the Ask mode. Then Compress that conversation into a Plan via Plan mode. Then when executing the plan in Build mode I will toggle to Ask mode if there isn't something quite right with the implementation or there is a bug. Ask is almost like a 2 Party thinking mode to make design decisions and take direction.
Now Ask mode needs the ability to scrape through the code base and then compress that information back into the conversation. So what seems to work well is a Sub-Agent of sorts that goes out and does the search work then returns information back into the main session's context.
bitanath commentedon Jan 31, 2026
Please for the love of god make ask mode native... and set it as the default mode. A simple git push to HF -> plan and build made this chonky thing happen! (I'm on the paid plan btw not that it matters)
fbzz commentedon Mar 3, 2026
One more vote to make it native, I believe that even that the terminal focus on hard users, we need to think that some people are hard users trying to save time (the payload of creating your own agent/skill) and tokens.
When coding for fun, I have 10 directories, I don't create an .agent folder for each one.
kbulabs commentedon Apr 11, 2026
Hi ! Same requets here : a default "ask" agent would be very cool regarding my daily usage... thanks
jmjoy commentedon May 5, 2026
Ask Agent should not be a blank prompt, but rather an Agent specifically designed for explaining code, with prompts like "Explain the code, do not edit", etc.
What you probably mean is Raw Agent.
But it's strange that opencode doesn't have Ask Agent built-in—after all, the need to use LLMs to assist in reading code is very common.
ylxdzsw commentedon May 11, 2026
I find the built-in "explore" agent somewhat suit this usage. Perhaps make that agent "all" instead of "subagent"?
github-actions commentedon Jul 10, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.