Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

docs(registry): add Memanto memory provider (#5252)

Colton Padden077f8f094377
diff --git a/apps/docs/lib/integrations/data.ts b/apps/docs/lib/integrations/data.ts
index 899d3a1f4..0abd6210f 100644
--- a/apps/docs/lib/integrations/data.ts
+++ b/apps/docs/lib/integrations/data.ts
@@ -1875,6 +1875,60 @@ Supermemory automatically recalls relevant context before a turn and captures co
Keep \`SUPERMEMORY_API_KEY\` in the environment rather than prompts or source control. You can change the container-tag prefix, automatic search, capture policy, and profile-context time zone through \`supermemory(...)\`. See the [Supermemory eve provider documentation](https://supermemory.ai/docs/integrations/eve) for all options and tool behavior.`,
},
+ memanto: {
+ logo: "memanto",
+ docsHref: "https://docs.memanto.ai/integrations/eve",
+ keywords: [
+ "memory",
+ "long-term memory",
+ "semantic search",
+ "automatic recall",
+ "user profile",
+ "Memanto",
+ "Moorcheh",
+ ],
+ install: `Install Memanto memory for eve:
+
+\`\`\`bash
+eve add memory/memanto
+\`\`\`
+
+This installs \`@moorcheh-ai/memanto\` and writes a memory slot. The provider requires Node.js 24 or later and eve 0.60.0 or later.`,
+ quickStart: `Set a Moorcheh API key in the agent environment. Deployments also need the URL of a Memanto server that you run:
+
+\`\`\`bash title=".env.local"
+MOORCHEH_API_KEY=...
+# Deployments only
+MEMANTO_BASE_URL=https://...
+\`\`\`
+
+The registry creates this memory slot:
+
+\`\`\`ts title="agent/memory/memanto.ts"
+import { memantoMemory } from "@moorcheh-ai/memanto/eve";
+import { defineMemory } from "eve/memory";
+import { byPrincipal } from "eve/memory/scope";
+
+export default defineMemory({
+ description: "Recall and manage durable context for the current user.",
+ provider: memantoMemory({
+ apiKey: process.env.MOORCHEH_API_KEY,
+ baseUrl: process.env.MEMANTO_BASE_URL,
+ capture: false,
+ }),
+ scope: byPrincipal,
+});
+\`\`\`
+
+The filename creates the \`memanto\` slot. Before every turn, the provider recalls relevant context. It also gives the model \`memanto__remember\` and \`memanto__recall\` tools for deliberate saves and searches.`,
+ configure: `\`byPrincipal\` keeps memory disabled for anonymous and runtime principals, and shares the local-development scope while you run \`eve dev\`. For a multi-tenant agent, replace it with a scope resolver that derives both tenant and caller identity from verified session context. See [Multi-tenant memory](/docs/patterns/multi-tenant-memory).
+
+All eve scopes share one Memanto agent. The provider tags each memory with a digest of eve's opaque scope key and filters recalls by that tag. Its tools are bound to the current scope, so the model cannot read or write another scope's memories.
+
+Automatic capture is unsupported in this reviewed configuration. The published adapter does not make completed-turn capture idempotent across eve operation replays. The registry explicitly sets \`capture: false\`; leave it disabled until the provider supports replay-safe idempotency. The model can still use \`memanto__remember\` for deliberate, scope-bound memory writes. Those are model-invoked writes, not user-approved writes. Recalled content is user-provided data, not instructions. Do not store secrets or credentials in memory.
+
+The reviewed configuration expects a running Memanto server at \`MEMANTO_BASE_URL\`. If you omit it during \`eve dev\`, the adapter starts a local server with the unpinned default \`memanto\` package through \`uvx\`. That local-server path is outside the reviewed compatibility boundary. Keep \`MOORCHEH_API_KEY\` in the environment rather than prompts or source control. See the [Memanto eve guide](https://docs.memanto.ai/integrations/eve) for server setup and all provider options.`,
+ },
};
const extensionPresentations: Record<string, ExtensionPresentation> = {
diff --git a/apps/docs/lib/integrations/logos.tsx b/apps/docs/lib/integrations/logos.tsx
index b5c893238..c15547edd 100644
--- a/apps/docs/lib/integrations/logos.tsx
+++ b/apps/docs/lib/integrations/logos.tsx
@@ -253,6 +253,20 @@ const hindsightLogo = (props: LogoProps) => (
</svg>
);
+const memantoLogo = (props: LogoProps) => (
+ <svg fill="none" viewBox="0 0 96 120" xmlns="http://www.w3.org/2000/svg" {...props}>
+ <path
+ d="M24 0h60v24H72V12h-6v12H42V12h-6v12H24Zm-6 24h6v24h-6Zm66 0h6v24h-6ZM24 48h60v12H72v12H36V60H24Z"
+ fill="#5534A5"
+ />
+ <path d="m48 28 4 8-4 8-4-8 4-8Zm12 0 4 8-4 8-4-8 4-8Z" fill="white" />
+ <path
+ d="M18 72h6v36h-6Zm12 0h6v24h-6Zm12 0h6v12h-6Zm18 0h6v12h-6Zm12 0h6v24h-6Zm12 0h6v36h-6Z"
+ fill="#5534A5"
+ />
+ </svg>
+);
+
export const datadogLogo = (props: LogoProps) => <SiDatadog color="default" {...props} />;
const honeycombLogo = (props: LogoProps) => (
@@ -892,6 +906,7 @@ export const logos = {
arcana: arcanaLogo,
supermemory: supermemoryLogo,
hindsight: hindsightLogo,
+ memanto: memantoLogo,
airtable: airtableLogo,
bitly: bitlyLogo,
brex: brexLogo,
diff --git a/apps/docs/package.json b/apps/docs/package.json
index f416ff123..150017686 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -69,6 +69,7 @@
"@larksuite/vercel-chat-adapter": "0.1.2",
"@liveblocks/chat-sdk-adapter": "3.23.0",
"@mdx-js/mdx": "3.1.1",
+ "@moorcheh-ai/memanto": "0.2.29",
"@novu/chat-sdk-adapter": "0.1.0",
"@onkernel/eve-extension": "^0.1.3",
"@opentelemetry/api": "1.9.1",
diff --git a/apps/docs/registry.json b/apps/docs/registry.json
index e507f035a..3f365aa07 100644
--- a/apps/docs/registry.json
+++ b/apps/docs/registry.json
@@ -363,6 +363,31 @@
}
]
},
+ {
+ "name": "memory/memanto",
+ "type": "registry:item",
+ "title": "Memanto",
+ "description": "Recall relevant long-term context and let agents deliberately save durable user memories.",
+ "dependencies": [
+ "@moorcheh-ai/[email protected]"
+ ],
+ "envVars": {
+ "MOORCHEH_API_KEY": "",
+ "MEMANTO_BASE_URL": ""
+ },
+ "meta": {
+ "eve": {
+ "requires": ">=0.60.0"
+ }
+ },
+ "files": [
+ {
+ "path": "registry/memory/memanto.ts",
+ "type": "registry:file",
+ "target": "agent/memory/memanto.ts"
+ }
+ ]
+ },
{
"name": "tool/agent",
"type": "registry:item",
diff --git a/apps/docs/registry/memory/memanto.ts b/apps/docs/registry/memory/memanto.ts
new file mode 100644
index 000000000..fa14cfeae
--- /dev/null
+++ b/apps/docs/registry/memory/memanto.ts
@@ -0,0 +1,13 @@
+import { memantoMemory } from "@moorcheh-ai/memanto/eve";
+import { defineMemory } from "eve/memory";
+import { byPrincipal } from "eve/memory/scope";
+
+export default defineMemory({
+ description: "Recall and manage durable context for the current user.",
+ provider: memantoMemory({
+ apiKey: process.env.MOORCHEH_API_KEY,
+ baseUrl: process.env.MEMANTO_BASE_URL,
+ capture: false,
+ }),
+ scope: byPrincipal,
+});
diff --git a/apps/docs/scripts/validate-memory-registry.ts b/apps/docs/scripts/validate-memory-registry.ts
index b8dfd1c20..56680acb7 100644
--- a/apps/docs/scripts/validate-memory-registry.ts
+++ b/apps/docs/scripts/validate-memory-registry.ts
@@ -100,5 +100,21 @@ for (const item of items) {
'Registry item "memory/supermemory" must declare SUPERMEMORY_API_KEY as an environment variable.',
);
}
+ } else if (slug === "memanto") {
+ if (!item.dependencies?.some((dependency) => dependency.startsWith("@moorcheh-ai/memanto@"))) {
+ throw new Error('Registry item "memory/memanto" must depend on @moorcheh-ai/memanto.');
+ }
+ if (
+ !("MOORCHEH_API_KEY" in (item.envVars ?? {})) ||
+ !("MEMANTO_BASE_URL" in (item.envVars ?? {}))
+ ) {
+ throw new Error(
+ 'Registry item "memory/memanto" must declare MOORCHEH_API_KEY and MEMANTO_BASE_URL as environment variables.',
+ );
+ }
+ const source = await readFile(join(docsRoot, expectedPath), "utf8");
+ if (!/capture:\s*false/.test(source)) {
+ throw new Error('Registry item "memory/memanto" must keep automatic capture disabled.');
+ }
}
}
diff --git a/packages/eve-catalog/src/index.ts b/packages/eve-catalog/src/index.ts
index cf93c509c..ad5a0d91f 100644
--- a/packages/eve-catalog/src/index.ts
+++ b/packages/eve-catalog/src/index.ts
@@ -372,6 +372,14 @@ export const INTEGRATIONS: readonly IntegrationEntry[] = [
tagline: "Recall relevant context before every turn and retain each exchange automatically.",
surfaces: { scaffoldable: false, registry: true, gallery: true },
},
+ {
+ slug: "memanto",
+ name: "Memanto",
+ kind: "memory",
+ tagline:
+ "Recall relevant long-term context and let agents deliberately save durable user memories.",
+ surfaces: { scaffoldable: false, registry: true, gallery: true },
+ },
{
slug: "browser-use",
name: "Browser Use",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f211c3252..77e277774 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -472,6 +472,9 @@ importers:
'@mdx-js/mdx':
specifier: 3.1.1
version: 3.1.1([email protected])
+ '@moorcheh-ai/memanto':
+ specifier: 0.2.29
'@novu/chat-sdk-adapter':
specifier: 0.1.0
@@ -3894,6 +3897,27 @@ packages:
resolution: {integrity: sha512-YhHWdHfpFMQfd0prsEnxKeS3Qz3ytIGmsS0sth4KDjnacIT7hxk6hXHkJ9KysxlkvTM+WZAtQbbcUhdoP4Hvtw==}
engines: {node: '>=20'}
+ '@moorcheh-ai/[email protected]':
+ resolution: {integrity: sha512-6i2cWYd/mRmUBlRsDQBaIlLEMzGSmJ1WbLNYrkq5Qh0Wx6FiWdegDOQ1WwyTx2dA9HeQWzITgNPVhlSN0HqRkQ==}
+ engines: {node: '>=20'}
+ peerDependencies:
+ '@mastra/core': '>=1.0.0'
+ ai: '>=5.0.0'
+ eve: '>=0.60.0'
+ openai: '>=4.55.0'
+ zod: '>=3.23.0'
+ peerDependenciesMeta:
+ '@mastra/core':
+ optional: true
+ ai:
+ optional: true
+ eve:
+ optional: true
+ openai:
+ optional: true
+ zod:
+ optional: true
+
resolution: {integrity: sha512-4wpH6dYybyZhqLn9qGn/+67Z8MZnQRAdqTFEEZw2bx61M9q01uPYYHxd8qwOnYtUGEeafsdTwVHVxKHGD3oc1A==}
@@ -17530,6 +17554,13 @@ snapshots:
'@modelcontextprotocol/core': 2.0.0
zod: 4.5.4
+ optionalDependencies:
+ ai: 7.0.137([email protected])
+ eve: link:packages/eve
+ zod: 4.5.4
+
dependencies:
mux-embed: 5.18.1