Skip to content

[Story] A1. Provider registry and secure API-key vault #190

Backlog

Description

@aMonteSl

As a developer, I want to add, test and remove LLM providers with my own API key, so that I can use the models I already pay for without trusting a third-party server.

Acceptance criteria

  • A settings section "AI providers" with Anthropic, OpenAI, Google Gemini, OpenRouter, Nous Portal, and "OpenAI-compatible". The last one takes a custom base URL (e.g. Ollama or LM Studio) and its key is optional.
  • Keys are encrypted with Electron safeStorage. The renderer never receives a stored key back, only "configured" and the last 4 characters.
  • On Linux with no secret store (basic_text), the view shows a warning and keys are kept for the session only, never written to disk.
  • A custom endpoint must be https, or http only to this machine, with no credentials in the URL. Fixed providers cannot be redirected from the renderer.
  • "Test connection" lists the provider's models or shows a clear error.
  • Unit tests for the vault, using a fake cipher to show that no plaintext ever reaches the disk.

Epic: #189

Activity

  1. added
    tfm
    user-story
    area: ide
    on Nov 26, 2026
  2. added a commit that references this issue on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ai-agentsarea: idestream: ai-agentstfmuser-story

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions