Universal context and memory hub CLI designed for AI agents, currently at v0.1.2. Provides persistent memory, inter-agent context sharing, and role-based context injection for AI assistants like Claude Code. Key differentiators: integrates with LLM-powered workflows via JSON commands, supports dynamic memory retrieval, and offers both authentication and session-based memory management. Actively developed with a focus on agent-to-agent communication.
npm install memax-cliVerified import paths — ran on the pinned version, not inferred.
Initializes the Memax client, sets and retrieves context, shares context with another agent, and searches memory.
Always set Accept: application/vnd.memax.v2+json in requests when upgrading
Wrap string values in an object: { value: 'mystring' }Wait 2 seconds after setContext or use the 'immediate' mode: { consistency: 'strong' }npm install node-fetch@2 and ensure Node >=14
Use import { MemaxClient } from 'memax-cli'Set MEMAX_API_KEY in environment or pass apiKey to constructor