OpenCode Plugin

Governance-First AI Agents for Reliable Software Engineering

A plugin for OpenCode that enforces plan-first execution, policy compliance, and complete audit trails for AI-assisted coding workflows.

npm install opencode-dev-agents

Requires OpenCode to be installed

How It Works

Three simple steps to safer, more reliable AI-assisted development

1. Plan

Every mutation starts with a plan. The agent analyzes the codebase, identifies affected files, and creates a step-by-step execution strategy before making any changes.

2. Approve

Policy gates enforce compliance. Redlines prevent dangerous operations, budgets limit resource usage, and approval workflows ensure human oversight for critical changes.

3. Execute

Changes are applied with full traceability. Every operation is logged, verified against the plan, and rollback capabilities ensure you can always revert if needed.

Core Concepts

Built-in safeguards that make AI-assisted development reliable

Plan-First Execution

No code changes without a plan. The system requires explicit planning for every mutation, ensuring the agent understands the full scope before acting.

Policy Enforcement

Configurable redlines prevent dangerous operations. Budgets control resource usage. Approval gates ensure human oversight for high-risk changes.

Audit & Evidence

Complete traceability of every action. Immutable logs, verification contracts, and evidence artifacts provide accountability and enable post-hoc analysis.

Available Tools

Specialized capabilities for comprehensive code analysis and modification

Code Analyzer

Static analysis and quality checks

Bug Detector

Automated bug identification

Refactor Engine

Safe code transformations

Test Generator

Automated test creation

Review Tool

Code review assistance

AST Tools

Abstract syntax tree operations

Plus 10+ specialized agents for orchestration, exploration, and review. View full documentation →

Installation

Choose your preferred installation method

Install via npm (requires OpenCode):

terminal
npm install opencode-dev-agents

Note: This plugin requires OpenCode to be installed and configured. The plugin integrates with OpenCode's plugin system and provides governance tools for AI-assisted development workflows.