Omga
AI coding assistant for VS Code. Chat with your codebase, plan changes, and apply edits after reviewing diffs — powered by OpenRouter.
Setup
- Install the extension and open Omga in the secondary (right) sidebar.
- Open Settings from the Omga header.
- Add your OpenRouter API key and pick a model.
- Send a message. Use + or
@ to attach files, folders, or the current selection.
API keys are stored in VS Code Secret Storage.
How it works
| Mode |
Behavior |
| Ask |
Answers questions. Does not modify files. |
| Plan |
Produces an implementation plan you can follow or hand off to Agent. |
| Agent |
Proposes file edits, shows a changes drawer with diffs, then applies only after you confirm (unless auto-apply is enabled). |
Context. Attach files with + or mention them with @. Omga indexes the workspace so references stay accurate without dumping the entire project into every request. Full-workspace context is used only when you ask for it (for example @workspace or “all files”).
Agent flow. The model streams a short status, then structured edits. Pending changes appear above the input with diffs. Review, then apply or discard. Applied changes stay visible in a compact bar so you can revisit them.
Editor actions. Select code, right-click, and choose Explain, Optimize, Generate Tests, or Fix — or use the Command Palette (Ctrl/Cmd+Shift+P → Omga).
Commands
| Command |
Description |
| Open Omga Chat |
Focus the Omga panel |
| Add Selection to Omga Chat |
Attach the current selection |
| Explain Code with Omga |
Explain the selection (Ask) |
| Optimize Code with Omga |
Improve the selection (Agent) |
| Generate Tests with Omga |
Write tests for the selection (Agent) |
| Fix Code with Omga |
Diagnose and fix the selection (Agent) |
Configuration
Most options live in Omga → Settings. VS Code settings under omga-ai.* also include model, temperature, max context files, and auto-apply.
| Setting |
Default |
Notes |
omga-ai.model |
kwaipilot/kat-coder-pro:free |
OpenRouter model id |
omga-ai.temperature |
0.3 |
Response randomness (0–2) |
omga-ai.maxContextFiles |
8 |
Cap on retrieved context files |
omga-ai.autoApplyChanges |
false |
Apply Agent edits without confirmation |
Privacy
Only the context required for a request is sent to OpenRouter. Workspace file access is the default; broader access must be enabled explicitly in Settings.
License
MIT