AI-powered sidebar assistant for GitHub repository operations. Compare branches, review PRs, analyze diffs, and run commands — all through natural language.
Features
Branch comparison — compare any two branches with LLM-summarized diffs
Code review — get PR-style feedback on branch changes
Git operations — status, log, diff, checkout, commit, push via natural language
Shell commands — run tests, builds, and scripts with safety confirmation
Web search — look up documentation and error messages
Persistent memory — remembers context across sessions
Bring your own LLM — Gemini, OpenAI GPT-5, Anthropic Claude 4, Groq, or local Ollama; switch from the status-bar
Getting Started
Install the extension
Start the OSCAR backend server:
pip install oscar-agent
oscar-server
Click the OSCAR icon in the VS Code activity bar
Start typing queries in the sidebar chat
Configuration
Setting
Default
Description
oscar.serverUrl
http://127.0.0.1:8420
URL of the OSCAR backend server
Commands
Command
Description
OSCAR: Select LLM provider and model
Pick a provider/model from the catalog. Selected env vars are copied to your clipboard for pasting into .env (the backend is restarted to apply).
Example Queries
"Show me the git status"
"Compare main and feature-branch"
"Review the changes on dev vs main"
"What changed in the last 5 commits?"
"Run the test suite"
"Search for Python async best practices"
Architecture
OSCAR uses the Asterix agentic framework with pluggable LLM backends — Gemini (default), OpenAI GPT-5, Anthropic Claude 4, Groq, or local Ollama. The extension communicates with a FastAPI backend that wraps the Asterix agent. Switch providers from the status-bar at any time.
Safety
Destructive operations (git push, dangerous shell commands) require explicit user confirmation before execution. All tool calls are logged to an audit trail.