MM

memtensor/memos-cloud-cli

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

6 stars Качество 71 Тренд 22Apache-2.0

Provide universal memory capabilities for different AI agents and development frameworks, unifying the capture, retrieval, and management of user, project, and task context.

Обзор

Universal memory interface for AI agents. The npm package downloads a prebuilt MemOS CLI binary for the current platform during installation, so end users do not need a local Python environment. Run memos uninstall --agent --yes before removing the npm package. For Codex it removes the native Hook, turn state, installed skill, and managed guidance block; npm uninstall only removes the global binary. See skills/memos-memory/references/memos-uninstall.md for the agent-facing uninstall workflow. For supported hook agents, this command installs the complete MemOS integration: API configuration, management skill, native Hook, Hook-aware guidance, and CLI PATH setup. The Hook automatically retrieves memory before the model call and captures the completed turn after the response. --agent is required, and installation to a generic global directory is not supported. --memos-plugin is a legacy option for non-hook targets and is ignored when a native Hook is available.

README

Показан фрагмент оригинального README. Открыть оригинал.

MemOS CLI

Universal memory interface for AI agents.

Project Structure

MemOS-CLI/
├── src/memos_cli/
│   ├── __init__.py          # Package version
│   ├── __main__.py          # python -m memos_cli entry
│   ├── main.py              # Main CLI app (Typer)
│   ├── config.py            # Configuration management
│   ├── output.py            # Output formatting (text/json)
│   ├── branding.py          # Brand colors and symbols
│   ├── state.py             # State management (agent mode)
│   ├── telemetry.py         # Telemetry reporting
│   ├── backend/             # API backend layer
│   │   ├── base.py          # Abstract base class
│   │   ├── memos_api.py     # MemOS Cloud API implementation
│   │   ├── message_api.py   # Message API
│   │   └── kb_api.py        # Knowledge base API
│   └── commands/            # CLI commands
│       ├── init.py          # memos init
│       ├── hook.py          # internal memos hook run entrypoint
│       ├── config_cmd.py    # memos config (show/get/set)
│       ├── memory.py        # add/search/get/origin/delete/extract/rerank/feedback/chat
│       ├── memory_cmd.py    # Memory command execution layer
│       ├── message.py       # memos message / memos status
│       ├── message_cmd.py   # Message command execution layer
│       ├── kb.py            # memos kb (create/remove/add-file/get-file/list-file/delete-file)
│       └── kb_cmd.py        # Knowledge base command execution layer
│   └── hooks/               # Native host hook adapters
│       ├── agents.py        # Native hook agent registry
│       ├── runner.py        # stdin/stdout lifecycle runner
│       ├── codex.py         # Shared payload and transcript parsing
│       ├── state_store.py   # Cross-process turn state
│       └── installer.py     # Safe hook config merge/uninstall
├── skills/
│   └── memos-memory/        # Memory domain skill
│       ├── SKILL.md         # Skill entry and usage protocol
│       └── references/      # Skill reference docs
│           ├── memos-add.md
│           ├── memos-chat.md
│           ├── memos-delete.md
│           ├── memos-extract.md
│           ├── memos-get.md
│           ├── memos-origin.md
│           ├── memos-search.md
│           ├── memos-uninstall.md
│           ├── memos-kb-create.md
│           ├── memos-kb-remove.md
│           ├── memos-kb-add-file.md
│           ├── memos-kb-get-file.md
│           ├── memos-kb-list-file.md
│           └── memos-kb-delete-file.md
├── pyproject.toml
├── package.json
├── bin/
│   └── memos.js            # npm launcher
├── scripts/
│   └── postinstall.js      # npm binary installer
├── npm/
│   └── README.md           # npm binary payload directory
└── README.md

Installation

End Users

npm install -g @memtensor/memos-cloud-cli@beta

The npm package downloads a prebuilt MemOS CLI binary for the current platform during installation, so end users do not need a local Python environment.

Development

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add memtensor/memos-cloud-cli
Новичок в MCP? Начните с руководства на mcpskill.org →