{"slug": "connect-devup-ai-to-vs-code-no-extension-required", "title": "Connect DEVUP AI to VS Code—No Extension Required", "summary": "A developer detailed a method for connecting the DEVUP AI platform to Visual Studio Code using VS Code's native Custom Endpoint provider, introduced in stable version 1.122, without installing any extension. The setup relies on a bring-your-own-key configuration pointing chat and tool-calling requests at DEVUP AI's Chat Completions endpoint, with a dedicated API key stored as a secure reference in chatLanguageModels.json. The guide notes the approach does not automatically replace every AI capability inside the editor and that some features remain limited by platform-specific constraints.", "body_md": "**Disclosure:** Visual Studio Code is a third-party product. DEVUP AI is an independent platform and is not affiliated with or endorsed by its publisher.\n\nAI-assisted development does not have to begin with another extension, another proprietary workflow, or another foreign billing account.\n\nVS Code now includes a native **Custom Endpoint** provider that can connect its chat experience to a compatible API using your own key.\n\nFor developers in Algeria, this creates a practical path:\n\nNo additional VS Code extension is required for the setup described in this guide.\n\nThis article walks through the configuration carefully, explains what each field controls, and separates what works today from features that still have platform-specific limitations.\n\nThe Custom Endpoint provider became available in the stable version of VS Code with version **1.122**.\n\nIt supports three API formats:\n\nThis guide uses the **Chat Completions** format exposed by DEVUP AI.\n\nVS Code's Bring Your Own Key experience can power chat and tools without requiring a bundled AI subscription. However, this does not automatically replace every AI capability inside the editor. We will cover those boundaries later.\n\nYou can verify the current behavior in the [official VS Code language-model documentation](https://code.visualstudio.com/docs/agent-customization/language-models) and the [VS Code 1.122 release notes](https://code.visualstudio.com/updates/v1_122).\n\n*The native Language Models editor in VS Code. Source: [Visual Studio Code documentation](https://code.visualstudio.com/docs/agent-customization/language-models).*\n\nBy the end of this guide, you will have:\n\n`DEVUP AI`.\nThe only public endpoint required for this integration is:\n\n```\nhttps://api.devupai.com/v1/chat/completions\n```\n\nNo internal platform configuration is required.\n\nBefore starting, prepare the following:\n\nYou can obtain an API key from the [DEVUP AI dashboard](https://devupai.com/dashboard/api-keys) and choose a model from the [DEVUP AI model catalog](https://devupai.com/models).\n\nFor agent workflows, choose a model that explicitly supports **tool calling**.\n\nConfirm that you are running VS Code **1.122 or newer**.\n\nOn Windows and Linux:\n\n```\nHelp → Check for Updates\n```\n\nOn macOS:\n\n```\nCode → Check for Updates\n```\n\nRestart VS Code after the update.\n\nIf **Custom Endpoint** does not appear later in the setup, checking the installed version should be your first troubleshooting step.\n\nOpen the [API Keys dashboard](https://devupai.com/dashboard/api-keys) and create a dedicated key for your VS Code environment.\n\nA dedicated key is preferable because it can be rotated or revoked independently.\n\nVS Code prompts for the key during the configuration flow. Keep the generated secret reference intact instead of replacing it with the raw value.\n\nOpen the VS Code Command Palette:\n\n```\nCtrl + Shift + P\nCmd + Shift + P\n```\n\nRun:\n\n```\nChat: Manage Language Models\n```\n\nYou can also open the Chat view, select the current model, and choose **Manage Language Models**.\n\nInside the Language Models editor:\n\n*The provider picker used to add a Custom Endpoint. Source: [Visual Studio Code documentation](https://code.visualstudio.com/docs/agent-customization/language-models).*\n\nVS Code will then open:\n\n```\nchatLanguageModels.json\n```\n\nThe setup wizard creates the provider-level configuration and a secure reference to your API key.\n\nDo not replace that reference with your raw key.\n\nInside the Custom Endpoint group's `models` array, add a model entry using the template below.\n\nThe placeholders are intentionally not valid final values. Replace every value wrapped in `<...>` with information from the selected model's DEVUP AI catalog page before saving.\n\n```\n{\n  \"id\": \"<EXACT_MODEL_ID_FROM_DEVUP_AI>\",\n  \"name\": \"DEVUP AI Coding Model\",\n  \"url\": \"https://api.devupai.com/v1/chat/completions\",\n  \"toolCalling\": true,\n  \"vision\": false,\n  \"maxInputTokens\": \"<CONTEXT_WINDOW_MINUS_MAX_OUTPUT>\",\n  \"maxOutputTokens\": \"<MODEL_MAX_OUTPUT_TOKENS>\"\n}\n```\n\nThe two token fields must be JSON numbers, not strings, after replacing the placeholders.\n\nFor example, the final form should follow this shape:\n\n```\n{\n  \"maxInputTokens\": 24000,\n  \"maxOutputTokens\": 8000\n}\n```\n\nThose numbers are only a formatting example. They are not universal model limits.\n\n| Field | Purpose | \n|---|---|\n| `id` | The exact model identifier copied from the DEVUP AI catalog | \n| `name` | The label displayed inside the VS Code model picker | \n| `url` | The full DEVUP AI Chat Completions endpoint | \n| `toolCalling` | Enables workspace tools when the selected model supports them | \n| `vision` | Enables image input only when supported by the model | \n| `maxInputTokens` | Maximum input budget exposed to VS Code | \n| `maxOutputTokens` | Maximum generation budget supported by the model | \n\nVS Code treats the sum of the input and output limits as the total context window:\n\n```\nmaxInputTokens + maxOutputTokens ≤ model context window\n```\n\nA safe configuration is:\n\n```\nmaxInputTokens = context window − maxOutputTokens\n```\n\nCopy the model-specific limits from its catalog page. Do not assume that two models accept the same values.\n\nSet:\n\n```\n\"toolCalling\": true\n```\n\nonly when the selected model supports tool calling.\n\nThis property informs VS Code of an existing model capability. It cannot add tool support to a model that does not already provide it.\n\nUse:\n\n```\n\"vision\": true\n```\n\nonly when the selected model supports image input.\n\nOtherwise, keep it set to `false`.\n\nSave `chatLanguageModels.json`, return to the Chat view, and open the model picker.\n\nYour configured model should appear under the **DEVUP AI** group.\n\nIf it does not appear:\n\nDo not begin by asking the model to modify an entire repository.\n\nStart with a read-only request:\n\n```\nReview the currently open file.\n\nDo not edit anything.\n\nExplain:\n1. What the file does.\n2. Its main dependencies.\n3. One potential issue worth investigating.\n```\n\nThis verifies:\n\nIf this test succeeds, continue to a controlled tool test.\n\nOpen a small test repository and send:\n\n```\nInspect this project and identify its test command.\n\nDo not modify any files.\nDo not run the command yet.\n\nShow me the command you found and wait for my approval.\n```\n\nA successful response should identify the relevant project file, locate the test command, and stop before execution.\n\nAfter reviewing the proposed command, approve it only if it is safe.\n\nThis confirms that the model can participate in a controlled tool workflow without immediately making irreversible changes.\n\nOnce the read-only and tool tests pass, try a constrained engineering task:\n\n```\nAnalyze the failing test in this repository.\n\nBefore editing:\n1. Explain the probable root cause.\n2. List the files you intend to change.\n3. Propose the smallest safe fix.\n4. Wait for approval.\n\nAfter approval:\n1. Apply the minimum required change.\n2. Run only the relevant tests.\n3. Report the exact validation result.\n4. Summarize every modified file.\n```\n\nThis prompt creates explicit checkpoints between analysis, modification, and validation.\n\nThe agent produces a candidate change, but you still own the decision to accept it.\n\n*The VS Code Chat view beside an active workspace. Source: [Visual Studio Code documentation](https://code.visualstudio.com/docs/agents/overview).*\n\nWith a correctly configured and compatible model, the native Custom Endpoint path can provide:\n\nThe exact result depends on the selected model's capabilities and the permissions granted inside VS Code.\n\nBYOK support is powerful, but its boundaries matter.\n\nThe Custom Endpoint configuration described here powers chat and compatible tool workflows.\n\nIt does not automatically replace the editor's inline code-completion system.\n\nSome semantic search and embedding-dependent capabilities can still require a separate account sign-in and are not powered by the selected BYOK chat model.\n\nThe standard Chat view and the separate Agents window are not identical execution surfaces.\n\nBYOK support inside Agent Host sessions has a separate experimental setting and may change. Do not assume that every model configured for Chat behaves identically in every agent interface.\n\nIn managed Business or Enterprise environments, an administrator can disable Bring Your Own Key through organization policy.\n\nIf the Custom Endpoint option is missing on a managed device, contact the organization administrator before changing local configuration.\n\n| Symptom | Most likely cause | Correct action | \n|---|---|---|\n| Custom Endpoint is missing | VS Code is outdated or BYOK is restricted | Update to 1.122+ and check organization policy | \n| Model does not appear | Invalid JSON or unsaved configuration | Validate the file, save, and restart VS Code | \n| Authentication fails | Invalid, revoked, or incorrectly stored key | Update the API key through the model-provider settings | \n| Chat works but agent tools do not | Model lacks tool calling or the flag is disabled | Choose a tool-capable model and verify `toolCalling` | \n| Requests fail on long context | Incorrect context or output limits | Copy the correct limits from the model page | \n| Image prompts fail | `vision` does not match model capability | Set the field according to the selected model | \n| Endpoint returns a route error | An incomplete URL was configured | Use the full `/v1/chat/completions` endpoint | \n\nFor integration-specific configuration, consult the [DEVUP AI VS Code guide](https://devupai.com/integrations/vscode).\n\nBefore accepting an agent-generated change:\n\nThe correct mental model is not:\n\nThe agent wrote it, therefore it works.\n\nIt is:\n\nThe agent produced a candidate change and evidence. The developer still owns the final decision.\n\nThe native Custom Endpoint integration is available today and provides the fastest path to using DEVUP AI inside VS Code without installing an additional extension.\n\nAt the same time, we are actively building a **dedicated DEVUP AI extension for VS Code**.\n\nUnlike a generic endpoint adapter, this extension is being designed for **full, end-to-end integration with DEVUP AI** and a broader set of professional development capabilities directly inside the editor.\n\nThe extension is still under active development. Its final feature set, compatibility matrix, beta availability, and release timeline will be announced after technical validation.\n\nThe dedicated extension will complement the native Custom Endpoint workflow described in this guide—not make it obsolete.\n\nDevelopers who want immediate access can use the native integration today. Those who want the complete DEVUP AI-native editor experience can follow the platform for the upcoming extension announcement.\n\nVS Code's native Custom Endpoint support changes the integration equation.\n\nYou can now connect DEVUP AI to the editor, select a compatible model, use streamed chat, validate tool calling, and keep billing in Algerian dinars—without installing an additional extension.\n\nThe setup is small.\n\nThe important part is configuring model capabilities accurately, validating them in stages, and keeping the developer in control of every consequential action.\n\nIf you test the integration, share what you built and which VS Code workflow you want the dedicated DEVUP AI extension to improve first.", "url": "https://wpnews.pro/news/connect-devup-ai-to-vs-code-no-extension-required", "canonical_source": "https://dev.to/mohamed_bal/connect-devup-ai-to-vs-code-no-extension-required-2ff9", "published_at": "2026-09-19 09:39:28+00:00", "updated_at": "2026-09-19 09:54:14.247164+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-products", "large-language-models"], "entities": ["Visual Studio Code", "DEVUP AI", "Microsoft"], "alternates": {"html": "https://wpnews.pro/news/connect-devup-ai-to-vs-code-no-extension-required", "markdown": "https://wpnews.pro/news/connect-devup-ai-to-vs-code-no-extension-required.md", "text": "https://wpnews.pro/news/connect-devup-ai-to-vs-code-no-extension-required.txt", "jsonld": "https://wpnews.pro/news/connect-devup-ai-to-vs-code-no-extension-required.jsonld"}}