Agentic AI for Practical Coding

OpenCode

Tobias Weiß

Agenda

  1. The Shift: Chat → Agentic Systems
  2. OpenCode – Overview & Architecture
  3. OpenCode – Features
  4. Limitations & Resources

The Shift: Chat → Agentic Systems

Traditional Chat AI:

  • You paste code → AI explains or suggests
  • You copy/paste back manually
  • One file at a time, limited context

The Shift: Chat → Agentic Systems

Agentic AI:

  • AI has direct access to your codebase
  • Reads multiple files, understands relationships
  • Makes changes autonomously (with your approval)
  • Runs tests, fixes bugs, refactors across files

Why It Matters:

  • 10x productivity for complex tasks
  • Consistent, reproducible results

OpenCode – Overview

What is OpenCode?

A CLI-based AI agent that analyzes, modifies, and extends codebases autonomously.

Source: https://github.com/anomalyco/opencode

OpenCode – Core Capabilities

Task Description
Code Understanding "Understand this repository"
Refactoring Multi-file changes
Testing Write and fix tests
Bug Fixing Diagnose and repair

OpenCode – Architecture

OpenCode – Features (1/2)

Skills & Workflows:

  • Extensible via MCP servers
  • Custom skills for specialized tasks

Agent Architecture:

  • Multi-agent coordination
  • Task delegation between specialists

OpenCode – Features (2/2)

Security:

  • You control which APIs and tools are enabled
  • Sandbox options available

Reproducibility:

  • Consistent results with identical configurations
  • Version-controlled agent settings

Known Limitations

Limitation Mitigation
API rate limits Batch requests, use caching
Occasional errors Always review changes
Context window Break tasks into smaller ones
Cost at scale Monitor usage, set budgets

Best Practices

  1. Always review changes — AI can make mistakes
  2. Use version control — Easy rollback if needed
  3. Start small — Test on non-critical code first
  4. Document your workflows — Build institutional knowledge
  5. Set clear guardrails — Define what AI should/shouldn't do

Resources

Resource URL
OpenCode github.com/anomalyco/opencode
Oh-My-OpenCode github.com/code-yeongyu/oh-my-opencode
ChromeDevTools MCP github.com/ChromeDevTools/chrome-devtools-mcp
Superpowers Skills github.com/obra/superpowers
Git MCP pulsemcp.com/servers/git
OpenCode Docker github.com/fluxbase-eu/opencode-docker

Thanks for Watching!

Like & Subscribe 👍

Find me at:

  • tobias-weiss.org
  • graphwiz.ai