feat(eve): add Eve agent-framework MCP connection helper#2280
Draft
benfrank241 wants to merge 1 commit into
Draft
feat(eve): add Eve agent-framework MCP connection helper#2280benfrank241 wants to merge 1 commit into
benfrank241 wants to merge 1 commit into
Conversation
Add @vectorize-io/hindsight-eve: a thin helper that wraps Eve's defineMcpClientConnection to wire an Eve agent into a Hindsight MCP server in one line, pre-filling the endpoint, model-facing description, and bearer auth with env-var defaults (HINDSIGHT_MCP_URL, HINDSIGHT_API_KEY, HINDSIGHT_MCP_BANK_ID). Mirrors the ai-sdk integration: vitest + tsup, own package-lock.json, test-eve-integration CI job (Node 24), release + changelog registration, docs gallery entry and page. In-repo backup for vercel/eve#55 (preferred upstream home is Eve's own connection catalog).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a first-party Eve integration:
@vectorize-io/hindsight-eve, a thin helper that wraps Eve'sdefineMcpClientConnectionso an Eve agent gains Hindsight long-term memory by dropping one file underagent/connections/:The helper pre-fills Hindsight's MCP endpoint, a model-facing description, and bearer auth, with env-var defaults (
HINDSIGHT_MCP_URL,HINDSIGHT_API_KEY,HINDSIGHT_MCP_BANK_ID). Supports tool filters and human-in-the-loop approval passthrough. The model seesconnection__hindsight__{recall,retain,reflect}; URL/token never reach it.Why a draft / backup
The preferred home for this is Eve's own connection catalog — proposed upstream in vercel/eve#55. That hinges on a maintainer decision about non-Connect (bearer) auth. This in-repo integration ships value to Hindsight users regardless of that outcome, and remains a convenience wrapper even if the catalog entry lands. Keeping it draft until the upstream direction is settled.
Shape
Mirrors the
ai-sdkintegration exactly:src/index.ts— pureresolveHindsightConnection(env/option precedence + Cloud-needs-key validation) +buildHindsightConnectionDefinition+defineHindsightConnection.evesmoke test) + tsup build, ownpackage-lock.json.test-eve-integrationCI job (Node 24, per Eve's engine requirement) wired intoreport-pr-status.release-integration.shandgenerate_changelog.py.docs-integrations/eve.md(passescheck-integrations.mjs).Checks
npm test/npm run build,check-integrations.mjs,check-integration-lockfiles.sh, andlint.shall green locally.Follow-up
static/img/icons/eve.svgis a placeholder wordmark — swap for the official Eve mark before release.