Oh My OpenCode

The Best Agent Harness. Meet Sisyphus: The Batteries-Included Agent that codes like you.

opencode
$ opencode init
โœ“ Configuration initialized
$ opencode --agent sisyphus
๐Ÿค– Planner-Sisyphus agent enabled
$ _

Why Oh My OpenCode?

Stop agonizing over agent harness choices. We've done the research, borrowed from the best, and shipped it here.

๐Ÿš€ Multi-Model Orchestration

Seamlessly work with multiple AI models. Test which model has the sharpest logic, who's the debugging god, and who writes the best code.

Learn more โ†’

โšก Batteries-Included

Everything you need is baked in. From agents to hooks, MCPs to LSP support - just install and go.

Explore features โ†’

๐Ÿ›ก๏ธ Production-Ready

Built with stability and reliability in mind. Used by professionals at Google, Microsoft, and Indent.

See who uses it โ†’

๐Ÿ”ง Highly Configurable

Customize every aspect to fit your workflow. Agents, hooks, MCPs, LSP servers - all configurable.

Configure now โ†’

๐Ÿค– Powerful Agents

Meet Sisyphus and other specialized agents. Each designed for specific tasks and workflows.

Meet the agents โ†’

๐Ÿ“š Rich Documentation

Comprehensive guides, examples, and API documentation to help you get the most out of Oh My OpenCode.

Read docs โ†’

Quick Start

Get up and running in minutes

Note: If you're on OpenCode 1.0.132 or older, an OpenCode bug may break config. Use a newer version for the best experience.
# Install Oh My OpenCode
npm install -g oh-my-opencode

# Or using bun
bun install -g oh-my-opencode

# Initialize configuration
opencode init

View Full Installation Guide โ†’

Explore Our Features

Discover the powerful capabilities that make Oh My OpenCode the best agent harness

๐Ÿค–

Intelligent Agents

Meet Sisyphus, Librarian, Explore, and Oracle - specialized agents designed for different development tasks. Each agent brings unique capabilities to enhance your workflow.

  • Planner-Sisyphus (default)
  • Code exploration
  • Documentation management
  • Question answering
Explore Agents โ†’
๐Ÿช

Powerful Hooks

20+ built-in hooks that automate and enhance your workflow. From context management to session recovery, hooks keep everything running smoothly.

  • 20+ built-in hooks
  • Context window management
  • Session recovery
  • Task continuation
View All Hooks โ†’
๐Ÿ”Œ

MCP Integration

Model Context Protocol integration for enhanced capabilities. Access up-to-date documentation and ultra-fast code search across millions of repositories.

  • Context7 (enabled by default)
  • grep.app integration
  • Up-to-date documentation
  • Ultra-fast code search
Learn About MCPs โ†’
๐Ÿ’ป

LSP Support

Full Language Server Protocol support with refactoring tools. Get code analysis, type checking, and powerful refactoring capabilities.

  • Code analysis
  • Refactoring tools
  • Custom LSP servers
  • Priority management
LSP Documentation โ†’
๐Ÿงช

Experimental Features

Early access to cutting-edge capabilities. Preemptive compaction, aggressive truncation, auto-resume, and DCP for advanced users.

  • Preemptive compaction
  • Auto-resume sessions
  • DCP for compaction
  • Advanced truncation
Try Experimental โ†’
โš™๏ธ

Configuration

Highly configurable to fit your workflow. Customize agents, hooks, MCPs, LSP servers, and experimental features with simple JSON configuration.

  • Simple JSON config
  • Project-specific settings
  • User-wide defaults
  • Full customization
Configure Now โ†’

Additional Capabilities

๐Ÿ”„
Session Recovery

Automatic recovery from errors and interruptions

๐Ÿ“Š
Context Window Management

Smart compaction and truncation to stay within limits

๐ŸŒ
Multi-Model Support

Work with Claude, GPT, Gemini, and more

๐Ÿ“
Directory-Specific Agents

Automatic agent injection based on directory structure

Loved by Professionals

Trusted by teams at leading companies

Indent

Making Spray - influencer marketing solution, vovushop - crossborder commerce platform, vreview - ai commerce review marketing solution

Google

Used by teams at Google for AI-powered development workflows

Microsoft

Trusted by Microsoft teams for agent orchestration and code generation

Get Involved

Join our community and contribute

๐ŸŒŸ Star on GitHub

Show your support by starring the repository. We're at 9k+ stars and growing!

Star Repository โ†’

๐Ÿค Contribute

Got a better idea? PRs are welcome! Check out our contributing guidelines.

Contribute โ†’

๐Ÿ’ฌ Report Issues

Found a bug or have a feature request? Open an issue on GitHub.

Report Issue โ†’