返回目錄

mirage

編輯精選維護狀態: 活躍

strukto-ai/mirage

全球首個面向 AI 智慧體的統一虛擬檔案系統。

前往 GitHub專案首頁
$ npm install @struktoai/mirage-node

3,613

星數

261

Fork

TypeScript

語言

Apache-2.0

授權條款

2026-05-06

建立於

2026-09-08

最近推送

Apache-2.0 的 AI Agent 統一虛擬檔案系統,把約 50 個服務掛載成一棵 bash 友善的目錄樹,可透過原生轉接器、外掛、MCP 或 FUSE 接入 DeepSeek Harness。

DSH 整合

相容

作者聲明

安全稽核

未稽核

最後核實

2026-08-21

授權條款

Apache-2.0

01它能幫你完成什麼?

  • Give DeepSeek Harness bash-level access to S3, Google Drive, Slack, Gmail, Redis and ~50 more services as one virtual filesystem

    A single mounted workspace where read, grep and pipe commands sweep every backend out of the box, with zero new vocabulary

    Developers running DeepSeek Harness (dsh) who want their agent to query real cloud and SaaS data without wiring up separate SDKs or MCP servers

  • Compose cross-service pipelines and keep agent runs portable on DeepSeek Harness

    bash pipelines that span backends (e.g. run a script stored in Slack and file the report into Redis), plus clone / snapshot / version of portable workspaces that move between machines

    Teams building agent workflows on DeepSeek Harness that need reproducible, portable workspaces across services

02如何將外掛接入 DeepSeek Harness?

先決條件

  • Python ≥ 3.11 for the `mirage-ai` package and the `mirage` CLI
  • Node.js ≥ 20 for the TypeScript SDK
  • macOS or Linux (FUSE-based mounts require platform support)

安裝步驟

  1. 01

    Python: run `uv add mirage-ai` — installs the `mirage` library and the `mirage` CLI binary

  2. 02

    TypeScript: run `npm install @struktoai/mirage-node` (Node.js servers and CLIs), `npm install @struktoai/mirage-browser` (browser / edge runtimes), and optionally `npm install @struktoai/mirage-agents` (OpenAI / Vercel AI / LangChain / Mastra adapters)

    $ npm install @struktoai/mirage-node

  3. 03

    CLI: run `curl -fsSL https://strukto.ai/mirage/install.sh | sh`, or `npm install -g @struktoai/mirage-cli`, or `uvx mirage-ai`, or `npx @struktoai/mirage-cli`

    $ curl -fsSL https://strukto.ai/mirage/install.sh | sh

驗證整合成功

作者未說明

03DSH 整合程度與能力邊界

DSH 整合相容

Used inside DeepSeek Harness as a coding-agent tool layer via native adapter, installable plugin, MCP, or FUSE mount

  • Unified virtual filesystem with ~50 built-in backends

    S3 / R2 / GCS / Supabase, Gmail / GDrive / GDocs / GSheets / GSlides, GitHub / Linear / Notion / Trello, Slack / Discord / Email, MongoDB / Postgres / LanceDB / Qdrant, Redis, SSH, RAM, Diskone filesystem tree under a single root, readable with standard bash semantics (read, grep, pipe)

    reads and writes are executed against the mounted remote services using your own credentials/tokens
  • Portable workspaces (clone / snapshot / version)

    a configured Mirage workspacesnapshot archives (e.g. demo.tar) that can be loaded on another machine to restore the workspace

    snapshot files are written to disk
  • Two-layer cache for remote backends

    repeated reads against remote backendsindex cache (listings/metadata, default TTL 10 minutes) and file cache (object bytes, default 512 MB) served from local state

    cache state is held in-process RAM by default; an optional Redis store shares cache state across workers, processes, and machines
  • Embeddable Python and TypeScript SDKs

    a Python ≥ 3.11 or Node.js ≥ 20 applicationworkspaces running in-process inside FastAPI, Express, browser apps, or any async runtime — no separate process required

04適合誰?何時不該用?

適合

  • Developers running DeepSeek Harness (dsh) who want their agent to query real cloud and SaaS data without wiring up separate SDKs or MCP servers
  • Teams building agent workflows on DeepSeek Harness that need reproducible, portable workspaces across services

不適合

  • Mirage targets macOS or Linux; FUSE-based mounts additionally require platform support, so FUSE mounting is not guaranteed on every machine.
  • Mounted remote backends (Slack, S3, Gmail, Redis, ...) are reached over the network with your own credentials — e.g. a Slack bot token is passed in the resource config — so writes can mutate the underlying services.

05相容性、維護與安全提醒

  • Mirage targets macOS or Linux; FUSE-based mounts additionally require platform support, so FUSE mounting is not guaranteed on every machine.
  • The Python SDK and CLI require Python ≥ 3.11, and the TypeScript SDK requires Node.js ≥ 20 — older runtimes cannot run Mirage.
  • Mounted remote backends (Slack, S3, Gmail, Redis, ...) are reached over the network with your own credentials — e.g. a Slack bot token is passed in the resource config — so writes can mutate the underlying services.
2026-05-062026-08-19v0.0.5

Apache-2.0 · actively maintained (latest release v0.0.5, 2026-08-15)

06常見問題

Mirage 如何接入 DeepSeek Harness?

DeepSeek Harness 被列在 Mirage 官方的程式碼撰寫代理整合表中,可透過原生轉接器、可安裝外掛、MCP 或 FUSE 掛載接入;Mirage 文件中還有專門的 DeepSeek Harness 快速上手頁(docs.mirage.strukto.ai/typescript/agents/dsh)。

是原生整合還是走 MCP?

兩條路都有:程式碼撰寫代理可以透過原生轉接器和可安裝外掛接入,也可以走 MCP 或 FUSE,依你在 DeepSeek Harness 中的工作流程選擇即可。

安裝前需要準備什麼?

`mirage-ai` 套件和 `mirage` CLI 需要 Python ≥ 3.11,TypeScript SDK 需要 Node.js ≥ 20;如果要使用以 FUSE 為基礎的掛載,還需要 macOS 或 Linux 且平台相容 FUSE。

可以掛載哪些服務?

內建約 50 個後端:RAM、Disk、Redis、S3 / R2 / OCI / Supabase / GCS、Gmail / GDrive / GDocs / GSheets / GSlides、GitHub / Linear / Notion / Trello、Slack / Discord / Email、MongoDB / GridFS / Postgres / LanceDB / Qdrant、SSH 等,全部並排掛載在同一個根目錄下。

讀寫操作的資料去向是什麼?

指令直接作用於掛載的後端:遠端服務透過網路存取,使用你自己的憑證(例如 Slack bot token);雙層快取(索引快取+檔案快取,預設在程序內 RAM,可選 Redis)會讓重複讀取走本機而不重複存取網路。

08資料與來源

  • 作者聲明github.comeb4448d055bc…

    **Agent integrations:** OpenAI Agents SDK, Vercel AI SDK, LangChain, Pydantic AI, CAMEL, and OpenHands via the SDKs; cod…

  • 作者聲明github.comeb4448d055bc…

    | Coding agents | [Claude Code](https://docs.mirage.strukto.ai/python/agents/claude-code), [Codex](https://docs.mirage.s…

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-21。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。