Apache-2.0 agentic context runtime that ships as a native DeepSeek Harness plugin — gives any DSH agent durable memory, RAG context, and 16 `oc_*` tools, with a temporal fact graph and local-first storage.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-08-29
License
Apache-2.0
01What can it help you accomplish?
Give a DeepSeek Harness agent durable, queryable memory and retrieval-augmented context
A mounted DSH plugin that runs a recall waterfall each turn, captures user messages into durable memory, and exposes 16 `oc_*` tools (e.g. `oc_search`, `oc_remember`, `oc_memory_list`)
DSH agent authors who want persistent memory and RAG without running a separate vector database
Track decisions and facts over time with citable provenance
A temporal context graph where every fact has `valid_from` / `valid_until`; corrections are append-only, not destructive, with exportable compliance evidence
Software-engineering, finance, and audited-domain teams that need per-fact provenance and retention-aligned audit trails
02How to install into DeepSeek Harness
Installation steps
- 01
Add the OpenContext plugin to a DSH profile from npm: `dsh plugin --profile web add dsh-opencontext`
$ dsh plugin --profile web add dsh-opencontext
- 02
Start DSH web and open the plugins panel to enable it: `dsh web` (then visit http://127.0.0.1:3080/plugins)
$ dsh web
Verify the integration
- Confirm the plugin is mounted: `dsh --profile web --dump-config | grep dsh-opencontext` — output should contain `id: dsh-opencontext`
- Open http://127.0.0.1:3080/plugins in DSH web and confirm dsh-opencontext shows "Enabled"
03DSH integration and capability boundaries
Native DSH plugin (`dsh plugin add dsh-opencontext`) — gives any DSH agent durable memory and retrieval-augmented context, exposing 16 `oc_*` tools
Temporal Context Graph
facts / messages attributed to a user, each carrying `messageId` and `valid_from` / `valid_until`→a directed acyclic graph of facts with first-class supersession, contradiction, and merge edges
Platform Integration Mesh
Gmail, Slack, Telegram, Linear, Jira, iMessage, Feishu, Weixin, …→one uniform `IntegrationRecord` shape; credential rotation, rate-limit handling, and reconnect logic behind the adapter
Deterministic Loop Engine
scheduled wake-up triggers→a scheduler that wakes up, decides whether there is real work, and only then calls into the agent runtime
Retrieval Primitives
PDF / ZIP / text documents→chunking, embeddings, parsers, and sqlite-vec + pgvector + Chroma adapters
DSH plugin tools (`oc_*`)
a DSH agent turn→16 `oc_*` tools that run a recall waterfall, capture user messages, and summarize sessions
captures user messages into durable memorysummarizes sessions at natural breakpoints (opt-in)
04Who is it for? When not to use it?
Good for
- DSH agent authors who want persistent memory and RAG without running a separate vector database
- Software-engineering, finance, and audited-domain teams that need per-fact provenance and retention-aligned audit trails
Not for
- The HTTP daemon and integration adapters make outbound calls; OpenContext gates outbound traffic with a URL allowlist/blocklist and encrypts secrets with Fernet symmetric encryption.
05Compatibility, maintenance and safety notes
- OpenContext persists memory and audit logs on local disk by default — the memory store defaults to SQLite at `MEMORY_STORE_DB_PATH` (`./memory.db`), and audit logs are written to `~/.opencontext/logs/audit.jsonl`.
- The HTTP daemon and integration adapters make outbound calls; OpenContext gates outbound traffic with a URL allowlist/blocklist and encrypts secrets with Fernet symmetric encryption.
- OpenContext is a TypeScript library plus a CLI / daemon distributed on npm; embedding or running it expects a Node.js + pnpm / npm toolchain.
Apache-2.0 · maintained by Meland Labs (no release tagged in the facts pack)
06Frequently asked questions
How do I install OpenContext as a DeepSeek Harness plugin?
Add it from npm with `dsh plugin --profile web add dsh-opencontext`, then start DSH web with `dsh web` and open the plugins panel at http://127.0.0.1:3080/plugins to enable it. The plugin mounts as `dsh-opencontext`.
What tools does the DSH plugin expose?
It exposes 16 `oc_*` tools — including `oc_search`, `oc_remember`, and `oc_memory_list`. Each turn it runs a recall waterfall to inject relevant historical context and captures user messages into durable memory; session summarization at natural breakpoints is opt-in.
Do I need to run a separate vector database?
No. OpenContext bundles its own retrieval primitives with sqlite-vec, pgvector, and Chroma adapters, and a single `pnpm add @melandlabs/opencontext` installs the whole runtime. You can mix storage backends without rewriting the recall pipeline.
How do I verify the plugin is mounted in DSH?
Run `dsh --profile web --dump-config | grep dsh-opencontext` — the output should contain `id: dsh-opencontext`. You can also open http://127.0.0.1:3080/plugins in DSH web and confirm dsh-opencontext shows "Enabled".
Where does OpenContext store my data?
Memory and audit logs are written locally: the store defaults to SQLite at `MEMORY_STORE_DB_PATH` (`./memory.db`), and audit logs go to `~/.opencontext/logs/audit.jsonl`. Secrets are Fernet-encrypted and outbound calls are gated by a URL allowlist/blocklist.
07Related DSH workflows
memos
by memtensor
Self-evolving memory OS for LLM & AI Agents: ultra-persistent memory, hybrid-retrieval, and cross-task skill reuse, with 35.24% token savings and DeepSeek Harness support.
dsh-anchored-standard
by xiaobright
Two-phase DeepSeek Harness preset: Minimal-aligned bootstrap, then full Standard tools (Project2 98/99)
dsh-infinite-gen-4
by minglink
System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status badge driven by a session projection.
mem9
by mem9-ai
Unlimited memory for OpenClaw
08Data and sources
OpenContext is available as a DSH plugin that gives any DSH agent durable memory and retrieval-augmented context
The plugin exposes 16 `oc_*` tools (e.g., `oc_search`, `oc_remember`, `oc_memory_list`)
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-08-29. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
