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.
Press Ctrl + K to search the docs, or jump straight to the Windows installer.
Quickstart
ProtoCode-win-x64.exe. No admin rights and no Node.js needed.Default Project workspace.DeepSeek V4.1 Flash Free and send your first prompt.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.
izd9-cli.exe ships inside the app and works from PowerShell or CMD.@izd9/sdk.If SmartScreen shows a blue warning, click More info → Run anyway. The build is not signed with a paid certificate.
Core concepts
| Term | Meaning |
|---|---|
| Session | One conversation with its own history, files touched and model. |
| Workspace | The project folder the agent is allowed to read and edit. |
| Model | The AI brain that reads your prompt and writes the answer. |
| Agent | A mode of working with its own prompt, tools and permissions. |
| Tool | An action the agent can take: read, edit, run a command, search, browse. |
| Skill | A reusable set of instructions stored in a SKILL.md file. |
| Provider | The 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.
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
- Describe the outcome, not the keystrokes: make the login button blue and disabled while loading.
- Name files when you know them, and paste the exact error text when something fails.
- Ask for a plan first when the task touches many files.
- Say what must not change: do not touch the database code.
- If the answer is too technical, reply
explain that more simply.
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
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.
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" }
}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.
| Action | Typical setting | Why |
|---|---|---|
| read | allow | Reading cannot break anything. |
| edit | ask | You review each diff. |
| bash | ask | Commands can delete or install. |
| browser | ask | Pages 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"
}
}
}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
| Command | What it does |
|---|---|
models | Lists available models. |
run "prompt" | Sends one prompt non-interactively and prints the result. Great for scripts. |
serve | Starts 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
| Problem | Fix |
|---|---|
| App hangs on startup | Close all izd9-cli.exe processes and delete ~/.local/state/izd9/service*.json. |
| Model returns an error | Pick another model, or check the provider key and balance in Settings. |
| Cannot find a file | Open the folder that actually contains it. The agent only sees the workspace. |
| Stuck response | Press 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.