--- title: "OpenCode Integration" type: source tags: [agency, integrations, opencode] date: 2026-04-20 source_file: raw/Agent/agency-agents/integrations/opencode/README.md --- ## Summary OpenCode Integration README explains generating `.opencode/agents/.md` project-scoped agent files. The converter maps named colors to hex codes, sets `mode: subagent` so agents are invoked with `@agent-name`, and supports installing project-scoped files or installing globally via `--path`. ## Key Claims - OpenCode agents are `.md` files with YAML frontmatter stored in `.opencode/agents/` and use `mode: subagent`. - The installer creates `.opencode/agents/.md` when run from a project root; global installation is possible with `--path`. - Generated agent frontmatter includes `name`, `description`, `mode: subagent`, and `color` (hex codes produced from named colors). ## Key Quotes > "OpenCode agents are `.md` files with YAML frontmatter stored in `.opencode/agents/`. The converter maps named colors to hex codes and adds `mode: subagent` so agents are invoked on-demand via `@agent-name` rather than cluttering the primary agent picker." — OpenCode Integration README ## Connections - [[The Agency: AI Specialists Ready to Transform Your Workflow]] — roster source ## Contradictions - None detected with existing wiki content at time of ingest.