OpenCode Executor

•
1
•

Orchestrates OpenCode models like Grok as durable, isolated coding executors for Codex via MCP.

This tool connects Codex to the OpenCode headless server, enabling the use of OpenCode models as durable, isolated coding executors. While Codex maintains its role as orchestrator and decision-maker, OpenCode manages the delegated model session, context, and coding tools. The project provides a crucial orchestration layer, encompassing OpenCode session creation, asynchronous job execution, durable state management, automatic Git worktree isolation, and comprehensive reporting of code changes, ensuring a seamless and controlled integration for AI-driven development workflows.

Key Features

01Comprehensive reporting of changed files, commits, diffs, and explicit verification checks
020 GitHub stars
03OpenCode session creation with configurable model, agent, and permissions
04Asynchronous job submission, polling, cancellation, and deadline management
05Durable job state and restart reconciliation for robust execution
06Automatic Git worktree isolation for clean and safe code modifications

Use Cases

01Integrating Grok or other OpenCode-supported models as robust, external coding executors in a development environment
02Delegating complex coding tasks to OpenCode models within a Codex workflow
03Managing isolated Git workspaces for AI agent-driven code modifications and development