SimpleMem

(★ 3,708)

SimpleMem: Efficient Lifelong Memory for LLM Agents — Text & Multimodal

파일 탐색기

  • .dockerignore
  • .env.example
  • .gitignore
  • config.py.example
  • docker-compose.yml
  • Dockerfile
  • LICENSE
  • main.py
  • README.md
  • requirements-gpu.txt
  • requirements.txt
  • setup.py
  • SimpleMem.skill
  • simplemem_router.py
  • test_locomo10.py

# 설치 가이드

python
사전 준비물

설치 및 실행 절차

cp .env.example .env

환경 변수 설정 파일을 복사하여 생성합니다.

pip install -e .

SimpleMem 패키지를 로컬 개발 모드로 설치합니다.

docker-compose up -d

Docker를 통해 필요한 백엔드 서비스를 백그라운드에서 실행합니다.

핵심 명령어

pip install -e .

SimpleMem 라이브러리를 로컬에서 사용 가능하도록 패키지를 설치합니다.

docker-compose up -d

컨테이너 기반 서비스를 백그라운드로 시작합니다.

.env 파일에 API 키를 설정한 후 사용하세요.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

릴리즈 타임라인

활발히 관리 중

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

Bob

설명 보기 ▼

Neovim 버전을 관리하고 전환.
더 많은 정보: <https://github.com/MordechaiHadad/bob#-usage>.

bob use {{nightly|stable|latest|version_string|commit_hash}}

지정된 버전의 Neovim을 설치하고 전환:

bob list

Neovim의 설치 및 현재 사용되는 버전을 출력:

bob uninstall {{nightly|stable|latest|version_string|commit_hash}}

특정 버전의 Neovim을 제거:

🔍

docker compose down

설명 보기 ▼

Stop and remove containers, networks, images, and volumes created by `docker compose up`.

docker compose down

Stop and remove all containers and networks:

docker compose down --rmi all

Stop and remove containers, networks, and all images used by services:

docker compose down --rmi local

Stop and remove containers, networks, and only images without a custom tag:

🔍

docker compose logs

설명 보기 ▼

View output from containers in a Docker Compose application.

docker compose logs

View logs for all services:

docker compose logs {{service_name}}

View logs for a specific service:

docker compose logs {{[-f|--follow]}}

View logs and follow new output (like `tail --follow`):

🔍

docker compose up

설명 보기 ▼

Start and run Docker services defined in a Compose file.

docker compose up

Start all services defined in the docker-compose file:

docker compose up {{[-d|--detach]}}

Start services in the background (detached mode):

docker compose up --build

Start services and rebuild images before starting:

🔍

docker compose

설명 보기 ▼

Run and manage multi container Docker applications.

docker compose ps

List all running containers:

docker compose up {{[-d|--detach]}}

Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

docker compose up --build

Start all containers, rebuild if necessary:

🔍

git clone

설명 보기 ▼

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:

🔍

pip install

설명 보기 ▼

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

설명 보기 ▼

Python 언어 인터프리터.
더 많은 정보: <https://docs.python.org/using/cmdline.html>.

python

REPL(대화형 셸) 시작:

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

특정 Python 파일 실행:

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

특정 Python 파일 실행 후 REPL 시작:

// repository documentation