Skip to main content

nmem-cli

A lightweight, single-binary CLI for Nowledge Mem - AI memory management that works with any AI agent.

Now a compiled binary. As of the 0.10.0 line, nmem-cli ships the Rust-built nmem binary instead of a Python module. pip install nmem-cli downloads a platform wheel that contains the compiled CLI and puts nmem on your PATH. There is no Python runtime requirement beyond pip itself, and no Python dependencies are installed. The command surface and behavior are unchanged.

Installation

pip install nmem-cli

Or with uv:

uv tool install nmem-cli   # or: uv pip install nmem-cli

The wheel bundles the compiled nmem binary for your platform (macOS arm64/x86_64, Linux x86_64/aarch64, Windows x64). No separate toolchain or interpreter is needed.

If you use the Nowledge Mem desktop app, the nmem CLI is already bundled and can be installed from Settings → Developer Tools → Install CLI (macOS), or automatically on Linux/Windows.

Requirements

  • Most commands require a running Nowledge Mem backend (default: http://127.0.0.1:14242), local or remote. Plugin inspection is local-only and does not require the backend.

Quick Start

# Check server status
nmem status

# Launch interactive TUI
nmem tui

# List memories
nmem m

# Search memories
nmem m search "python programming"

# List threads
nmem t

# Show version
nmem --version

See the full command reference and JSON/agent usage at mem.nowledge.co/docs.

Cloud Agent messaging (internal pilot)

An admitted Cloud Agent can use nmem mailbox cloud --space-id '<exact-id>' to inspect its identity (context), explicitly register its mailbox (register), find authorized recipient cards (recipients), send or reply (send), and read its own mail (summary, inbox, show). Use the pilot operator's qualified HTTPS destination and your own standard Agent key. This is an identity mailbox; it does not create or impersonate a harness session.

Registration and sends require a stable --request-id. Keep the ID and all original arguments before calling; an uncertain result must not become a new send with a new ID. Sending requires the exact chosen --recipient handle and --revision. After show, use reply-target --actor-id '<your-actor-id>' '<message-id>' to obtain the original sender's current card; send with that unchanged card and --reply-to '<message-id>'. If the sender is unavailable, do not substitute another identity. After an uncertain reply, preserve and retry the original send, including its first card; do not resolve a fresh selection. A receipt means mailbox acceptance, not that another model read it or completed the task. Passive reads do not acknowledge delivery. Ordinary OAuth knowledge connections are not admitted.

The containing Cloud APIs must be deployed and qualified before this client is published. See the internal Bridge guide for the candidate workflow and remaining recovery limitations.

For agent integrations

Run plugin inspection in the same user profile and project environment as the agent. First discover which host adapters this version of the CLI supports:

nmem --json plugins inspect --list-hosts

The response contains schema_version, local_only, and hosts, an array of canonical id values with accepted input aliases. For example, codex-cli accepts codex. Use the canonical ID to inspect one host:

nmem --json plugins inspect --host codex-cli --cwd /path/to/project

The catalog says only that this CLI can inspect that host; it does not prove that Nowledge Mem is installed, enabled, or loaded there. Decide whether to offer setup from the inspection result's installation and recommended_action, not from catalog membership or exit status alone. Older CLI releases may not have --list-hosts; probe the command and handle an unsupported-argument error rather than assuming a minimum version before the first release carrying this feature.

Connecting to a backend

# Local (default)
nmem status

# Remote, one-off
nmem --api-url https://mem.example.com status

# Remote, persisted
nmem config client set url https://mem.example.com
nmem config client set api-key nmem_your_key

Resolution priority: --api-url > NMEM_API_URL / NMEM_API_KEY > ~/.nowledge-mem/config.json > defaults.

  • Nowledge Mem - the full application
  • This CLI is also bundled with the Nowledge Mem desktop app

Author

Nowledge Labs

License

MIT

Metadata

Release files for nmem-cli 0.10.112

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nmem-cli 0.10.112
File Actions
nmem_cli-0.10.112-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nmem_cli-0.10.112-py3-none-win_amd64.whl
nmem_cli-0.10.112-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for nmem_cli-0.10.112-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
nmem_cli-0.10.112-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for nmem_cli-0.10.112-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
nmem_cli-0.10.112-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for nmem_cli-0.10.112-py3-none-macosx_11_0_arm64.whl
nmem_cli-0.10.112-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for nmem_cli-0.10.112-py3-none-macosx_10_12_x86_64.whl

Total release size: 52.6 MB

Release files / nmem_cli-0.10.112-py3-none-win_amd64.whl

Download URL nmem_cli-0.10.112-py3-none-win_amd64.whl
Size 10.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f40da059af99a1c454c6d1c3bed0a5e1fcae6d568185ccf8b702c3d3ff309546
BLAKE2b-256 checksum
How to use checksums
75d9fcb1e3901b9e13ad7ce8e81076ea2a029f02e04e89db43bafa8b6db4b706
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / nmem_cli-0.10.112-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL nmem_cli-0.10.112-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 11.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
dd0b1a670b2a43d72c616b5b73250aa27435fd099b18ce410102c25e7aaaed4c
BLAKE2b-256 checksum
How to use checksums
e99af0ce12d2dacf5feaf8fdd511b29cfc56c5719a41470d5a06702b141e708b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / nmem_cli-0.10.112-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL nmem_cli-0.10.112-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 10.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
6eeb75a7a0ae4e975e41a5e86d04a6a63bfbdc84bb10b08e9cb3f8168f6e191d
BLAKE2b-256 checksum
How to use checksums
3fef8e5835707f9e36a2081184c49d6c7b1f861c42ebf9e6705272837e621f0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / nmem_cli-0.10.112-py3-none-macosx_11_0_arm64.whl

Download URL nmem_cli-0.10.112-py3-none-macosx_11_0_arm64.whl
Size 9.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
90cc1770c4890c4eda36fa171f62041dc88adf8396395eb9267885b8dd383b2c
BLAKE2b-256 checksum
How to use checksums
8eb9bfbfee602c903812fe7dc51900ce032aebeed65972783e1f11d14bfba803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / nmem_cli-0.10.112-py3-none-macosx_10_12_x86_64.whl

Download URL nmem_cli-0.10.112-py3-none-macosx_10_12_x86_64.whl
Size 10.5 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c381ddcac99cec18a3f40ba4fdb092708f9ce559ba17f2de164692bf6e8dea53
BLAKE2b-256 checksum
How to use checksums
b16fdcf9501988fca3abc111981af48637291d63276441548ce7251491edeefa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Security for nmem-cli 0.10.112

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for nmem_cli-0.10.112-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10.112 This release

5 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page