npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vectorize-io/hindsight-eve

v0.1.0

Published

Hindsight long-term memory for Vercel Eve agents - a one-line MCP connection exposing retain, recall, and reflect

Readme

Hindsight for Eve

Long-term memory for Vercel Eve agents, powered by Hindsight. One file gives your agent retain, recall, and reflect over Hindsight's MCP server — so it remembers facts across sessions and deployments instead of starting cold every time.

How it works

Eve is filesystem-first: an agent gains a capability by dropping a file under agent/connections/. This package wraps eve's defineMcpClientConnection, pre-filling the Hindsight MCP endpoint, a model-facing description, and bearer auth. The model discovers the tools through connection__search and calls them as connection__hindsight__recall, connection__hindsight__retain, and connection__hindsight__reflect. The connection's URL and token never reach the model.

Install

npm install @vectorize-io/hindsight-eve

eve is a peer dependency — you already have it in an Eve project.

Quick start

Create agent/connections/hindsight.ts:

import { defineHindsightConnection } from "@vectorize-io/hindsight-eve";

export default defineHindsightConnection();

That's it. By default the connection reads:

| Env var | Purpose | | ----------------------- | ---------------------------------------------------------------- | | HINDSIGHT_API_KEY | Bearer token sent as Authorization: Bearer <key> | | HINDSIGHT_MCP_URL | MCP endpoint (defaults to Hindsight Cloud) | | HINDSIGHT_MCP_BANK_ID | Optional bank to scope memory to, sent as the X-Bank-Id header |

Hindsight Cloud

Set HINDSIGHT_API_KEY to a key from your Hindsight Cloud dashboard. The connection defaults to https://api.hindsight.vectorize.io/mcp, so no URL is needed.

Self-hosted

Point at your own server and (optionally) pick a bank:

export HINDSIGHT_MCP_URL="http://localhost:8000/mcp"
export HINDSIGHT_MCP_BANK_ID="my-project"
export HINDSIGHT_API_KEY="…"   # or omit and pass apiKey: null below for a no-auth server
import { defineHindsightConnection } from "@vectorize-io/hindsight-eve";

// A local server with no auth:
export default defineHindsightConnection({
  url: "http://localhost:8000/mcp",
  apiKey: null,
});

Options

defineHindsightConnection({
  url, // string  — MCP endpoint; defaults to HINDSIGHT_MCP_URL, then Cloud
  apiKey, // string | null — bearer token; null = no auth (local dev)
  bankId, // string  — scope memory to a bank (X-Bank-Id header)
  description, // string  — override the model-facing description
  tools, // { allow } | { block } — narrow which Hindsight tools the model sees
  approval, // human-in-the-loop policy, e.g. once() from "eve/tools/approval"
});

Restrict the agent to read-only recall, and require approval the first time:

import { defineHindsightConnection } from "@vectorize-io/hindsight-eve";
import { once } from "eve/tools/approval";

export default defineHindsightConnection({
  tools: { allow: ["recall", "reflect"] },
  approval: once(),
});

Verify

With the connection in place, run your agent and ask it something it would need to look up ("what did we decide about X last week?"). Eve's connection__search surfaces the Hindsight tools and the model calls connection__hindsight__recall. To seed memory, have the agent retain a fact in one session and recall it in the next.

Links