# Instinct Coder

> A CLI that lets OpenCode, Codex CLI, and Claude Code use an Instinct account as the model via a linked WhatsApp account.

Instinct Coder is an open-source command-line tool published by alexechoi on GitHub. It routes coding-agent requests from OpenCode, Codex CLI, and Claude Code to Instinct through a WhatsApp account linked to the user's machine. It is licensed under Apache 2.0 and runs on Linux and macOS 15 or later.

## What It Is

Instinct Coder is a bridge between terminal coding agents and the Instinct assistant. A single install script sets up Instinct Coder, OpenCode, and a WhatsApp connector. After linking a WhatsApp account by scanning a QR code under Linked devices, users run `instinct-coder` from a project folder to launch OpenCode with Instinct selected as the model.

## How the Workflow Runs

OpenCode asks before making edits or running shell commands. Multiple terminals can run OpenCode, Codex, or Claude Code on different projects at once, sharing one WhatsApp bridge that queues requests and stops after the last session exits. Users can attach PNG or JPEG screenshots, which the bridge sends as WhatsApp attachments. All three clients support up to four images per request, up to 8 MiB each and 15 MiB total.

## Client Support

The `instinct-coder codex` and `instinct-coder claude` commands start Codex CLI or Claude Code against the same linked account for text, image attachments, and local tool calls. The README describes Claude Code support as experimental. For large requests, OpenCode can use up to two WhatsApp messages of 40,000 characters each, and this can be turned off with an environment variable.

## Setup and Maintenance

The project recommends linking a dedicated WhatsApp account separate from a primary one, and confirming it can exchange messages with @textinstinct before pairing. The `instinct-coder update` command updates the tool while keeping the WhatsApp link and settings, and `instinct-coder repair` offers guided help if WhatsApp stops connecting. The disclaimer notes that Instinct receives prompts, attached images, shared file contents, and tool results.

## Features
- Use Instinct as the model in OpenCode via a linked WhatsApp account
- Support for Codex CLI and Claude Code (experimental)
- One-line installer for Instinct Coder, OpenCode, and the WhatsApp connector
- QR-code WhatsApp device linking via setup command
- Shared WhatsApp bridge that queues requests across multiple sessions
- PNG and JPEG image attachments, up to four per request
- Multipart messaging for large requests
- Built-in update and repair commands

## Integrations
OpenCode, Codex CLI, Claude Code, WhatsApp, Instinct

## Platforms
MACOS, LINUX, API, CLI

## Pricing
Open Source

## Links
- Website: https://github.com/alexechoi/instinct-coder
- Documentation: https://github.com/alexechoi/instinct-coder
- Repository: https://github.com/alexechoi/instinct-coder
- EveryDev.ai: https://www.everydev.ai/tools/instinct-coder
