hindsight-devin-desktop
Long-term memory for Devin Desktop (the editor formerly known as Windsurf / Codeium), powered by Hindsight.
hindsight-devin-desktop init wires the Hindsight MCP server into Devin Desktop's
~/.codeium/windsurf/mcp_config.json and adds an always-on recall/retain rule to
.devin/rules/hindsight.md. Devin then has recall / retain / reflect
tools and — guided by the rule — recalls relevant memory at the start of a task
and retains durable facts as it works.
Note: Cognition rebranded Windsurf to Devin Desktop (June 2026). The MCP config path still lives under
~/.codeium/windsurf/— that's Devin Desktop's on-disk data directory and is unchanged by the rebrand. The workspace rule now lives under.devin/rules/(with.windsurf/rules/kept as a legacy fallback).
How it works
Devin Desktop supports two things this integration uses:
-
MCP servers in
~/.codeium/windsurf/mcp_config.jsonundermcpServers, including remote servers viaserverUrlwith headers — so the Hindsight MCP endpoint connects directly:{ "mcpServers": { "hindsight": { "serverUrl": "https://api.hindsight.vectorize.io/mcp/my-project/", "headers": { "Authorization": "Bearer hsk_..." } } } }
-
Workspace rules in
.devin/rules/. A rule file withtrigger: always_onfrontmatter is applied to every Devin request in the workspace — that's where the recall/retain rule lives.
Install
pip install hindsight-devin-desktop
cd your-project
hindsight-devin-desktop init --api-token YOUR_HINDSIGHT_API_KEY --bank-id my-project
init merges the mcpServers entry into ~/.codeium/windsurf/mcp_config.json
(Devin Desktop's single global MCP config) and writes the rule into
./.devin/rules/hindsight.md. Reload Devin Desktop (or refresh MCP servers) and
the hindsight tools are available.
Use a Hindsight Cloud key, or a self-hosted
server with --api-url http://localhost:8888 (no token needed for an open local
server). If mcp_config.json isn't plain JSON, init prints the snippet to
paste instead of touching the file — or run hindsight-devin-desktop init --print-only
anytime.
Commands
| Command | Description |
|---|---|
hindsight-devin-desktop init |
Add the MCP server + recall/retain rule |
hindsight-devin-desktop status |
Show whether the server + rule are configured |
hindsight-devin-desktop uninstall |
Remove the server + rule |
Configuration
| Setting | Env var | Default |
|---|---|---|
| API URL | HINDSIGHT_API_URL |
https://api.hindsight.vectorize.io |
| API token | HINDSIGHT_API_TOKEN |
(none; required for Cloud) |
| Bank id | HINDSIGHT_DEVIN_DESKTOP_BANK_ID |
devin-desktop |
Development
uv sync
uv run pytest tests -v -m 'not requires_real_llm' # deterministic suite
uv run pytest tests -v -m requires_real_llm # gated MCP-endpoint check
License
MIT
Metadata
Release files for hindsight-devin-desktop 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hindsight_devin_desktop-0.1.0.tar.gz | 19.9 kB | With provenance | Details for hindsight_devin_desktop-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hindsight_devin_desktop-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hindsight_devin_desktop-0.1.0-py3-none-any.whl |
Total release size: 30.0 kB
Release files / hindsight_devin_desktop-0.1.0.tar.gz
| Download URL | hindsight_devin_desktop-0.1.0.tar.gz |
|---|---|
| Size | 19.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa62d50f36fb030233a064b8ceafdf0ca4e292410927c4feec49350757cc6d23
|
|
BLAKE2b-256 checksum How to use checksums |
37a4dc9c5c545f58f2d08f879b31793f5fb8f77b4d0a34bbca5ef0918b3e4294
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logRelease files / hindsight_devin_desktop-0.1.0-py3-none-any.whl
| Download URL | hindsight_devin_desktop-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f2677dbf8a381cf4628624f7ef019e3f181a065bb6827fea42dc7de5894a2ca
|
|
BLAKE2b-256 checksum How to use checksums |
438f9e4ac7299fa77c002506a89df5fffbfc2e5712df3e53d8e3c0b62fe80e47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logSecurity for hindsight-devin-desktop 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hindsight_devin_desktop-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.