cortexdb-mastra
v0.1.0
Published
Mastra integration for CortexDB — long-term memory tools for AI agents
Readme
cortexdb-mastra
CortexDB integration for Mastra, the TypeScript agent framework.
Category note (audit POL-5): Mastra is an Agent Framework, not a no-code platform. It's a TypeScript-first framework that requires writing code (agent definitions, tools, workflows). The public docs site previously listed it under "No-Code Platforms" — this README and the next docs revision correct the categorization.
Install
npm install cortexdb-mastra @mastra/coreAPI base URL
Defaults to https://api-v1.cortexdb.ai (audit FRI-8). Override via the
integration config or CORTEXDB_API_URL.
Usage
import { Mastra } from "@mastra/core";
import { cortexdbIntegration } from "cortexdb-mastra";
const mastra = new Mastra({
integrations: [
cortexdbIntegration({
apiUrl: "https://api-v1.cortexdb.ai",
bearer: process.env.CORTEXDB_API_KEY,
actor: "user:alice",
scope: "org:acme/user:alice",
}),
],
});