Introduction¶
When performing Q&A or explanation tasks in DeepSeek Harness (DSH), models often rely solely on training data to generate answers. This makes it difficult to provide verifiable web sources or insert illustrations corresponding to the discussion next to the response. A common workaround is to integrate a general search API, but dealing with source links, image copyrights, and ensuring “the image actually illustrates the topic” still requires manual assembly within prompts or post-processing.
CiteWeave (wavachao/dsh-citeweave) is a community-maintained DSH plugin for web connectivity: it fetches web evidence and filters candidate images through a self-hostable search backend, passing source links and illustrations to the Harness. Your configured DeepSeek model then organizes the body text and places images alongside relevant explanations. This article describes its positioning, capabilities, and installation configuration. For facts and figures, please refer to the GitHub Repository and the SkillHub Directory Page.
What is this¶
CiteWeave targets DeepSeek Harness, is maintained by wavachao, and is licensed under MIT. The repository contains both the Harness plugin (Node) and a Python search backend: the backend runs Qwen3.5-9B via vLLM, coordinated with CPU-side embedding and reranking; Celery, Redis, and PostgreSQL handle retrieval tasks. In shared GPU scenarios, the model can be started on-demand and release video memory after a period of idleness.
The plugin registers the tool citeweave_search within Harness, supporting automatic search, up to five source URLs, image validation, and cache refresh; Harness embeds images via the attachment store. If the backend is unavailable, Harness will continue to answer, though it will not receive the results from this tool; retrieval coverage and image availability depend on the target website.
Core Features¶
Below are the verifiable capability highlights consistent with the README.
- Web Evidence Retrieval: Fetches materials related to the question from open web pages for the model to cite when writing answers.
- Image Filtering and Attribution: Evaluates candidate images and returns illustrations with source links (README examples cover geological diagrams, biometric photos, engineering structure comparisons, etc.).
- Harness-side Tool Integration: After calling
citeweave_search, the model intersperses images and explanations within the text; see Tool Reference for details. - Configurable Limits: The number of returned images per search can be limited (config item
maxImages, default 3, range 1–8). - Evaluation and Structure: The repository provides
benchmarks/comparison scripts and samples; the plugin side consists ofindex.js,client.js, with backend logic inbackend/src/citeweave/.
Version and Runtime Environment (from package.json): The plugin’s current release version is 0.5.1, requiring Node.js 24+ and targeting Harness 0.2.1-rc.2. The plugin and backend are released under the same repository tag.
Installation and Activation¶
Installation consists of two parts: first deploy the search backend, then add the plugin to Harness. The community directory classifies it as a “Web Tool”; before installing, please review the source code and MIT license yourself, and note that the plugin runs with the permissions of the current DSH process.
Backend¶
The reference configuration in the README specifies Linux, Python 3.12, Docker, an RTX 3060 with 12 GB VRAM, and 32 GB RAM. Follow the repository’s Backend Deployment Guide to install dependencies, download models, and start the service; the backend directory is backend/.
Harness Plugin¶
In Harness Desktop or Web, open Plugins → Add plugin and enter:
github:wavachao/dsh-citeweave#v0.5.1
After saving, open Installed plugins → CiteWeave → Configure CiteWeave, fill in the backend address and workspace access token, and save. The configuration items are as follows (some fields can also be overridden via environment variables):
| Config Item | Default Value | Description |
|---|---|---|
endpoint |
http://127.0.0.1:8765 |
Backend address; can use CITEWEAVE_ENDPOINT |
accessToken |
Empty | Workspace token; can use CITEWEAVE_ACCESS_TOKEN |
timeoutMs |
300000 |
Tool timeout (milliseconds) |
maxImages |
3 |
Max images per search (1–8) |
If the token is left blank, the interface will retain the previously saved value. For command-line installation and environment variable details, see reference.md.
Typical Usage¶
In the conversation, simply state in natural language that you “need diagrams/photos with sources cited,” and Harness will call citeweave_search as needed. The examples provided in the README are as follows and can be directly reproduced:
Explain how Eratosthenes measured Earth’s circumference. Include a diagram and cite its source.
Compare suspension bridges and cable-stayed bridges, with photographs showing their structural differences.
Following the steps above, the model should compose an answer combining the retrieved evidence, attaching validated images and source links next to the appropriate paragraphs.
Use Cases and Notes¶
Who it is for: Developers who need to perform knowledge explanations or comparison Q&A with citations and illustrations in DSH, and are willing to self-host the search backend (or have a controllable deployment environment for GPU/RAM).
Things to note:
- The backend is a prerequisite for the plugin’s capabilities; if only the Harness plugin is installed without deploying the backend, tool calls will fail, but the conversation can continue.
- Images and web content are subject to third-party site terms and original licenses; the repository lists model and third-party resource licenses in
backend/THIRD_PARTY.md, and scraped images retain their original site licenses. - The DSH ecosystem emphasizes “everything is a plugin”; the SkillHub Directory is a community site and has no official affiliation with DeepSeek/High-Flyer.
- Before installing any community plugin, you should check the repository Issues, SECURITY disclosure channels, and your own compliance requirements.
Conclusion¶
CiteWeave turns “web evidence + traceable illustrations” into a Harness-callable citeweave_search, using a self-hosted backend to handle retrieval and image filtering. If you are extending DSH’s web-based explanation capabilities, you can learn more from the directory page introduction and view deployment documentation, reference manuals, and benchmarks on GitHub.
- Directory Page: https://www.skillhub.cn/plugins/wavachao/dsh-citeweave
- Repository: https://github.com/wavachao/dsh-citeweave