RexCode AI
A VS Code AI coding agent with bring-your-own-key provider support and
approval-gated workspace tools. Chat requests go directly from the VS Code
extension host to the provider you select; there is no hosted proxy.
Providers
- OpenAI
- OpenRouter
- Google Gemini
- Anthropic
- Ollama running locally
- Custom OpenAI-compatible endpoint (for example, a compatible Groq or
DeepSeek endpoint)
The extension fetches available model IDs when the provider supports model
discovery; you can also enter a model ID manually. It does not bundle or
download models.
- The assistant can list workspace files, read text files, and propose
full-file replacements.
- It asks before listing paths, sending file contents to the provider, or
writing a file. For writes, it opens a diff preview before asking.
- It can run a single-line command in the visible integrated terminal only
after showing the exact command and receiving approval. Terminal output is
returned to the configured model provider.
- Approval is per command; there is no automatic command execution. Commands
may still modify files or access the network, so review each one carefully.
- It blocks common secret-file names, ignores dependency/build folders, skips
symlinks, and rejects paths that resolve outside the selected local workspace.
- Tool calls and request rounds are capped to keep a single turn bounded.
Run locally
- Install Node.js and VS Code.
- Open this folder in VS Code.
- Run
npm install.
- Press
F5 to open an Extension Development Host.
- In that window, run RexCode: Configure Provider from the
Command Palette.
- Run RexCode: Open Chat.
To create a local installable VSIX, run npm run package; install the generated
file from VS Code's Extensions: Install from VSIX... command.
API keys are stored with VS Code SecretStorage, not in settings or this
project. Prompts are sent to the configured provider. Workspace paths and file
contents are shared only after the corresponding approval prompt. Avoid
sending sensitive code, credentials, or personal data unless you have reviewed
that provider's privacy and retention terms. Ollama requests go to the endpoint
you configure, which defaults to http://127.0.0.1:11434.
See PRIVACY.md in the extension source for a detailed data-handling summary.
Marketplace sponsorship is configured through the Buy Me a Coffee link in the
extension manifest.
Not included yet
This is an early, local-development extension, not a complete Cline
replacement. It does not stream responses, manage multiple agent profiles, or
include Cloudflare services. Publishing requires separate Marketplace/GitHub
setup and review.