[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-93578":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":9,"language":10,"languages":8,"totalLinesOfCode":8,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":8,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":8,"createdAt":8,"pushedAt":8,"updatedAt":21,"readmeContent":22,"aiSummary":8,"trendingCount":15,"starSnapshotCount":15,"syncStatus":23,"lastSyncTime":24,"discoverSource":25},93578,"opencode","magnusoverli\u002Fopencode","magnusoverli",null,"https:\u002F\u002Fgithub.com\u002Fmagnusoverli\u002Fopencode","JavaScript",195,16,4,5,0,7,21,55.89,false,"main","2026-07-22 04:02:09","\u003Cdiv align=\"center\">\n\n# 🚀 OpenCode\n\n### *AI-Powered Configuration Assistant for Home Assistant*\n\n[![Version][version-shield]][github]\n[![Project Stage][project-stage-shield]][github]\n[![License][license-shield]][license]\n[![Maintenance][maintenance-shield]][github]\n\n[![Stable Build][stable-build-shield]][stable-build-workflow]\n[![Beta Build][beta-build-shield]][beta-build-workflow]\n\n**Transform your Home Assistant configuration with the power of AI**\n\n[Installation](#-installation) • [Features](#-features) • [Documentation][docs] • [Support](#-support)\n\n---\n\n\u003C\u002Fdiv>\n\n## ✨ About\n\n**OpenCode** brings the revolutionary [OpenCode](https:\u002F\u002Fopencode.ai) AI coding agent directly into your Home Assistant instance. Experience intelligent configuration editing through natural language, advanced YAML assistance, and deep integration via the Model Context Protocol (MCP).\n\n> **Upstream attribution:** This is an independent Home Assistant add-on that redistributes and integrates [OpenCode](https:\u002F\u002Fgithub.com\u002Fanomalyco\u002Fopencode), © 2025 opencode, under the MIT License. It is not made by, affiliated with, or endorsed by the OpenCode team or Anomaly. See the [third-party notices](THIRD-PARTY-LICENSES.md).\n\n\n### 🎯 Key Features\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"50%\">\n\n#### 🤖 **AI-Powered Editing**\nUse natural language to modify your Home Assistant configuration. No more searching documentation - just ask!\n\n#### 🎨 **Two Interface Modes**\nChoose your experience from the sidebar: a beautiful web **terminal** with 10 themes, or the graphical **OpenChamber** web UI — both served through Home Assistant Ingress.\n\n#### 🔌 **Provider Agnostic**\nWorks with **75+ AI providers**: Anthropic, OpenAI, Google, Groq, Ollama, and many more.\n\n\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\n\n#### 🔧 **Deep MCP Integration**\n37 tools, 14 resources, and 6 guided prompts for comprehensive Home Assistant interaction.\n\n#### 💡 **Intelligent LSP Support**\nSmart YAML editing with entity autocomplete, live hover information, deprecation warnings, and go-to-definition support.\n\n#### 🛡️ **Safe Config Writing**\nValidated config pipeline with automatic backup\u002Frestore. Multi-layered checks are designed to prevent AI-written config from breaking your HA instance.\n\n#### 🏗️ **hab CLI Integration**\nIncludes the [Home Assistant Builder CLI](https:\u002F\u002Fgithub.com\u002Fballoob\u002Fhome-assistant-build-cli) by [@balloob](https:\u002F\u002Fgithub.com\u002Fballoob) — a CLI purpose-built for AI agents to manage Home Assistant via REST and WebSocket APIs. Enables dashboard CRUD, area\u002Ffloor management, helper creation, backup\u002Frestore, and bulk admin operations that would otherwise require direct API calls or UI interaction.\n\n#### 🧭 **HA Native LLM Ready**\nTracks Home Assistant's emerging native `llm` integration and native MCP endpoints such as `\u002Fapi\u002Fmcp\u002F\u003CAPI ID>`, reports readiness through MCP, and targets beta-channel bridge testing first.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n---\n\n## 🌟 What is OpenCode?\n\n[**OpenCode**](https:\u002F\u002Fopencode.ai) is an open-source AI coding agent that transforms how you interact with your codebase. It understands your files, executes commands, and helps you build and maintain software using natural language.\n\nThink of it as your personal expert developer who:\n- 📖 Reads and understands your entire configuration\n- ✏️ Suggests and implements improvements\n- 🐛 Finds and fixes bugs automatically\n- 🚀 Implements new features on request\n- 💬 Explains complex configurations in plain English\n\n---\n\n## 🎭 Supported AI Providers\n\nOpenCode works with **75+ AI providers**. Choose the one that fits your needs:\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>🔥 Popular Providers (Click to expand)\u003C\u002Fb>\u003C\u002Fsummary>\n\n| Provider | Available Models |\n|----------|------------------|\n| 🧠 **Anthropic** | Claude 4 Opus, Claude 4 Sonnet, Claude 3.5 Sonnet, Claude 3.5 Haiku |\n| 💎 **OpenAI** | GPT-4o, GPT-4 Turbo, o1, o1-mini, o3-mini |\n| 🌈 **Google** | Gemini 2.0 Flash, Gemini 1.5 Pro, Gemini 1.5 Flash |\n| ☁️ **AWS Bedrock** | Claude, Llama, Mistral (via AWS) |\n| 🔷 **Azure OpenAI** | GPT-4, GPT-4 Turbo (Azure hosted) |\n| ⚡ **Groq** | Llama 3, Mixtral (ultra-fast inference) |\n| 🎯 **Mistral** | Mistral Large, Mistral Medium, Codestral |\n| 🦙 **Ollama** | Local models (Llama, CodeLlama, Mistral, etc.) |\n| 🌐 **OpenRouter** | 100+ models through single API |\n| 🤝 **Together AI** | Llama, Mixtral, and open models |\n| 🔥 **Fireworks AI** | Fast inference for open models |\n| 🚀 **xAI** | Grok models |\n| 💫 **Deepseek** | Deepseek Coder, Deepseek Chat |\n\n\u003C\u002Fdetails>\n\n### 🎁 **Free Tier - OpenCode Zen**\n\nStart immediately with **OpenCode Zen** - no API keys or subscriptions required! Get access to curated models optimized for coding tasks, perfect for trying OpenCode or for users who prefer not to manage their own API keys.\n\nSimply run `\u002Fconnect` and select **OpenCode Zen** to get started for free.\n\n---\n\n## 📦 Installation\n\n### Quick Install\n\n1. **Add this repository to Home Assistant:**\n\n   [![Add Repository][repo-btn]][repo-add]\n\n   \u003Cdetails>\n   \u003Csummary>Or add manually\u003C\u002Fsummary>\n   \n   Go to **Settings** → **Add-ons** → **Add-on Store** → **⋮** → **Repositories**\n   \n   Add: `https:\u002F\u002Fgithub.com\u002Fmagnusoverli\u002Fopencode`\n   \u003C\u002Fdetails>\n\n2. **Install the add-on:**\n   - Find **\"OpenCode\"** in the add-on store\n   - Click **Install**\n\n3. **Start using it:**\n   - Start the add-on\n   - Click **Open Web UI** (or use the sidebar)\n   - Run `opencode` and use `\u002Fconnect` to configure your AI provider\n\n   > 💡 **Prefer a graphical interface?** Set **Interface Mode** to `openchamber` in the add-on **Configuration** tab and restart to swap the terminal for the [OpenChamber](https:\u002F\u002Fgithub.com\u002Fopenchamber\u002Fopenchamber) web UI on the same sidebar entry. The default `terminal` mode is unchanged.\n\n---\n\n## 🛡️ Safety & Validation\n\n> **This add-on has read\u002Fwrite access to your Home Assistant configuration directory.**\n\nIt also mounts Home Assistant add-on development folders (`\u002Faddons` and `\u002Faddon_configs`) so OpenCode can help with custom add-ons. Treat `\u002Faddon_configs` as sensitive because it may contain configuration data for other add-ons.\n\nOpenCode includes a multi-layered validation pipeline designed to prevent AI-written configuration from causing your Home Assistant to fail to start:\n\n- 🔍 **Automatic config validation** — every config write is validated through HA Core's own check before committing\n- ↩️ **Automatic backup\u002Frestore** — if validation fails, the original file is instantly restored\n- 🧪 **Jinja2 template pre-validation** — templates are tested through HA's engine before writing to disk\n- 📋 **Deprecation scanning** — 20+ patterns catch outdated syntax, auto-updated from GitHub\n- 🏥 **HA Repairs integration** — surfaces your installation's active deprecation warnings\n- ⚠️ **Structural checks** — catches missing triggers, actions, and other required fields\n\n**Additional best practices:**\n\n- 💾 **Always backup** your configuration before significant changes\n- 👀 **Review changes** suggested by the AI before accepting them  \n- 📝 **Use version control** (git) when possible for easy rollback\n\n---\n\n## 🧭 Home Assistant Native LLM Roadmap\n\nHome Assistant is developing a native `llm` integration so Core integrations and custom integrations can expose curated tools to Assist through `\u003Cintegration>\u002Fllm.py` and registered LLM APIs over `\u002Fapi\u002Fmcp\u002F\u003CAPI ID>`. OpenCode will follow this work closely and aims to be a premium consumer of the agent capabilities Home Assistant makes available.\n\nToday, the add-on keeps MCP as the complete working tool surface, adds readiness reporting through `get_agent_capabilities` \u002F `ha:\u002F\u002Fagent\u002Fcapabilities`, provides compact `get_home_context` discovery, and includes a native LLM provider guide for custom integration authors. The beta channel can opt into a configurable native MCP bridge targeting `\u002Fapi\u002Fmcp\u002F\u003CAPI ID>` with `assist` as the default. As HA-native LLM capabilities become stable and accessible to add-ons, OpenCode will prefer native HA tools where they fit while keeping MCP for safe config writing, validation, admin\u002Fdev workflows, screenshots, firmware updates, and troubleshooting.\n\nSee the [full documentation][docs] for the current support status and long-term integration plan.\n\n---\n\n## 📚 Documentation\n\nComprehensive documentation is available covering all features:\n\n- 📖 [**Full Add-on Documentation**][docs] - Complete guide to all features\n- 📝 [**Changelog**][changelog] - Version history and updates\n\n---\n\n## 🎯 Quick Start Examples\n\nOnce installed and connected to an AI provider, try these commands:\n\n```bash\n# Create a new automation\n\"Create an automation that turns on lights when motion is detected\"\n\n# Review your configuration\n\"Check my configuration.yaml for any issues\"\n\n# Add sensors\n\"Add a template sensor to track my total energy usage\"\n\n# Get entity information\n\"What's the current state of all my lights?\"\n\n# Troubleshoot\n\"Why isn't my bedroom motion sensor triggering automations?\"\n\n# Analyze history\n\"Show me temperature trends for the past 24 hours\"\n```\n\n---\n\n## 🤝 Support\n\nNeed help? We've got you covered:\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"33%\">\n\n### 💬 Discord\n[Join OpenCode Discord](https:\u002F\u002Fopencode.ai\u002Fdiscord)\n\nCommunity support & discussions\n\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\n### 📖 Documentation\n[OpenCode Docs](https:\u002F\u002Fopencode.ai\u002Fdocs)\n\nComprehensive guides & tutorials\n\n\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"33%\">\n\n### 🐛 Issues\n[GitHub Issues][issues]\n\nBug reports & feature requests\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n---\n\n## 🌟 Contributing\n\nWe love contributions! Here's how you can help:\n\n1. 🍴 Fork the repository\n2. 🔧 Create your feature branch (`git checkout -b feature\u002Famazing-feature`)\n3. 💾 Commit your changes (`git commit -m 'Add amazing feature'`)\n4. 📤 Push to the branch (`git push origin feature\u002Famazing-feature`)\n5. 🎉 Open a Pull Request\n\nContributions of all kinds are welcome — feel free to open a PR!\n\n---\n\n## 👏 Authors & Contributors\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmagnusoverli\">\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fmagnusoverli.png\" width=\"100px;\" alt=\"Magnus Overli\"\u002F>\u003Cbr \u002F>\n\u003Csub>\u003Cb>Magnus Overli\u003C\u002Fb>\u003C\u002Fsub>\n\u003C\u002Fa>\u003Cbr \u002F>\n\u003Csub>Creator & Maintainer\u003C\u002Fsub>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FTeeflo\">\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FTeeflo.png\" width=\"100px;\" alt=\"Teeflo\"\u002F>\u003Cbr \u002F>\n\u003Csub>\u003Cb>Teeflo\u003C\u002Fb>\u003C\u002Fsub>\n\u003C\u002Fa>\u003Cbr \u002F>\n\u003Csub>ARM64 fixes, README, icons & logo\u003C\u002Fsub>\n\u003C\u002Ftd>\n\u003Ctd align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fballoob\">\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fballoob.png\" width=\"100px;\" alt=\"Paulus Schoutsen\"\u002F>\u003Cbr \u002F>\n\u003Csub>\u003Cb>Paulus Schoutsen\u003C\u002Fb>\u003C\u002Fsub>\n\u003C\u002Fa>\u003Cbr \u002F>\n\u003Csub>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fballoob\u002Fhome-assistant-build-cli\">hab CLI\u003C\u002Fa> — admin backbone\u003C\u002Fsub>\n\u003C\u002Ftd>\n\u003Ctd>\n\n### All Contributors\n\nSee the [contributors page](https:\u002F\u002Fgithub.com\u002Fmagnusoverli\u002Fopencode\u002Fgraphs\u002Fcontributors) for the full list of amazing people who have helped make this project better!\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n---\n\n## 📜 License\n\nThis is free and unencumbered software released into the public domain - see the [UNLICENSE](UNLICENSE) file for details.\n\nThis distribution also includes third-party software, including OpenCode. Its copyright notices and license terms are retained in [THIRD-PARTY-LICENSES.md](THIRD-PARTY-LICENSES.md) and in the add-on image at `\u002Fusr\u002Fshare\u002Fdoc\u002Fha-opencode\u002FNOTICE`.\n\n---\n\n\u003Cdiv align=\"center\">\n\n### ⭐ If you find OpenCode helpful, please star this repository!\n\n**Made with ❤️ for the Home Assistant community**\n\n[Installation](#-installation) • [Features](#-features) • [Documentation][docs] • [Support](#-support)\n\n\u003C\u002Fdiv>\n\n\u003C!-- Links -->\n[docs]: .\u002Fha_opencode\u002FDOCS.md\n[changelog]: .\u002Fha_opencode\u002FCHANGELOG.md\n[issues]: https:\u002F\u002Fgithub.com\u002Fmagnusoverli\u002Fopencode\u002Fissues\n[license]: UNLICENSE\n[github]: https:\u002F\u002Fgithub.com\u002Fmagnusoverli\u002Fopencode\n[repo-add]: https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fsupervisor_add_addon_repository\u002F?repository_url=https%3A%2F%2Fgithub.com%2Fmagnusoverli%2Fopencode\n[repo-btn]: https:\u002F\u002Fmy.home-assistant.io\u002Fbadges\u002Fsupervisor_add_addon_repository.svg\n\n\u003C!-- Badges -->\n[version-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fmagnusoverli\u002Fopencode.svg?style=for-the-badge\n[project-stage-shield]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fproject%20stage-experimental-orange.svg?style=for-the-badge\n[license-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fmagnusoverli\u002Fopencode.svg?style=for-the-badge\n[maintenance-shield]: https:\u002F\u002Fimg.shields.io\u002Fmaintenance\u002Fyes\u002F2026.svg?style=for-the-badge\n[stable-build-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fmagnusoverli\u002Fopencode?style=for-the-badge&label=stable%20release\n[beta-build-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fmagnusoverli\u002Fopencode?include_prereleases&style=for-the-badge&label=beta%20release\n[stable-build-workflow]: https:\u002F\u002Fgithub.com\u002Fmagnusoverli\u002Fopencode\u002Freleases\n[beta-build-workflow]: https:\u002F\u002Fgithub.com\u002Fmagnusoverli\u002Fopencode\u002Freleases\n",2,"2026-07-21 02:30:05","trending"]