coding-agents
vectorize-io/hindsightHindsight:会学习的 Agent 长期记忆系统,自动召回/保存、知识页、深度反思与按仓库隔离的记忆银行。
A DeepSeek Harness bundle that registers the local `flowix-cli` MCP server with any Harness instance. Once installed, the agent gets the mcp__flowix__memo tool to search, read, create, and edit Flowix Markdown memos, and to create declared plugin artifacts such as mind maps.
The bundle includes a small launcher. It transparently proxies to flowix-cli when installed; otherwise it keeps the tool registered and returns an actionable installation error to the agent. The launcher is a cordis.patch.yml that inserts one row, which ships inside every Harness distribution. Nothing here connects to a remote Flowix service — the CLI is spawned locally over stdio and reads the local notebook data directory.
flowix command on PATH (or set FLOWIX_CLI_PATH to the absoluteflowix-cli binary path) is needed to use the memo operations. If it is missing, the tool explains how to install Flowix from https://flowix-memo.com/latest.json. The CLI is built from the flowix-main repository (app/flowix-cli, binary flowix-cli).
user config directory (~/.flowix); override with FLOWIX_HOME / FLOWIX_DATA when the data lives elsewhere.
dsh plugin manages one profile at a time and requires --profile . Flowix uses the flowix profile. In other DSH clients, flowix is simply a custom profile name and can be created by the same command. The bundle remains independent from Flowix's host/control bridge and ships in the flowix-main repository and is not yet published to npm, so install it from the checkout:
# from the flowix-main checkout root
dsh plugin --profile flowix add ./dsh-flowix-memoryOnce published, the npm package installs the same way:
dsh plugin --profile flowix add dsh-flowix-memoryThe row activates for that profile. Other DSH clients can start it with dsh --profile flowix; this profile also ships dsh-appserver so the Flowix App Server JSON-RPC surface is available out of the box.
Start Harness with the profile you installed into (dsh --profile flowix), then check that the tool is registered:
mcp__flowix__memoPrefer structured arguments:
{"action":"search","query":"product plan","notebook":"work","tag":"project/flowix","limit":20}The legacy { "command": "search ...", "stdin": "..." } form remains accepted for compatibility but is no longer the recommended contract.
Key · Default · Meaning FLOWIX_CLI_PATH · flowix (PATH lookup) · Absolute path to the flowix-cli executable
If the CLI is unavailable, calling the tool returns an installation message with https://flowix-memo.com/latest.json. Install Flowix, then restart the profile so the launcher reconnects to flowix-cli mcp.
dsh plugin --profile flowix remove dsh-flowix-memoryDSH_* variables before spawning the child; other ambient variables (including HOME/PATH) are inherited.
flowix profile and setsFLOWIX_DSH_MCP_CLI. Other DSH clients can install it into any profile and use FLOWIX_CLI_PATH or the flowix executable on PATH. There is one canonical bundle patch and no embedded duplicate row.