You’ve installed OpenCode, authenticated with your Google account to use Gemini models, and used it to analyze and refactor a Python project from your terminal. You also created the AGENTS.md configuration file, which gives the agent persistent context about your project. In Plan mode, you reviewed changes before they were applied.
With model switching, built-in LSP diagnostics, and the web interface, you have a complete AI coding workflow without leaving your development environment.
In this video course, you’ve learned how to:
- Install OpenCode and connect it to a free Google Gemini API key
- Initialize a project with
/initand customizeAGENTS.mdwith Python-specific guidelines - Analyze and refactor code using the Plan and Build modes
- Switch between AI models on the fly and reference files with the
@syntax - Take advantage of built-in LSP diagnostics and the web interface for a smooth coding workflow
With these skills, you can bring AI-assisted coding into your Python projects without leaving the terminal or relying on a paid subscription.