Projects / DigitalRCS AI Bridge

DigitalRCS AI Bridge

A secure, local bridge between desktop software and the VS Code Language Model API.

By Dan Roberts · DigitalRCS

What it solves

Desktop applications can use models available inside VS Code without integrating a separate provider SDK into every application. DigitalRCS AI Bridge exposes that capability through an authenticated local HTTP interface.

Architecture

A desktop client sends a bearer-authenticated request to the extension, which discovers models through VS Code's Language Model API and collects the selected model's response. The bridge uses Node built-ins and the VS Code API with no runtime npm dependencies. It binds to 127.0.0.1 by default.

Key capabilities

  • Authenticated health, model discovery, and analysis endpoints
  • Configurable request-size limits and rolling rate limiting
  • Provider-neutral model selection and plain-text analysis responses
  • Command Palette controls for starting, stopping, checking status, and running a smoke test

How to use it

Install the VSIX from the repository's releases, reload VS Code, start the bridge from the Command Palette, and copy its bearer token. A desktop client can then discover available models and submit structured data or manual text for analysis.

Requirements and limitations

Available models and their behavior depend on the user's configured VS Code providers. The output-token setting is a hint to the provider, not a guarantee of response size. The default loopback configuration is intended for local clients.

Technologies

JavaScript · VS Code API · HTTP

Explore more work

TimeOverlay: signed Grafana Community plugin

All projects by Dan Roberts