PicoCodeAi
PicoCodeAi also PicoCode is an AI coding assistant for VS Code with inline completions, chat, code actions, provider profiles, and PicoCode+ execution controls.
Important Notice
PicoCode can suggest, run, and apply code changes, but you are responsible for reviewing and validating all generated output.
Before using PicoCode on important projects:
- create a backup or use version control
- review generated edits before keeping them
- run tests or verification commands after changes
The authors do not accept responsibility for code loss, regressions, data loss, or other damage resulting from use of this extension.
Features
- Inline completions while you type
- Chat panel with workspace-aware context
- Fix, explain, review, and run commands from the editor
- Multi-provider model support
- PicoCode+ rules, execution policies, and auto-fix loop controls
- Local model support through Ollama and LM Studio
Supported Providers
- Ollama-compatible endpoints
- LM Studio
- DeepSeek API
- Claude API
- OpenRouter API
Setup
- Install the extension from VSIX or Marketplace find PicoCodeAi.
- Open the PicoCodeAi provider configuration panel.
- Add a provider and select a model.
- Start chatting or use the editor actions.
Example LM Studio Configuration
{
"picocode.providers": [
{
"id": "lmstudio-local",
"name": "LM Studio",
"type": "lm-studio",
"url": "http://localhost:1234/v1",
"apiKey": "",
"models": [],
"defaultModel": ""
}
]
}
PicoCode+
PicoCode+ adds explicit rules and governed execution on top of the normal assistant flow.
picocode.rules: custom rules that PicoCode must always follow
picocode.executionMode: off, safe, or full
- workspace rules files are also supported
Supported workspace rules files:
.picocode/rules.md
.picocode/rules.txt
PICOCODE_RULES.md
.picocode-rules.md
Example settings:
{
"picocode.plusMode": true,
"picocode.executionMode": "safe",
"picocode.executionAllow": ["npm run", "python -m pytest"],
"picocode.executionDeny": ["drop database", "Remove-Item -Recurse"],
"picocode.rules": [
"Never rename public APIs without confirmation.",
"Prefer minimal edits and preserve existing project style."
]
}
Commands
PicoCode: Open Chat
PicoCode: Fix Code
PicoCode: Explain Code
PicoCode: Review / Check Code
PicoCode: Run Code
PicoCode: Reload Config
PicoCode: Rollback Last Loop
Build
npm install
npm run package