Is my spoken data sent to any external service?
No, the voice processing stays on your machine, so neither speech‑to‑text nor text‑to‑speech leaves your device.
Hands-free, fully local — drive the open agent by voice
A community-built (not official SST/Anomaly) voice layer for opencode — local speech-to-text in, a plugin-driven local text-to-speech "speak" tool out.
Voice-control opencode: a community stack that lets you talk to the open-source terminal agent and hear it reply, with speech-to-text and text-to-speech both running on hardware you own. The listening half (local Whisper) runs on any CPU; the talking-back half plugs into opencode through its plugin system. Not official SST tooling — three open-source pieces glued together.
Hands-free coding sessions and privacy-sensitive work — reviewing or fixing code by voice without your spoken words hitting a third-party server.
Voice cloning needs a real GPU (~10GB VRAM); the stack is three separately-maintained unofficial repos glued together; and "local" describes the voice layer only — the LLM opencode calls may still be a cloud API.
Every piece is open-source and free — you only supply the compute (a CPU is enough for listening; a GPU helps for voice cloning).
The Whisper STT binary provides local speech‑to‑text functionality used by OpenCode’s voice features.
Configure Whisper STT, the speak plugin, and a local TTS model for hands‑free interaction
speakThe speak plugin converts transcribed speech into prompts that OpenCode can execute.
Speak a command and have OpenCode process the transcription as a prompt
The tts_model_path field points to the directory of the local text‑to‑speech model used for audio playback.
Hear OpenCode’s answers spoken aloud using the local TTS model
62 outcomes in all — one per recipe below.
No, the voice processing stays on your machine, so neither speech‑to‑text nor text‑to‑speech leaves your device.
You can trace the end‑to‑end flow in your mind: the pipeline runs entirely on‑device, and you can map each step to see that no third‑party transmission occurs.
The software itself is free and open source; the only cost is the compute resources (CPU/GPU) you already have available.
Yes, you can clone the repository, install dependencies, and build it into a local `index.js` file that runs on your machine.
Configure the plugin’s speak tool to point at Piper’s HTTP endpoint or local script; Piper provides a backend that runs entirely on the CPU.
Terminal doesn’t recognize the new command
Run the curl command from opencode.ai in a terminal, then restart or open a new shell so the 'opencode' command is recognized. This sets up the OpenCode binary on your PATH.
Need to change the AI model you’re using
Use the '/connect' command inside OpenCode to list providers, then paste an API key or select a built‑in subscription model. This lets one agent work with any LLM you have access to.
Want a ready‑made NestJS hello‑world server
Ask OpenCode to scaffold code by describing the target project. The agent writes files, installs dependencies, and you can run the result immediately.
Need separate work streams without losing context
OpenCode supports parallel sessions via the '/new' and '/sessions' commands. You can pause, continue, or fork a session at any point, enabling separate workflows like refactoring vs documentation.
The '/share' command generates a public HTML URL of the full session; '/unshare' revokes it. '/export' writes the entire dialogue, metadata, and code changes to a .md file for offline reference.
Want to check code changes first
Press Shift+Tab in an OpenCode session to toggle between plan mode (AI proposes a step‑by‑step plan) and build mode (AI directly writes code). Approve or reject the plan before it runs.
Need a reusable workflow in your repo
OpenCode can pull skill definitions from the skills.sh marketplace. Installing a skill writes its scripts into an 'agents/skills' folder and makes the commands available via '/skillname'.
No agents.md in my repo
Running '/init' creates or updates an agents.md file based on your repository structure, embedding system prompts, folder maps, and rule definitions for the coding agent.
Want to try a new direction without losing work
The '/timeline' command lists all messages in the current context; selecting 'fork' on a message spawns a fresh session that inherits history up to that point, letting you explore alternatives without losing work.
Need advice from my own notes and contacts
By organizing notes, transcripts, and profiles in a folder hierarchy, you can ask OpenCode questions like 'who should be on my advisory board?' and it will synthesize answers using the indexed context.
Need a local AI coding assistant in your editor
You open a terminal in VS Code, download the installer from opencode.ai (bash script for macOS or npm command for Windows), ensure Node.js is installed, run the command to install OpenCode Terminal, then start it by typing 'opencode'. This sets up the local AI coding assistant.
Can’t pick a different code‑gen model or reasoning level
Inside an active OpenCode session you type '/models' to list available models, navigate with arrow keys, press Enter to select a model (e.g., DeepSeek V4 Flash), then optionally choose a reasoning level (Low‑Max). This lets you control quality vs speed/cost.
Need a development plan before coding
OpenCode provides two agents: 'Plan' to generate a development plan and 'Build' to write code. Switch between them with '/agents' or the Tab key. Planning first yields better results for complex features.
Need a fresh chat without old context
You can begin a fresh conversation with the AI by typing '/new' which clears context and starts a new session, useful for unrelated projects.
Want to add a paid AI model service
By running '/connect', you can attach API keys from paid providers like OpenCode Go, unlocking more powerful models. After selecting the provider, paste your API key to authenticate.
Have a screenshot of a UI change you want
You can drag‑and‑drop or paste a screenshot directly into OpenCode and describe the visual change (e.g., remove an icon). The model interprets the image and updates the code accordingly.
Made a code edit you don’t want
If a generated change is undesirable, typing '/undo' reverts the last instruction, while '/redo' reapplies it. This gives safe iteration over AI‑generated edits.
Need an AI assistant installed and logged in
Open Code is installed via a single terminal command that pulls the latest version and updates existing installations. After installation, running `open code login` lets you select an AI provider (e.g., OpenAI) and authorize with your personal API key, enabling global access to the agent.
Want your AI agent to browse and scrape sites
The MCP (Multi‑Channel Proxy) server lets Open Code control Chrome DevTools, giving the agent the ability to navigate webpages, click elements, and scrape data. Adding a JSON config file (`openode.json`) registers the server with the agent.
Need a list of qualified business contacts
By prompting Open Code with a natural‑language request, the agent uses the MCP server to browse search results, extract contact information, and write a markdown file. No manual scraping is required.
Downloads folder full of old and huge files
Open Code can query the filesystem, sort files by size or modification date, present a summary, and then execute deletion commands—all from a single prompt.
Too many startup ideas with no structure
Open Code can generate a Python script, install required libraries, run the script in an isolated virtual environment, and output a PNG graph that clusters ideas. The whole pipeline is orchestrated by the agent.
Too many sales calls get ignored
Using MCP and the `youtube-transcript-api`, Open Code can fetch video transcripts, parse them, synthesize insights, and produce a concise research brief—all without manual browsing.
My PC is running slow
Open Code can run system commands (e.g., `top`, `df -h`) to collect load averages, memory pressure, disk usage, and running processes, then compile the findings into a readable report.
I only have an article idea
By describing an article topic, Open Code can research sources, draft a markdown article, generate HTML/CSS, and launch a static site using any framework (React, Vite, etc.) automatically.
No documentation in your codebase
Open Code can scan a repository, detect undocumented functions or outdated READMEs, then write appropriate docstrings, markdown files, and update a `/docs` hierarchy without altering source code.
Need a ready investor deck
Open Code can take a concise business idea description, outline slide sections, generate content for each slide, design visuals, and assemble a Vite‑based web presentation ready for deployment.
Want a graphical AI workspace on your computer
Download the Open Code desktop application for your OS, run the installer, and open the app to see its three‑pane interface (projects, sessions, chat) with a prompt box at the bottom. This sets up the environment needed to use Open Code’s UI instead of CLI or IDE extensions.
Want to preview code edits before they run
Open Code offers two execution modes: Plan mode generates a step‑by‑step change plan, while Build mode applies those changes automatically. Switching lets you review proposed edits before committing them.
Need to pick a different LLM for generating code
The Model selector lets you choose any LLM from the Open Code Zen or external providers (Anthropic, Google, etc.). Changing models affects reasoning speed, cost, and output quality.
I want a to‑do list that saves my tasks
By prompting Open Code in Plan mode with “Create a simple to‑do web app with local storage”, the agent proposes files, asks styling preferences, then builds the app when you approve. This demonstrates end‑to‑end code generation from natural language.
Need a visual task board for my app
You can extend an already built project by prompting for new functionality (e.g., turn the to‑do list into a Kanban board). Open Code will plan file modifications and then implement them, showing how incremental development works.
Want to undo the last edit you made
Open Code tracks file edits and can undo them on request. Using a revert command in Plan mode shows the exact change that will be undone before applying it.
Want auto‑generated project docs
You can ask Open Code to create project documentation automatically. By prompting for an agents.md draft, it writes a markdown file with install/run instructions based on the repository contents.
Want to stop automatic file changes
The Settings panel lets you choose whether model‑requested actions require manual approval or are auto‑accepted. Setting permissions to default helps you see prompts for actions like file writes, enhancing safety.
Simple tasks need quick answers
Reasoning mode (Low‑Medium‑High‑Max) controls how much chain‑of‑thought the model uses. Lower settings speed up generation at the cost of depth, useful for simple tasks.
Need Open Code to work fast on Windows
Running Open Code inside WSL gives the best performance and terminal compatibility on Windows. The installer script pulls the binary, sets up paths, and makes the `opencode` command available in your Linux subsystem.
No consistent AI onboarding guide for our repo
The `agents.md` file acts as a living onboarding guide for the AI agent, telling it project structure, style rules, and safe actions. It prevents repeated prompting and keeps the agent’s behavior consistent across the team.
I want AI help without it changing code on its own
Plan mode restricts the agent’s permissions, prompting before any risky change, making it ideal for design, code review, and debugging. Build mode gives full tool access for actual implementation, refactoring, or fixing tests.
Need agents to repeat the same multi‑step process
Skills are markdown files that bundle knowledge, conventions, and multi‑step instructions. Once defined, an agent can load a skill to perform complex tasks (e.g., migrations, component scaffolding) without re‑explaining the process each time.
I keep typing the same prompt over and over
Commands are shortcut definitions that map a slash command to a specific prompt, model, and optional arguments. They act like buttons for frequent actions such as running tests or generating pages, reducing typing errors.
Want to talk instead of type in your agent session
By installing a one‑time skill from the Pipa tools page and invoking it in an OpenCode session, you enable a live huddle where you can speak to your agents and hear their responses. The skill creates a hosted audio channel and links it back into the OpenCode chat, streamlining planning without typing.
Need a single command to set up the editor on any OS
Running the provided curl command auto-detects your OS and installs the appropriate Open Code binary, simplifying setup across Mac, Linux, or Windows.
Open Code creates separate sessions per model, allowing you to start several coding jobs at once and receive independent completion alerts, eliminating the single‑terminal bottleneck.
Can't pick which AI model to use
Using the slash command `model` you can add any supported provider (Gemini, OpenAI, Anthropic, etc.) by entering its API key, enabling the platform to route tasks to the chosen model.
The `init` slash command scans your project files and creates an `agents.md` file with style guidelines, naming conventions, and error‑handling rules, reducing token usage for future runs.
Running `/review` makes Open Code analyze your codebase for security issues, bugs, and style violations, then returns a report you can ask it to fix automatically.
MCPs like Context 7 let Open Code fetch library documentation on demand at low cost; you enable them by editing the global `opencode.json` and adding a rule in `agents.md`.
Skills are saved instruction sets; defining a skill for common Xcode refactoring lets you trigger complex clean‑up with a single command, improving consistency and speed.
By editing `commands` (via `/command`) you can map a short slash shortcut to a series of terminal actions, automating repetitive Git workflows directly from Open Code.
After installing the CLI, executing `open code web` launches a local server that serves the Open Code interface over HTTP, enabling access from phones or tablets on the same network.
Enabling Remote Login on macOS and connecting with the Termius app lets you open a remote terminal on your phone; typing `open code` runs the full interface remotely, giving you mobile control of sessions.
Need a command‑line coding assistant you can launch instantly
Open Code can be installed with a single curl command from opencode.ai and started by typing 'opencode' in any terminal. This gives you immediate access to its agentic coding interface.
Want to try an AI without paying
Use the '/connect' command inside Open Code to select a provider (e.g., Open Code Zen) and paste an API key. Free models like BigPikko can be used without cost, enabling quick experimentation.
Want to add a ready‑made prompt bundle to your project
Skills are reusable prompt bundles stored in a .agents/skills folder. Installing a skill via its command adds detailed instructions that the agent can follow for specific tasks like front‑end design.
Need stricter rules for your AI’s answers
agents.md acts as a system prompt for the main agent; adding strict rules here controls its behavior (e.g., concise answers, use of sub‑agents). The file can be auto‑generated with '/init' or edited manually.
Need a headless browser for tests
MCP servers let Open Code control a headless browser (Playwright) to run end‑to‑end tests. Configuration is stored in opencode.json and activated with the '/mcps' command.
Need a helper that isn’t built‑in
Using 'opencode agent create' you can define a new specialized agent (e.g., coder) with its own description. This expands the toolset beyond built‑in bold and plan agents.
Need to keep your generated plan for later
Saving a generated plan into .agents/plans allows you to reload it later, clear the current context, and re‑execute tasks without losing work.
Need more detail or faster replies
The '/variants' command lets you choose low, medium, or high reasoning effort for the selected model, affecting response quality and token usage.
Need to run multiple commands simultaneously
By instructing the main agent to delegate work, Open Code spawns sub‑agents that execute independent commands and return summarized results, preserving the main context window.
Model streams partial JSON
Enabling streaming in the AI SDK causes the model to send partial JSON sections as they are generated, allowing UI components to appear incrementally.
The same set on /recipes, filtered by tool and role.
Demonstrates how to use OpenCode’s planning and building features, session forking, and second-brain queries
Shows how to set up an MCP browser server, stream structured AI SDK output, and build a custom sub‑agent with OpenCode
Shows how to apply OpenCode to automate data analysis, documentation generation, and deep research tasks
Shows how to use OpenCode to run parallel AI coding tasks, build reusable Xcode refactoring skills, and link AI providers via API keys
No, the voice processing stays on your machine, so neither speech‑to‑text nor text‑to‑speech leaves your device.
You can trace the end‑to‑end flow in your mind: the pipeline runs entirely on‑device, and you can map each step to see that no third‑party transmission occurs.
The software itself is free and open source; the only cost is the compute resources (CPU/GPU) you already have available.
Yes, you can clone the repository, install dependencies, and build it into a local `index.js` file that runs on your machine.
Configure the plugin’s speak tool to point at Piper’s HTTP endpoint or local script; Piper provides a backend that runs entirely on the CPU.
opencode-voiceindex.jsNode packagesPiperHTTP TTS APIpluginrepositorydependenciescomputeopen-source reposAsk, share, or report — over on the Heidelberg AI community forum.