Skip to main content

CLI client for MemoryHub — centralized, governed memory for AI agents

Project description

memoryhub-cli

Command-line client for MemoryHub — centralized, governed memory for AI agents.

Install

pip install memoryhub-cli

Usage

# Authenticate to a MemoryHub instance
memoryhub login

# Search for memories
memoryhub search "deployment patterns"

# Read a specific memory
memoryhub read <memory-id>

# Write a new memory
memoryhub write "Use Podman, not Docker" --scope user --weight 0.9

# Set up project-level memory loading
memoryhub config init
memoryhub config regenerate

Project configuration

memoryhub config generates a project-local .memoryhub.yaml and a companion .claude/rules/memoryhub-loading.md rule file. Both files are meant to be committed so every contributor's agent inherits the same loading policy.

memoryhub config init is an interactive wizard that asks about session shape, loading pattern, focus source, and retrieval defaults, then writes both files at the project root. If a legacy .claude/rules/memoryhub-integration.md already exists, it is backed up to .bak before the new rule file is written.

memoryhub config regenerate re-renders the rule file from .memoryhub.yaml after you hand-edit the YAML. It reads the YAML and rewrites the Markdown rule file only; it does not modify .memoryhub.yaml.

Per-developer connection params (url, auth_url, client_id, client_secret) live separately at ~/.config/memoryhub/config.json and are managed by memoryhub login. They are not stored in .memoryhub.yaml and are not committed.

Further documentation

The CLI is one surface of the memory-hub monorepo. For deeper context:

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

memoryhub_cli-0.2.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

memoryhub_cli-0.2.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file memoryhub_cli-0.2.0.tar.gz.

File metadata

  • Download URL: memoryhub_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for memoryhub_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1239bc1fadae8898125daadc008b789f000a5b231ab846eab5abdfa7b71e711a
MD5 285d0e13df5df84f16fb7b7ce601dd2d
BLAKE2b-256 c8a964e73d41333c52527abda1ab701da44e07ba78b810c103a967767d66dbb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for memoryhub_cli-0.2.0.tar.gz:

Publisher: release.yml on redhat-ai-americas/memory-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file memoryhub_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: memoryhub_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for memoryhub_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4159d85554b3db35297f7e269aa2761c166c25176ff78a889013b13e70230ded
MD5 51e0501d8e1c3f6c8b98b2f065c2d6ed
BLAKE2b-256 2e14c5db5d9b5d095748a011df32534542cb3cdde6e8373a0b8a57803e41db12

See more details on using hashes here.

Provenance

The following attestation bundles were made for memoryhub_cli-0.2.0-py3-none-any.whl:

Publisher: release.yml on redhat-ai-americas/memory-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page