Visit sintra.ai/leonvanzyl or use my promo code leonvanzyl at checkout to receive limited time offer of 72% off on all plans 🚀 Free resources: source code, prompts, workflows + peer discussion https://skool.com/leonvanzyl 🧪 Agentic Labs: AI coding courses, live Q&A, weekly builder challenges, direct access to me + a serious builder community https://skool.com/agentic-labs OpenCode is the open source coding agent that is quickly becoming a serious alternative to Claude Code. In this opencode tutorial, you will learn how to install OpenCode, connect free AI models through OpenCode Zen or premium providers like OpenAI, and master advanced features including agent skills, sub agents, MCP servers, and background agents. ⏱️ CHAPTERS: 00:00 - OpenCode intro and overview 00:39 - Installing OpenCode in seconds 01:25 - Connecting providers and OpenCode Zen 02:20 - Free AI coding models walkthrough 03:46 - Scaffolding a Next js project 04:55 - Subscriptions vs API keys 06:00 - Connecting OpenAI and GPT 5 07:30 - Installing agent skills from skills sh 10:30 - AGENTS md memory file setup 13:00 - Sub agents and context window protection 15:30 - Design system for consistent UI 15:50 - Sponsor message 18:00 - Building the AI Project Planner app 22:30 - Saving plans for future sessions 24:30 - Creating custom sub agents 28:30 - Playwright MCP server setup 30:30 - Auto testing the app with browser MCP Business & sponsorship enquiries: [email protected] #opencode #agenticcoding
ADVERTISEMENT
🎁 My FREE 7 Day AI Builder Challenge - learn my RAMP workflow and ship a real app in a week 👇 /leonvanzyl
i cannot paste zen key on opencode
After installation it is saying genrate api key..what to do
You've nailed this tutorial big time. I'm sold.
the curl command installed it into my WSL2 Linux when executed from the powershell terminal in windows... I see some others below have the same issues, perhaps the installer has been changed since this video was created? I deleted the unwanted wsl2 folders and .bashrc edit and tried again with CMD but it did the same thing again. Testing it with the 'opencode' command immediately fails (of course) because it isn't in the windows path. Rewatching your installation precisely, what you show doesn't work anymore on an unmodified windows 11 pro desktop. EDIT: use the npm install instead npm i -g opencode-ai then the rest of this video works as shown.
Kimi / Deepseek give you 90% of capabilities of SOTA models from OpenAI or Anthropic. at less than 1/10 of price. Why would anyone use expensive models?
"Keep responses concise and to the point - unless the user asks otherwise" I don't use this, because in opencode, deepseek throws out every little detail of thinking and it helps me work though how he got his result, reverse engineering automobile ecu firmware. I can't stand how useless Antigravity IDE is compared to opencode. It's hard to go back. I will not be renewing my google sub.
My opencode runs continuously even after answering a simple convo, when I send it hi it replies with a single line and then and then keeps on doing some shit in the name compaction how to stop this or fix this
Haha, your programming stack is literally the definition of vulnerabilities, the attack surface for your choices is a black hats dream! You could not have chosen worse tools.
Great breakdown
Aweh oom
I'm here for the content, and the fond memories of South African accents!
Grazie
My friend you gave a lot and so much more. Thank you for sharing that knowledge and incredible workflow. You video was recommended by Opencode when I asked for a good video to learn the ways of the force in OpenCode. You rock!!! and OpenCode rocks!!!
So cool thanks man
Thank you for the tutorial. But I would like to know if it's possible to run "parallel sub-agents" in Opencode, that is, asynchronous sub-agents that run and leave the prompt free while executing different tasks, instead of waiting in a queue. It would be like the "&" at the end of a Bash command line in Linux. Greetings from Brazil.
What do you think about Kilo Code + VS Code + Ollama ?
Thanks Leon, this is really a great walk through - you cover the parts that developers really care about.
I instantly recognized my home country's accent. RSA
Sir how to paste prompt to open code