ProtoCode DOCS
v2.8.1 ⊞ Desktop App ProtoCode ProtoCode
DOCUMENTATION · v2.8.1

ProtoCode Docs

ProtoCode is a coding assistant for Windows Desktop, Terminal CLI and a TypeScript SDK. It ships with models ready to use, so you can start without an API key.

TIP

Press Ctrl + K to search the docs, or jump straight to the Windows installer.

Quickstart

[1]Download and run ProtoCode-win-x64.exe. No admin rights and no Node.js needed.
[2]Open a project folder, or use the default Default Project workspace.
[3]Pick a built-in model such as DeepSeek V4.1 Flash Free and send your first prompt.
[4]Review each proposed edit, approve what looks right, reject the rest.
TIP

Not sure what to type first? Ask: Explain what this project does in simple words.

Install

ProtoCode installs per user, so Windows never asks for an administrator password. The installer creates a shortcut and launches the app when it finishes.

Desktop appOne setup file for Windows x64. Sessions, tabs, diffs, built-in browser.
Terminal CLIizd9-cli.exe ships inside the app and works from PowerShell or CMD.
AndroidA lighter companion app for chatting and sending files and images.
SDKDrive the agent from TypeScript with @izd9/sdk.

If SmartScreen shows a blue warning, click More info → Run anyway. The build is not signed with a paid certificate.

Core concepts

TermMeaning
SessionOne conversation with its own history, files touched and model.
WorkspaceThe project folder the agent is allowed to read and edit.
ModelThe AI brain that reads your prompt and writes the answer.
AgentA mode of working with its own prompt, tools and permissions.
ToolAn action the agent can take: read, edit, run a command, search, browse.
SkillA reusable set of instructions stored in a SKILL.md file.
ProviderThe service that hosts a model, built-in or your own key.

Build and Plan modes

Build has full access inside the workspace: it edits files and runs commands, always showing you what it wants to do. Plan is read-focused: it studies the code and writes a step-by-step plan without touching anything.

TIP

A good habit for big changes: start in Plan, read the plan, fix it with follow-up messages, then switch to Build and say go ahead.

Writing good prompts

Add dark mode to the settings page.
Keep the existing component structure and
update only files under src/settings.

Files, images and mentions

Drag files into the composer or use the plus button. Images help when you want to show a design or an error screenshot. Type @ followed by a name to point the agent at a specific file in the workspace instead of letting it search.

Undo, fork and compact

UndoRolls the conversation and your files back to before the last change.
ForkCopies the conversation into a new branch to try another idea safely.
CompactSummarises a long session so it fits in the model context again.
Export logsHelp → Export Logs bundles diagnostics for bug reports.

Computer control

When you ask ProtoCode to work in another program such as Blender or 3ds Max, it can take screenshots, move the mouse and type. It is off until you request it. A glowing border and a banner show while it is active, and the Cancel button stops it at once.

SAFETY

Stay at the machine while it runs. Computer control is built for short, supervised tasks.

Configuration

ProtoCode keeps its settings in ~/.config/izd9/izd9.json and its runtime state in ~/.local/state/izd9/, isolated from any other tool. Project-level settings can sit next to your code and override the global ones.

{
  "model": "opencode/deepseek-v4.1-flash-free",
  "theme": "dark",
  "permission": { "edit": "ask", "bash": "ask" }
}
NOTE

Config examples follow the izd9.json format. Keys can differ slightly between builds, so check Settings if one is ignored.

Providers and models

Built-in models work without any key and share a 2,000,000 token context. To use your own, open Settings → Providers and connect OpenAI, Anthropic or Google with your account, or add any OpenAI-compatible endpoint under Custom provider.

izd9-cli.exe models --standalone

Switch models any time from the picker in the composer, even in the middle of a conversation.

Agents and subagents

An agent bundles a system prompt, a model and a tool list. Use one for code review, another for writing docs, another for debugging. The main agent can also start parallel subagents to explore different parts of the codebase at the same time, then merge their findings.

{
  "agent": {
    "reviewer": {
      "description": "Reviews diffs for bugs",
      "permission": { "edit": "deny" }
    }
  }
}

