Logo Vellium

Vellium

Cộng đồng
tg-prplx

Local-first desktop AI workbench for roleplay, multi-character chat, long-form writing, RAG, MCP tools, plugins, and local models.

Nhà phát hànhtg-prplx
Kho mãvellium
Ngôn ngữTypeScript
Bản fork
11
Sao
136
Công cụ có sẵn
0
Phương thức truyền tảistdio
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Vellium cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    136 sao và 11 bản fork từ kho mã được liên kết.

Vellium

Latest release Downloads Stars License: MIT

Vellium is a local-first desktop workbench for AI chat, character roleplay, live voice conversations, and long-form writing. It connects to OpenAI-compatible APIs, OpenRouter, Requesty, LM Studio, Ollama, KoboldCpp, and configurable custom endpoints. Chats, characters, projects, settings, and knowledge collections are stored locally in SQLite.

[!IMPORTANT] Agents is deprecated. It is disabled by default and is not a primary Vellium workspace. Existing agent threads and the implementation are retained for compatibility under Settings → Legacy → Agents. New workflows should use Chat, Writing, MCP tools, or plugins. See the Legacy and Agents policy.

What Vellium includes

  • Chat and roleplay: branching timelines, message editing, multiple characters, personas, LoreBooks, author notes, scene state, prompt blocks, translation, attachments, export, and controllable automatic turns.
  • Reasoning-aware context: provider reasoning fields and <think> traces can be displayed, bounded, persisted, and optionally returned to the model as context. RP Reasoning is a separate simulated prompt mode.
  • Live voice and Inochi2D avatars: microphone input, Whisper-compatible STT, streaming TTS, parameter-driven lip sync/emotions for .inp/.inx puppets, model and RP controls, attachments, screen context, and chat tools in Live mode.
  • Writing: projects, chapters, scenes, Character Forge, summaries, rewrite and expansion actions, RAG context, DOCX import, and DOCX/Markdown export.
  • Characters and world data: character-card import/editing, manual character ordering, multi-character participation, LoreBooks, and world-info import.
  • Knowledge and RAG: collections, bounded ingestion, embeddings, optional reranking, and explicit bindings for Chat and Writing.
  • Providers: OpenAI-compatible APIs, KoboldCpp, custom endpoint adapters, manual model fallbacks, job-specific model routing, and API parameter policy.
  • Tools and extensions: MCP tool calls, structured image results, local plugins, themes, widgets, custom inspector fields, and desktop pets.
  • Local control: SQLite persistence, Full Local Mode, provider URL checks, permission-gated plugins, and separate security gates for powerful legacy workspace tools.

The interface is translated into English, Russian, Chinese, and Japanese.

Install a desktop build

Download the current artifacts from GitHub Releases:

  • macOS: Apple Silicon (arm64) and Intel (x64);
  • Windows: x64;
  • Linux: x64 AppImage.

Release builds are currently unsigned. The operating system may require manual confirmation on first launch. The release badge above is the source of truth; this README deliberately does not hardcode a version number.

Run from source

Requirements:

  • Node.js 20 or newer;
  • npm;
  • Python 3 and Pillow only when regenerating application icons.
bash
npm install
npm run dev

The development renderer runs at http://127.0.0.1:1420 and proxies /api to the Express server at http://127.0.0.1:3002.

Use the real desktop shell when testing Electron behavior:

bash
npm run dev:electron

better-sqlite3 is a native dependency. If Node or Electron reports an ABI mismatch, rebuild it for the runtime you are about to use:

bash
npm run rebuild:native
npm run rebuild:native:electron

Build and package

bash
npm run build:desktop
npm run dist:mac
npm run dist:win
npm run dist:linux

build:desktop compiles the renderer, server bundle, Electron main process, and preload. Platform packages are written to release/. Pushing a v* tag starts the multi-platform workflow in .github/workflows/build-desktop.yml and publishes GitHub Release assets; do not use release tags as a local test command.

Headless local web mode

bash
npm run headless

This builds and serves the frontend and API at http://127.0.0.1:3001 without opening Electron. Public binding is opt-in and requires Basic Authentication. See the runtime and integration reference for flags and environment variables.

Data and privacy

  • Development data: data/.
  • Packaged desktop data: <Electron userData>/data through SLV_DATA_DIR.
  • Primary database: vellum.db (sillytauri.db remains a legacy fallback).
  • API keys are masked at response boundaries, but local application data is not an encrypted vault by default. Protect the operating-system account and data directory accordingly.
  • Full Local Mode blocks configured public provider endpoints; it does not turn untrusted plugins, MCP commands, or legacy workspace tools into safe code.

Do not commit data/, output/, release/, generated bundles, or imported user assets.

Settings and timeouts

Press Ctrl+Shift+P (Cmd+Shift+P on macOS) to search settings, jump to the owning section, and highlight the target control.

Long operations do not share a hidden renderer-wide timeout. Endpoint discovery, speech transcription, translation, MCP servers, and other bounded operations have settings at the layer that owns them. Endpoint discovery and speech limits are under Settings → Generation → Runtime tuning; each managed backend has its own startup timeout under Settings → Backends.

Plugins and MCP

Plugins are local extensions, not packages from a trusted marketplace. Review their declared permissions before enabling them. Plugin management and Pluginfile import/export live under Settings → Tools & MCP → Plugins.

MCP child processes are allowlisted and reject inline-eval launch forms. MCP can still expose powerful tools, so enable only the servers and individual functions you intend to use.

Documentation

Repository map

text
src/       React renderer and shared contracts
server/    Express API, SQLite repositories, provider and MCP services
electron/  Desktop main process, preload bridge, managed backends, pets
scripts/   Development, architecture, native rebuild, and packaging helpers
docs/      User, runtime, security, and plugin documentation

The main verification commands are:

bash
npm test
npm run check:architecture
npm run typecheck
npm run build
npm audit --audit-level=low

See AGENTS.md for repository boundaries, invariants, and the maintainer verification matrix.

License

MIT

Dùng MCP Vellium với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Vellium, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Vellium làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Vellium.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "vellium": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Vellium, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Vellium.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Vellium giúp tôi làm việc này không?
Vellium
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Vellium.

Câu hỏi thường gặp

Máy chủ MCP Vellium dùng để làm gì?

Vellium là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Vellium với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Vellium với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Vellium với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Vellium, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Vellium với TypingMind?

Vellium hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Vellium cung cấp những công cụ nào trong TypingMind?

Vellium cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Vellium không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Vellium yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