Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

docs: add Stripe Link integration (#3812)

Colton Paddenf64406c98ffc
diff --git a/apps/docs/lib/integrations/data.ts b/apps/docs/lib/integrations/data.ts
index b8633952c..cac2c7e8e 100644
--- a/apps/docs/lib/integrations/data.ts
+++ b/apps/docs/lib/integrations/data.ts
@@ -1920,6 +1920,38 @@ The extension also supports inline screenshots, session naming, proxies, and pro
},
],
},
+ link: {
+ logo: "link",
+ docsHref: "https://github.com/stripe/link-cli/tree/main/packages/integrations/eve/README.md",
+ keywords: ["stripe", "wallet", "payments", "checkout", "spend requests", "approval"],
+ install: `Install the Link extension for eve:
+
+\`\`\`bash
+eve add extension/link
+\`\`\`
+
+The extension requires Node.js 24 or later. It uses a configured Link access token; it does not start OAuth or refresh tokens. The token's wallet is shared by every caller who can reach this agent, so mount it only on an appropriately access-controlled agent.`,
+ quickStart: `Add a Link access token to the agent's server environment:
+
+\`\`\`bash title=".env.local"
+LINK_ACCESS_TOKEN=...
+\`\`\`
+
+The registry mounts the extension under \`agent/extensions/link.ts\`:
+
+\`\`\`ts title="agent/extensions/link.ts"
+import link from "@stripe/link-integrations-eve";
+
+export default link({
+ accessToken: process.env.LINK_ACCESS_TOKEN!,
+});
+\`\`\`
+
+The extension contributes \`link__\` tools for wallet details, payment methods, spend requests, transactions, balances, and purchase reports, plus a wallet skill with the checkout workflow.`,
+ configure: `Creating a spend request requires eve approval on every call by default. This is separate from Link's purchase approval: leave \`request_approval\` enabled for the normal flow, show the approval URL, then retrieve the same request and verify its current status before using credentials. Setting \`request_approval: false\` only creates a draft; it does not authorize a purchase.
+
+Payment credentials requested with \`include: ["card"]\` are returned as tool output and may appear in stored session events. The skill tells the agent not to repeat credentials in chat, but applications remain responsible for transcript access and retention. Keep the token out of prompts and source control; a 401 requires the operator to configure a replacement token. See the [extension documentation](https://github.com/stripe/link-cli/tree/main/packages/integrations/eve) for the full tool contract and security guidance.`,
+ },
};
/**
diff --git a/apps/docs/lib/integrations/logos.tsx b/apps/docs/lib/integrations/logos.tsx
index affd9d9e7..20c6cf00b 100644
--- a/apps/docs/lib/integrations/logos.tsx
+++ b/apps/docs/lib/integrations/logos.tsx
@@ -320,6 +320,16 @@ const similarwebLogo = (props: LogoProps) => <SiSimilarweb {...props} />;
const stripeLogo = (props: LogoProps) => <SiStripe color="default" {...props} />;
+const linkLogo = (props: LogoProps) => (
+ <svg fill="none" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" {...props}>
+ <path d="M0 0h32v32H0z" fill="#00D66F" />
+ <path
+ d="M15.144 6H10c1.001 4.18 3.923 7.753 7.58 10-3.664 2.247-6.579 5.82-7.58 10h5.144c1.275-3.867 4.804-7.227 9.142-7.913v-4.18c-4.344-.68-7.874-4.04-9.142-7.907Z"
+ fill="#011E0F"
+ />
+ </svg>
+);
+
const supabaseLogo = (props: LogoProps) => <SiSupabase color="default" {...props} />;
const ticktickLogo = (props: LogoProps) => <SiTicktick color="default" {...props} />;
@@ -853,6 +863,7 @@ export const logos = {
shopify: shopifyLogo,
similarweb: similarwebLogo,
stripe: stripeLogo,
+ link: linkLogo,
supabase: supabaseLogo,
"ticket-tailor": ticketTailorLogo,
ticktick: ticktickLogo,
diff --git a/apps/docs/package.json b/apps/docs/package.json
index 5f1a6b6fc..0eddbdbcc 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -76,6 +76,7 @@
"@opentelemetry/sdk-trace-base": "catalog:",
"@posthog/ai": "7.19.6",
"@resend/chat-sdk-adapter": "0.2.2",
+ "@stripe/link-integrations-eve": "^0.2.0",
"@supermemory/eve": "0.1.1",
"@tailwindcss/postcss": "4.3.0",
"@types/mdx": "2.0.13",
diff --git a/apps/docs/registry.json b/apps/docs/registry.json
index d00049db3..ab4fc7243 100644
--- a/apps/docs/registry.json
+++ b/apps/docs/registry.json
@@ -163,6 +163,30 @@
}
]
},
+ {
+ "name": "extension/link",
+ "type": "registry:item",
+ "title": "Link",
+ "description": "Give an eve agent guarded access to a Link wallet for payment methods, purchase requests, and checkout credentials.",
+ "dependencies": [
+ "@stripe/link-integrations-eve"
+ ],
+ "envVars": {
+ "LINK_ACCESS_TOKEN": ""
+ },
+ "meta": {
+ "eve": {
+ "requires": ">=0.54.4"
+ }
+ },
+ "files": [
+ {
+ "path": "registry/extensions/link.ts",
+ "type": "registry:file",
+ "target": "agent/extensions/link.ts"
+ }
+ ]
+ },
{
"name": "extension/kernel",
"type": "registry:item",
diff --git a/apps/docs/registry/extensions/link.ts b/apps/docs/registry/extensions/link.ts
new file mode 100644
index 000000000..cecc01339
--- /dev/null
+++ b/apps/docs/registry/extensions/link.ts
@@ -0,0 +1,5 @@
+import link from "@stripe/link-integrations-eve";
+
+export default link({
+ accessToken: process.env.LINK_ACCESS_TOKEN!,
+});
diff --git a/packages/eve-catalog/src/index.ts b/packages/eve-catalog/src/index.ts
index 238349710..f0c485ce6 100644
--- a/packages/eve-catalog/src/index.ts
+++ b/packages/eve-catalog/src/index.ts
@@ -325,6 +325,13 @@ export const INTEGRATIONS: readonly IntegrationEntry[] = [
tagline: "Grade agent turns, compare experiments, and store durable evaluation trajectories.",
surfaces: { scaffoldable: false, registry: true, gallery: true },
},
+ {
+ slug: "link",
+ name: "Link",
+ kind: "extension",
+ tagline: "Give your eve agent guarded access to Link wallet and purchase tools.",
+ surfaces: { scaffoldable: false, registry: true, gallery: true },
+ },
{
slug: "kernel",
name: "KERNEL",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 317d07432..d12d8c7c4 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -465,6 +465,9 @@ importers:
'@resend/chat-sdk-adapter':
specifier: 0.2.2
+ '@stripe/link-integrations-eve':
+ specifier: ^0.2.0
+ version: 0.2.0(eve@packages+eve)
'@supermemory/eve':
specifier: 0.1.1
version: 0.1.1(eve@packages+eve)
@@ -6302,6 +6305,16 @@ packages:
peerDependencies:
react: ^18.0.0 || ^19.0.0
+ '@stripe/[email protected]':
+ resolution: {integrity: sha512-ODNAfSodbtg9HKAjS//BZ/qWTLAcuRJ7Dsp9CL+I+DcDn65YQiVq/MSbDN6D4fIJpLGUmtzfYA+H+KqzhFlKUA==}
+ engines: {node: '>=24'}
+ peerDependencies:
+ eve: '*'
+
+ '@stripe/[email protected]':
+ resolution: {integrity: sha512-z3qvCYMkPl2JcA2rE3qSy+/uPthI+k3gSGdJIvkf8GHMcy/vG4O70OsWjC71yxyQD/BlyjkpwDvfkdU/Rq4a/g==}
+ engines: {node: '>=20'}
+
'@supermemory/[email protected]':
resolution: {integrity: sha512-m55U9+q0gxJH2vxF9vlcYk2/XRSwTMrpE+CRE05Hm+ytwZp1ec8gvUoxDNKrfC0EYikrCq6sF0Lkao64yemiCw==}
engines: {node: '>=24'}
@@ -19935,6 +19948,16 @@ snapshots:
react: 19.2.6
shiki: 3.23.0
+ '@stripe/[email protected](eve@packages+eve)':
+ dependencies:
+ '@stripe/link-sdk': 0.9.0
+ eve: link:packages/eve
+ zod: 4.5.4
+
+ '@stripe/[email protected]':
+ dependencies:
+ zod: 4.5.4
+
'@supermemory/[email protected](eve@packages+eve)':
dependencies:
eve: link:packages/eve
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 3c5ac3774..33d8011ad 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -83,4 +83,6 @@ minimumReleaseAgeExclude:
- "@chat-adapter/[email protected]"
- "@chat-adapter/[email protected]"
- "@chat-adapter/[email protected]"
+ - "@stripe/[email protected]"
+ - "@stripe/[email protected]"