Join us and get access to thousands of tutorials and a community of expert Pythonistas.
This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.
Understanding the OpenCode Differentiators
00:00 Now that you’ve used OpenCode to implement a feature in your Python project, you can learn about a couple of characteristics that OpenCode has that, as of this recording, are fairly unique to OpenCode.
00:13
One of them being the fact that you can start a conversation with a model from a specific provider, and you can ask, for example, for a joke, and then you can use /models and you can switch to a different model.
00:29
For example, now let’s go from Gemini 3.5 to Gemini 2.5, and you can ask for another joke. And then, still within the same conversation, you can use the /models command and you can switch to a different model from a different provider. For example, you can try this free model from OpenCode Zen, and you can say, “Tell me yet another joke”.
00:58
This is a pretty unique feature that unlocks some very interesting use cases for more advanced projects. Now go ahead, run /exit. One thing that may be interesting for you, it’s going to depend on your personal preferences, of course, but you can run opencode web, and this will open a web client for OpenCode.
01:21 Once you press Enter, your default browser will open and you will see an interface like this, where you can open a project or open a recent project, and you can have a session directly through the browser. Finally, if you open the OpenCode documentation, you’re going to find a section on configuring different things, and you will find a very long list of different features and add-ons that you can use within OpenCode. For example, you can have OpenCode run specific formatters whenever it modifies your Python files, or you can just enable a Python LSP server so that whenever OpenCode modifies one of your Python files, it automatically uses the LSP server to check things like syntax, if there’s possibly any linting errors, if it’s using variables that don’t even exist.
02:21 The type of diagnostics that you get from an LSP server, you can bake them into OpenCode directly, among many other things, as you might see from the extensiveness of this list.
02:32 These are some of the features that make OpenCode more unique and make it a very customizable agent for your agentic workflows. These are just some of the characteristics that allow you to customize OpenCode to your preferences and needs.
02:49 Go ahead and take a minute to explore the documentation to see if there’s anything you would like to set up now, and once you’re ready, move on to the next lesson where you’re going to do an overview of everything you’ve learned so far.
Become a Member to join the conversation.