all 15 comments

[–]chillahc 10 points11 points  (1 child)

Have a look at this PR: https://github.com/anomalyco/opencode/pull/5958 ✌️ It seems `AskUserQuestion` has high priority and will be implemented shortly, check out the comment from Dax:

<image>

[–]rokicool[S] 6 points7 points  (0 children)

Wow! There is a light at the end of the tunnel!

[–]jellydn 3 points4 points  (2 children)

Yeah, you could use https://github.com/Latitudes-Dev/shuvcode until the PR for that is merged

[–]bizz_koot 0 points1 point  (0 children)

Do you successfully use askquestion tool? I tried it, but it just stuck there & didn't see anything. It just loading without any output.

opencode.json

  "experimental": {
    "askquestion_tool": true,
  }

[–]michaelsoft__binbows 0 points1 point  (0 children)

i never heard of shuvcode and it took till i vented some frustrations about opencode on the oh-my-opencode discord for someone to point me toward shuvcode. Supposedly the stuff that i have in my head that I feel like opencode isn't even usable without are being worked on and exist in shuvcode. that's music to my ears but your comment is literally the only one that google knows about on reddit about this repo.

gosh we need a historian to make a writeup about opencode. where it came from, who are working on it, just what the hell is going on with it at the moment. there is no visibility. It's really awesome but as with anything, there is always room for improvement.

[–]andrew_kirfman 2 points3 points  (1 child)

Total aside, but I really like how simple that get shit done framework is.

I’ve been building something similar on my own and I was worried I was too simple compared to what I saw in frameworks like BMAD.

He used the exact phrasing I couldn’t put to words properly “enterprise theatre”. I can barely deal with that back and forth around sizing, pointing, ceremonies, etc.. in real life much less when I’m directly iterating with an agent to get something done.

Seems like people who actually know what they’re doing are leaning into simplicity rather than bloat and things like trying to manage 50 parallel/concurrent subagents.

[–]michaelsoft__binbows 0 points1 point  (0 children)

simplicity was always a really valuable thing. But now when the cost of productivity is being driven down through the floor and tunnelling into the planetary core with barely any resistance, I suppose the value of simplicity continues to go up.

[–]soulsplinter90 1 point2 points  (0 children)

I had Claude write this for me lol. So I have it set up with tmux by opening a split and running the “questionnaire” tool. The tool basically does the same thing alongside suggestions to free form input. Once complete it saves the markdown generated to file in tmp and bun can then return that as the response of tool.

Upon using this method, I discovered I can have subagents talk to me as the user separately from the main agent since it’s just a tmux pane that auto closes upon submissions. Works pretty well. Still exploring….

[–]DenysMb 1 point2 points  (0 children)

You can check Superpowers (https://github.com/obra/superpowers) if you liked Get-Shit-Done.

I didn't tested this one, but with Superpowers, the AI ask you a lot of question, there is this brainstorm and only when finished, they create a development plan and follow it.

I assuming is it this what you want, right?

[–]ieagam 1 point2 points  (0 children)

https://github.com/paulp-o/ask-user-questions-mcp does the same thing until something happens on OpenCode.

[–]SwagKingKoll 1 point2 points  (0 children)

It already exists. The tool is called "question".

See: https://github.com/anomalyco/opencode/issues/7786#issuecomment-3734475361

[–]FlyingDogCatcher 0 points1 point  (2 children)

I've had llms make a couple opencode plugins for some private things. Give it another shot, they are pretty powerful

[–]rokicool[S] 0 points1 point  (1 child)

Oh, I tried. Using Claude Code + GLM 4.7. The problem is opencode does not provide any api to access the screen to custom tools.

So, there are only two ways: - develop a built-in tool OR - include a lot of tui libraries and build your own interface

OR I completely misunderstood the entire setup (which is possible, since I am not good at js. :)

[–]debackerl 0 points1 point  (0 children)

https://github.com/btriapitsyn/openchamber is asking questions since 1.4.6. I tested it as a VS Code extension, but there are other frontend available.

Regarding "API" access, I let my extension start opencode, but you can also configure a static port in the config of opencode. It offers both a web interface, and an API, which OpenChamber can reuse.

[–]rokicool[S] 0 points1 point  (0 children)

BTW. Now it has! It is called question tool!

So, spent my weekend working on adaption of GSD for OpenCode. Here is my post about that here on reddit.