Features

Implementation Modes

  • ๐Ÿ’ก Advise mode โ€” guidance: agent researches topics, answers questions, and guides manual implementation.
  • ๐Ÿง‘โ€๐Ÿ’ป Assist mode โ€” interactive: you make decisions while agent orchestration does the work and suggests next steps.
  • ๐Ÿค– Auto mode โ€” autonomous: agent executes structured design work until completion.

Workflow Optimizations

  • ๐Ÿ“ฆ Cross-project tasking โ€” delegate investigation or edits to isolated OpenCode sessions in external directories.
  • ๐Ÿช™ Cost-saving workflows โ€” improve performance and reduce token usage with smart orchestration, tiered agent models, Caveman English.
  • ๐Ÿ”’ Secret-safe tools โ€” predefined credential keys resolve at tool runtime; never save secrets, credentials, tokens, or private keys to durable memory.
  • โš ๏ธ Safe hand-offs โ€” provide a thorough manual task tutorial when an operation is unsafe.
  • ๐Ÿ“š Durable local memory โ€” smart agents automatically recall matching durable memories on first eligible user text; primary agents and auto-troubleshoot can manually recall prior fixes or forget confirmed misleading/outdated IDs. See memory guidance.
  • ๐Ÿงน Agent cleanup โ€” agents remove temporary files and stop stray processes they started after debugging.

Build-in Tools

  • ๐Ÿ—„๏ธ Read-only database inspection โ€” discover configured database tables and read one table at a time without write access.
  • ๐ŸŒ HTTP REST client โ€” simulate API calls for troubleshooting.
  • ๐Ÿ”€ Git tools โ€” inspect changes and commit updates to Git repositories.
  • ๐Ÿ” SSH tools โ€” run remote commands and manage files through environment-keyed tools.
  • ๐Ÿงช Sandbox isolation โ€” agents automatically manage and experiment in their own isolated sandboxes.
  • ๐Ÿ› ๏ธ Self-building tools โ€” agents create durable per-job Node .mjs tools, reconcile dependencies, run finite scripts, and manage long-running services.

As well as OpenCode bundled tools.

Installation

Prerequisites

  • OpenCode is required to load and use AutoCode.
  • The npm package / plugin entry is @ahumandev/autocode.
  • Use native CMD on Windows; use Bash on Linux.
  • Bubblewrap is optional on Linux for sandbox execution. It is not used on Windows.
  • Bun is needed only to build from source or install repository shim scripts.

Optional

  • Linux sandbox execution needs Bubblewrap and host user namespaces.
  • Windows does not use Bubblewrap. Sandbox agents and sandbox tools are not registered there.
  • Bun build and local shim installation scripts are cross-platform Bun scripts; Bun is not needed for public plugin installation.

Installation for Humans

Run this in native CMD on Windows or Bash on Linux:

opencode plugin -g @ahumandev/autocode@latest

OpenCode loads global plugins at startup. Default config directory is <home>/.config/opencode; OPENCODE_CONFIG_DIR overrides it, then XDG_CONFIG_HOME/opencode applies when OPENCODE_CONFIG_DIR is unset.

Start or restart OpenCode, then run /autocode-install. It checks and remediates Windows dependencies only. On Linux, install Bubblewrap separately when sandbox execution is needed. Generated skills are stored in <home>/.agents/skills.

Verify installation

  1. Start or restart OpenCode after installation.
  2. Run /autocode-install.
  3. Confirm AutoCode commands or agents load after startup.
  4. Confirm generated skills appear in <home>/.agents/skills/autocode after first startup.

Linux MCP setup

Use these optional MCP servers only on Linux. Add each command or URL to MCP client configuration; do not globally install packages.

Chrome DevTools MCP

Install current Google Chrome and Node LTS with npm. Use this local server command:

npx -y chrome-devtools-mcp@latest

For a sandbox or container, start Chrome with a remote-debugging port and a non-default profile directory:

google-chrome --remote-debugging-port=9222 --user-data-dir="$HOME/.cache/chrome-devtools-mcp"

Then use this server command:

npx -y chrome-devtools-mcp@latest --browser-url=http://127.0.0.1:9222

See Chrome DevTools MCP and its troubleshooting guide.

Context7 MCP

Context7 local mode needs Node >=20.18.1. Use this server command:

npx -y @upstash/context7-mcp@latest --api-key YOUR_API_KEY

Remote fallback configuration uses URL https://mcp.context7.com/mcp and header Authorization: Bearer YOUR_API_KEY. Verify remote access:

curl https://mcp.context7.com/ping

See Context7 client setup and troubleshooting.

Excel MCP

Excel MCP Server supports Linux ia32, x64, and arm64. It requires Node.js 20+; Excel, LibreOffice, Go, a compiler, and native libraries are not required.

Use this local server command:

npx --yes @negokaz/excel-mcp-server@0.12.0

For OpenCode local MCP configuration, use this command array:

["npx", "--yes", "@negokaz/excel-mcp-server@0.12.0"]

Optional EXCEL_MCP_PAGING_CELLS_LIMIT defaults to 4000. Spreadsheet paths must be absolute and allowed by file permissions.

Git

Git is a built-in tool, not an MCP server. Confirm Git CLI is available with git --version; do not install a Git MCP package.

Update the plugin version

Update public plugin with native CMD on Windows or Bash on Linux:

opencode plugin -g @ahumandev/autocode@latest

Restart OpenCode after update. It detects OS at startup and uses CMD for Windows agents or Bash for Linux agents.

Uninstall

Remove @ahumandev/autocode from global OpenCode config plugin array, save config, and restart OpenCode. Default config directory is <home>/.config/opencode.

Troubleshooting

  • Confirm opencode --version works; use where opencode in Windows CMD or command -v opencode in Linux Bash.
  • Confirm plugin install uses opencode plugin -g @ahumandev/autocode@latest.
  • Confirm config directory. Note that OPENCODE_CONFIG_DIR overrides default opencode config directory.
  • Keep JSON or JSONC valid and preserve unrelated config.
  • Restart OpenCode after config or plugin changes, then run /autocode-install.
  • Linux sandbox execution needs Bubblewrap; Windows does not use it and does not register sandbox agents or tools.

Core

  • Configuration โ€” config locations, keys, model tiers, and DB/SSH environment variables.
  • Usage โ€” more details on how to use AutoCode.
  • Local Memory โ€” local memories and reusable guidance that extend AutoCode behavior.
  • Terminology โ€” glossary of AutoCode concepts.

Development & Distribution

  • Development โ€” architecture, local setup, commands, testing, and local plugin deployment.
  • Distribution Guide โ€” distributing AutoCode on public registries.