[suggestion] save tokens by adding an ASK MODE #1086

Open
opened 2026-02-16 17:29:25 -05:00 by yindo · 6 comments
Owner

Originally created by @michabbb on GitHub (Aug 3, 2025).

Originally assigned to: @thdxr on GitHub.

isn´t it crazy that a simple "hi" can cost 17.7K tokens ?
because of all the agents, tools/mcps....

what if everything already is in the context and i want to talk with the Ai about it.
i don´t need tools, agents, and all that stuff.

but sending a simple "hi" costs thousands of tokens, that´s crazy.

we currently have "PLAN MODE" and "BUILD MODE"
why not an "ASK MODE" where all tools, agents, mcps are ignored ?

we don´t need to send all this overhead with every single prompt, or am i missing something here ???

Originally created by @michabbb on GitHub (Aug 3, 2025). Originally assigned to: @thdxr on GitHub. isn´t it crazy that a simple "hi" can cost `17.7K tokens` ? because of all the agents, tools/mcps.... what if everything already is in the context and i want to talk with the Ai about it. i don´t need tools, agents, and all that stuff. but sending a simple "hi" costs thousands of tokens, that´s crazy. we currently have "PLAN MODE" and "BUILD MODE" why not an "ASK MODE" where all tools, agents, mcps are ignored ? we don´t need to send all this overhead with every single prompt, or am i missing something here ???
Author
Owner

@davejfranco commented on GitHub (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

@davejfranco commented on GitHub (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
Author
Owner

@anuramat commented on GitHub (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

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>
@anuramat commented on GitHub (Sep 8, 2025): Try this: ```json { "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> ```
Author
Owner

@thdxr commented on GitHub (Sep 17, 2025):

you can configure this yourself - we'll consider making it native but needs more thought

@thdxr commented on GitHub (Sep 17, 2025): you can configure this yourself - we'll consider making it native but needs more thought
Author
Owner

@shihaonan369 commented on GitHub (Dec 27, 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

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.

@shihaonan369 commented on GitHub (Dec 27, 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 > > ``` > 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.
Author
Owner

@cmcdowell03 commented on GitHub (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.

@cmcdowell03 commented on GitHub (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.
Author
Owner

@bitanath commented on GitHub (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)

Image
@bitanath commented on GitHub (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) <img width="1540" height="338" alt="Image" src="https://github.com/user-attachments/assets/c819c320-3cba-41c5-9dfa-07aaaa36c19d" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1086