Fully vibe coding using OpenCode

I knew [link] for a few months. It's a coding-agent. It was kind of alternatives to Claude Code by that time.
After heard from a friend to show a demo to use the OpenCode to develop games and quiz. I feel it's so astonishing! Even the free model could achieve a high completeness project in a reasonable time.
So I started my project and do an experiment on heavily rely on ai-assisted coding method. Before this, I was the 'copy & paste' from the chatbox for snippet. Or using the coding IDE for completion, also the fully hand-free one. The fully hand-free one can't live long as the IDE started to raise the price, cut the free model and slow down the free models.
This time I still tried the free plan in OpenCode. I tried MiMo v2.5 free this time. This is a China developed LLM by Xiaomi Co. Its famous product is the affordable cell phones. Nowadays, Xiaomi has wide range of products like home applicants (sweep cleaner, Wi-Fi router, mobile charger, ear phone…etc), electric cars, and many…
I checked MiMo v2.5 series has up to 1M token context window. But it looks like OpenCode not support that much, the actual offering is around 200K tokens.
But for my little project 200K tokens is a can-do. It through compactions can carry enough message and continue the overall progress.
Here is my way to develop.
Step 1 - planning
Write an initial prompt with as much as possible detail I can think of. What to do, what programing language, package I preferred to use. Which components will be coded. Put the files at which folders.
The most-important is that I use [inlineCode]Plan mode in OpenCode first for this first prompt. This [inlineCode]Plan mode won't write to system for anything. This won't distract the attention to prepare writing, but will focus on requirement understanding, doing necessary research for the project.
I would ask LLM to write a specification and write to file IMPLEMENTATION.md
But first I still keep it at [inlineCode]Plan mode, because sometimes the LLM would ask you for several questions for clarification. I feel these are good that most of the case the initial prompt has some unclear aspects. This feature could help me to think deeper and also gain knowledge on other possible approaches to do that task.
After several rounds of refinement and adding newly thinking of ideas, LLM gives a almost there plan. Then LLM would keep asking for your permission to write the file. But it still requires you switch to [inlineCode]Build mode to do the actual write to file.
The following steps are keep switching between [inlineCode]Plan mode and [inlineCode]Build mode.
IMPLEMENTATION.md will be the center document through out the project to rely on. You would ask LLM to re-read for the next step and review the existing done tasks.
People may ask, 'why not README.md ?'. My answer is README.md is usually for human to understand the usage and how to get started. How did the project is planned and developed is clumsy for people who are going to use the project.
Also, letting LLM to write such README.md when the overall project is completed will be more clean and clear. So, let the intermediate steps in a separated file: IMPLEMENTATION.md
Step 2 - coding
Usually, LLM will break the project (especially coding project) in to parts and divide them into milestones. LLM automatically think of the dependencies of parts and reserves placeholders for the later parts. This is smart!
I would ask LLM to plan the M1 milestone in [inlineCode]Plan mode, LLM will gather the information from IMPLEMENTATION.md, my first prompt and also current files, if any exists.
I would [strong] what the LLM writes and [emphasis] as much as possible.
I think this is a major difference between a software engineer and the ai-native people to develop software. I wish I could understand how LLM 'thinks' like this, how did they make 'decision' by 'reasoning'.
It's obvious that people looking at the outcome and functionality.
But current LLM is still obey on the input from the user. When you ask LLM to design item a, b, c, d, it will give you all of them, most of the case it won't give the extras.
I tried this for develop backend, which is not my specialty. Initally, I think that, LLM can really fulfill my requirement and the code can run!
However, once I has a sudden idea to add [inlineCode]Production-ready as new requirement to backend. This becomes a complete story. LLM gave me several aspects that I've never think of, such as rate limit, fault-routes, authentication, deployment…
I realize that these knowledge possibly very basic and common in backend engineers, but to me or newbie, they're out-of-knowledge scope. On the other hand, LLM of course knows ALL THESE knowledge when it was trained. But if you don't know how to ask them to show, they won't know you want them to tell.
That's why people says LLM is the ability amplifier. The pre-requisit is you have already a bit of ability.
Step 3 - Git
At the very beginning, I only use one or few shot to ask LLM to give me code. For this [inlineCode]Production-ready one, the project development time becomes longer. During the back-and-forth, LLM makes a lot of the changes.
Without Git for versioning tracking, you will quickly lost what LLM did and lost on why it did like that. Because it's not [strong] LLM could write the code right at the first time. And the new code may also remove the old logic due to context lost.
As a human, you must have a way to tracking what LLM did.
I see that people will ask LLM to do tool calling to do the commit themselves too. This is a 'can-do', but I haven't tried it.
I can't control the timing for LLM to commit. Neither commit for each character change or 100K lines of code change is good commit.
I rather prefer me to do the commit after finished a milestone, after edit the documentation or specification.
Step 4 - checking and review
After a round of coding phase, LLM would conduct tests! This is amazing! At least LLM would deliver code that could run.
But still, the test may not cover all areas, especially the exceptional case and logic errors.
So, asking LLM to do code checking and review the work up to now is crucial.
In my opinion that, I think MiMo v2.5 has a bit different understanding from checking and review. Checking is more like to find out the missing gaps between existing code and the specification, while review is like logic flow of code.
I like to use 'checking' more.
A fun story, I asked main LLM to review the code, however, the overall code base has grown too large, the main LLM spawn several sub-agent to do the review one milestone for one. (This happens when the review task exceed the context window limit (reading a lot of code files), which leads to timeout.)
I clicked into one of the sub-agent, it claimed that it found a potential bug. But when the main agent did the summary from all the sub-agents, it didn't mention that. So I asked main LLM to check that part itself.
Main agent said Sub-agent was wrong!
[strong]
LLM can do wrong! (as of 2026)
Step 5 - research
Sometime you aren't sure which method is the best fit for you. You could use [inlineCode]Plan mode to ask LLM to do research for you can give a report on the differences between them.
Usually, main LLM will spin up sub-agents for searching the Web and read the current directory files.
These sub-agents work in parallel, which is more efficient that only do by the main LLM.
The model is the same LLM, but the spawn into different process to do.
They of course 'burn' tokens (in a fast way), but they will start a isolated context window, which won't contaminate the context window of the main LLM.
Step 6 - update specification
[inlineCode]Plan mode for new update, after refinement and research when you need LLM to do, switch to [inlineCode]Build mode to update the IMPLEMENTATION.md
During [inlineCode]Plan mode, you are freely to ask, freely to add the new thing.
To me, I would ask the one more time to confirm what LLM would write before I actually switch to [inlineCode]Build mode. This is because I want to make sure the final output would look like.
In fact, due to the nature of LLM, 99.999999% (my wild guess) of the output won't be exactly the same as the last prompting to LLM (due to random seed, due to the conversation history, temperature…), but the overall content will retain similar.
And this last confirm doesn't cost a lot when it's using free model.
With this, you, as a human, can expect what LLM will write to your disk.
Step 7 - resume session
The back-and-forth could last for multiple hours. You could pause a bit by exit OpenCode by [inlineCode]ctrl + c. And the type command: [inlineCode]opencode -s ses_xxxxxxxxxxxxxxx
to resume the session.
It's highly suggest that you rename the session to memorable name via [inlineCode]ctrl + p and search [inlineCode]rename before exit the app.
Hint
Just find that when it's around 8 AM to 9 AM (UTC+0), the free model LLM server of OpenCode will become busy and slow, the intelligent drops too.
You may avoid to do heavy task at these peak time.
Conclusion
With vibe coding tool, any one can achieve a lot a lot more projects that never thought of before. The agents code thousands line of code in minutes. Read and review hundreds of code files in a seconds.
Now, I admired those LLM developer and the giant tech company to build such monsters. And I would throwback, when was my last time to code only with my bare hands? Oh no, I can't think of whether I could start a project from scratch without AI assist.
I would use the traditional old building scaffolding. I would be in deep shit of figure out the right one from the dependencies hell. I would need to google every line for searching a right function to call. I need to search the variable names across multiple files for refactoring.
This can be horrible in terms of career. One can't beat LLM by speed. And one will eventually forget how to write correct code without LLM help.
It was a funny case that in a Hackathon event, when ChatGPT was down, the whole team leaves the venues…