No. 135 · AI & ML

AI Agent Patterns skill for OpenCode

Build autonomous AI agents

Version 1.0.0 License MIT Format SKILL.md

Design AI agent architectures: tool use, planning loops, memory systems, multi-agent coordination, error recovery, and human-in-the-loop patterns.

When to use this skill

  • Building an AI agent
  • Implementing tool use
  • Designing agent memory systems

Core concepts

This skill provides guidance on ai agent patterns best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.

Installation

curl -LO https://opencodeskills.dev/downloads/ai-ml/ai-agent-patterns.zip
unzip ai-agent-patterns.zip -d ~/.config/opencode/skills/

Restart OpenCode — the skill loads automatically.

When it triggers

  • building an AI agent
  • implementing tool use
  • designing agent memory systems

More AI & ML skills for OpenCode

Browse every AI & ML skill →