Configuration Reference

Oh My OpenAgent is highly opinionated but adjustable to taste. Most users don't need to configure anything — run bunx oh-my-opencode install and go.

Quick Start

{
  "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
  "agents": {
    "oracle": { "model": "openai/gpt-5.4", "variant": "high" },
    "explore": { "model": "github-copilot/grok-code-fast-1" }
  },
  "categories": {
    "quick": { "model": "opencode/gpt-5-nano" },
    "visual-engineering": { "model": "google/gemini-3.1-pro" }
  }
}

Config File Locations

  • .opencode/oh-my-opencode.json (Project level)
  • ~/.config/opencode/oh-my-opencode.json (User level)

JSONC is supported, allowing comments and trailing commas.

Agents

Configure specific behaviors for the built-in agents: Sisyphus, Hephaestus, Oracle, Librarian, Explore, Multimodal Looker, Prometheus, Metis, Momus, Atlas, and Frontend Engineer.

Override Options

OptionTypeDefaultDescription
modelstring-Model identifier (e.g., openai/gpt-4o)
variantstring-Model variant (max, high, medium, low)
categorystring-Inherit configuration from a category
temperaturenumber-Sampling temperature (0-2)
top_pnumber-Top-p sampling (0-1)
promptstring-Override the system prompt completely
prompt_appendstring-Append text to the system prompt
toolsRecord-Enable or disable specific tools
disablebooleanfalseDisable this agent
maxTokensnumber-Maximum tokens for response
thinkingobject-Extended thinking configuration
reasoningEffortstring-Reasoning effort: low, medium, high, xhigh

Permissions

PermissionValuesDescription
editask / allow / denyFile editing capabilities
bashask / allow / denyBash command execution
webfetchask / allow / denyWeb request capabilities
doom_loopask / allow / denyInfinite loop override
external_directoryask / allow / denyAccess files outside project

Categories

Categories allow you to define shared configurations that agents can inherit from.

CategoryDefault ModelDescription
visual-engineeringgemini-3.1-pro (high)Frontend, UI/UX, design tasks
ultrabraingpt-5.3-codex (xhigh)Deep logical reasoning
deepgpt-5.3-codex (medium)Autonomous problem-solving, thorough research
artistrygemini-3.1-pro (high)Creative tasks
quickclaude-haiku-4-5Trivial, fast tasks
unspecified-lowclaude-sonnet-4-6Low effort general tasks
unspecified-highgpt-5.4 (high)High effort general tasks
writinggemini-3-flashDocumentation and prose

Available options for categories: model, variant, temperature, top_p, maxTokens, thinking, reasoningEffort, textVerbosity, tools, prompt_append, is_unstable_agent.

Skills

Built-in skills include playwright, agent-browser, and git-master. You can also define custom skills.

"skills": {
  "my-custom-skill": {
    "description": "A custom skill for specific tasks",
    "instructions": "Always use this skill when..."
  }
}

Background Tasks

OptionTypeDefaultDescription
defaultConcurrencynumber-Default max concurrent tasks
staleTimeoutMsnumber-Timeout for stale tasks in ms
providerConcurrencynumber-Concurrency limit per provider
modelConcurrencynumber-Concurrency limit per model
Priority:modelConcurrency >providerConcurrency >defaultConcurrency

Hooks

Hooks allow you to extend functionality at various lifecycle points.

agent-usage-reminder
anthropic-context-window-limit-recovery
anthropic-effort
atlas
auto-slash-command
auto-update-checker
background-notification
category-skill-reminder
claude-code-hooks
comment-checker
compaction-context-injector
compaction-todo-preserver
delegate-task-retry
directory-agents-injector
directory-readme-injector
edit-error-recovery
interactive-bash-session
keyword-detector
non-interactive-env
prometheus-md-only
question-label-truncator
ralph-loop
rules-injector
session-recovery
sisyphus-junior-notepad
start-work
stop-continuation-guard
subagent-question-blocker
task-reminder
task-resume-info
tasks-todowrite-disabler
think-mode
thinking-block-validator
unstable-agent-babysitter
write-existing-file-guard

MCPs

websearch

Powered by Exa for high-quality search results.

context7

Documentation retrieval and context management.

grep_app

GitHub code search integration.

Browser Automation

ToolDescriptionUse Case
playwrightFull browser automation (default)Testing, complex interactions
agent-browserLightweight browser agentQuick lookups, simple scraping

Tmux Integration

OptionTypeDefaultDescription
enabledboolean-Enable Tmux integration
layoutstring-Tmux window layout
main_pane_sizestring-Size of the main pane

Git Master

OptionTypeDefaultDescription
commit_footerstring-Text to append to commit messages
include_co_authored_byboolean-Add Co-authored-by trailer

Comment Checker

Validates comments in your code. Use the {{comments}} placeholder in your custom prompt.

"comment-checker": {
  "custom_prompt": "Review these comments: {{comments}}"
}

Experimental Features

OptionTypeDefaultDescription
aggressive_truncationboolean-Aggressively truncate outputs
auto_resumeboolean-Automatically resume interrupted tasks
preemptive_compactionboolean-Compact context before limits
truncate_all_tool_outputsboolean-Truncate all tool outputs

LSP Configuration

OptionTypeDefaultDescription
commandstring-LSP server command
extensionsarray-File extensions to match
prioritynumber-Server priority
envobject-Environment variables
initializationobject-Initialization options
disabledboolean-Disable this LSP

Environment Variables

OPENCODE_CONFIG_DIR

Override the default configuration directory path.

Oh My OpenAgent Documentation © 2026

Documentation | Oh My OpenAgent