Custom commands

Turn a prompt you repeat into a slash command. Define it once and run it by name.

{
  "command": {
    "test": {
      "description": "Run tests and fix failures",
      "template": "Run the test suite and fix any failures."
    }
  }
}

Then type /test in the composer.

Skills

A skill is a folder with a SKILL.md file: a short name and description, then plain-language rules. The agent loads it when the task matches.

---
name: my-style
description: House rules for this project
---

- Use two spaces for indentation.
- Explain every change in one sentence.
- Never add a library without asking.

Place it in skills/my-style inside your project, or paste it in Settings → Extensions → Skills.

Project rules

Put an AGENTS.md file at the root of your project describing how the code is organised, how to run tests and which conventions to follow. The agent reads it at the start of every session, so you stop repeating yourself.

# Project rules
- Stack: TypeScript, React, Vite
- Run tests with: npm test
- Components live in src/components

Permissions

Each risky action can be set to allow, ask or deny. The safe default is ask: you see the exact edit or command and decide. Loosen it only for tools you trust, and keep bash on ask for anything that deletes or installs.

ActionTypical settingWhy
readallowReading cannot break anything.
editaskYou review each diff.
bashaskCommands can delete or install.
browseraskPages may contain untrusted text.

MCP servers

MCP lets you plug extra tools into the agent: databases, issue trackers, design apps, search engines. A server can run locally as a command or remotely over a URL, and its tools show up next to the built-in ones.

{
  "mcp": {
    "docs-search": {
      "type": "remote",
      "url": "https://example.com/mcp"
    }
  }
}
CAREFUL

Every connected server adds tools the model must read. Enable only what you use, and treat third-party servers as untrusted code.

Tools and plugins

Built-in tools cover reading and editing files, searching the project, running shell commands, fetching web pages and using the built-in browser. Plugins let you hook into events, such as running a formatter after every edit, or add tools of your own.

Themes and shortcuts

Pick a colour theme in Settings and the layout follows. Docs search opens with Ctrl + K, and Esc interrupts a running response in the terminal.

Terminal CLI

Run the bundled izd9-cli.exe from PowerShell or any terminal:

izd9-cli.exe models --standalone
izd9-cli.exe run "Explain this project architecture"
izd9-cli.exe serve --service
CommandWhat it does
modelsLists available models.
run "prompt"Sends one prompt non-interactively and prints the result. Great for scripts.
serveStarts a headless server so other tools can talk to the agent.

Run izd9-cli.exe --help to see every command and flag in your version.

Server mode

serve starts the agent without a UI so editors, scripts and the SDK can connect to it. Keep it on localhost unless you add authentication, because anyone who can reach it can ask the agent to act on your files.

SDK and library

Automate ProtoCode from TypeScript scripts, bots or CI pipelines:

import { ProtoCode } from "@izd9/sdk"

await using izd9 = await ProtoCode.create({
  model: "opencode/deepseek-v4.1-flash-free",
})

const result = await izd9.run("Refactor auth middleware")
console.log(result.summary)

Discord Rich Presence

ProtoCode connects to your local Discord client over IPC and shows the active model, for example Model : DeepSeek V4.1 Flash Free. It only talks to the Discord app on your own machine.

Troubleshooting

ProblemFix
App hangs on startupClose all izd9-cli.exe processes and delete ~/.local/state/izd9/service*.json.
Model returns an errorPick another model, or check the provider key and balance in Settings.
Cannot find a fileOpen the folder that actually contains it. The agent only sees the workspace.
Stuck responsePress stop in the composer, then reopen the session.

To export diagnostic logs choose Help → Export Logs....

FAQ

Do I need an API key?

No. Built-in models work out of the box. Keys are only for providers you add yourself.

Can it change files outside my project?

No. It works inside the workspace you opened, and every edit is shown first.

Does it run offline?

The app runs on your machine, but models are reached over the internet unless you connect a local one through a custom provider.

Is my code sent anywhere?

Prompts and the files you include go to the model provider you selected. Avoid pasting secrets.

Feedback and support

Export logs via Help → Export Logs... and attach them when you report a problem. The exact error text helps more than a description.