MemPrivacy

(★ 123)

MemPrivacy is a privacy-preserving personalized memory management framework for edge-cloud agents.

File Explorer

  • .gitignore
  • README.md
  • requirements.txt

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

complete

View Details ▼

Get and set argument autocompletion rules of shell commands in Bash.
The specified completions will be invoked when `<Tab>` is pressed in Bash.
See also: `compgen`, `compopt`.

complete -F {{function}} {{command}}

Set arguments of a command to autocomplete through a function (completion response is sent in `$COMPREPLY` variable):

complete -C {{autocomplete_command}} {{command}}

Set arguments of a command to autocomplete through another command (`$1` is the command, `$2` is the argument the cursor is on, and `$3` is the argument preceding the cursor):

complete -b {{command}}

Set arguments of a command to autocomplete to shell builtins:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

llm

View Details ▼

Interact with Large Language Models (LLMs) via remote APIs and models that can be installed and run on your machine.

llm keys set openai

Set up an OpenAI API Key:

llm "{{Ten fun names for a pet pelican}}"

Run a prompt:

cat {{path/to/file.py}} | llm {{[-s|--system]}} "{{Explain this code}}"

Run a system prompt against a file:

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

// repository documentation