--- name: atxp-memory description: Agent memory management — cloud backup, restore, and local vector search of .md memory files compatibility: Requires Node.js >=18 and npx tags: [memory, search, backup, identity, agent-files, sync, vector-search, zvec] metadata: homepage: https://docs.atxp.ai source: https://github.com/atxp-dev/cli npm: https://www.npmjs.com/package/atxp requires: binaries: [node, npx] node: ">=18" env: - name: ATXP_CONNECTION description: Auth token (created by npx atxp@latest login or agent register). Required for push/pull/status cloud operations. Not required for local index/search. required: false optionalDependencies: - name: "@zvec/zvec" description: Embedded vector database for local memory search (required for index/search subcommands) --- # ATXP Memory — Agent Memory Management Manage your agent's `.md` memory files: back up and restore to/from ATXP cloud servers, and **search your local memories** using zvec vector similarity search. ## Capabilities | Capability | Description | |------------|-------------| | **Cloud Backup** | Push/pull `.md` files to ATXP servers for disaster recovery | | **Local Search** | Index `.md` files into a local zvec vector database, then search by natural language query | | **Status** | View cloud backup info and local index statistics | ## Security Model - **Only `.md` files** are collected and transmitted (push/pull). No credentials, JSON configs, binaries, or other file types are ever sent. - Files are sent to ATXP servers over **HTTPS**, associated with the authenticated agent's identity. - `push` **replaces** the server snapshot entirely (latest snapshot only, no history). - `pull` is **non-destructive** — it writes server files to the local directory but does not delete local files absent from the server. - **Local search index** is stored in a `.atxp-memory-index/` subdirectory inside `--path`. It never leaves the local machine. - **index** and **search** do not require authentication or network access. - **Filesystem access**: reads from `--path` directory (push/index), writes to `--path` directory (pull) and `--path/.atxp-memory-index/` (index). No other directories are touched. - **No modification** of OpenClaw config or auth files. ## When to Use | Situation | Command | |-----------|---------| | After meaningful changes to SOUL.md, MEMORY.md, or at end of session | `push` | | Bootstrapping a fresh workspace or recovering from environment loss | `pull` | | After updating memory files and before starting a task that requires recall | `index` | | Looking for relevant context in past memories | `search` | | Verify backup exists before risky operations | `status` | ## Commands Reference | Command | Description | |---------|-------------| | `npx atxp@latest memory push --path