Skip to main content

========= Written in Korean first, then English ==========

======== 한국어 ========

cluxion-Agentplugin-AutoClearMemory

AI 에이전트(Hermes Agent, Claude Code, Codex)를 위한 기억 플러그인입니다. 사람의 기억처럼 동작하는 장기 기억을 에이전트에 부여합니다: 자주 회상하는 사실은 또렷하게 남고, 전혀 쓰지 않는 사실은 흐려져 보관됩니다. 가장 관련 있는 기억은 모델이 답하기 전에 자동으로 떠오릅니다.

설치

pip install cluxion-Agentplugin-AutoClearMemory
forgetforge init            # ~/.forgetforge 를 설정합니다 (데이터베이스 + 설정)

Hermes Agent에서 사용

~/.hermes/config.yaml 에 추가한 뒤 Hermes를 재시작하세요.

plugins:
  enabled:
    - cluxion-agentplugin-autoclearmemory

사용

에이전트가 자동으로 호출하거나, CLI로 직접 사용할 수 있습니다.

forgetforge store redis-port --content "Redis runs on port 6380" --importance 0.8
forgetforge store large-note --content-file ./memory.txt
printf '%s\n' "stdin memory" | forgetforge store stdin-note --content -
forgetforge recall redis        # 기억을 꺼내고(회상) 강화합니다
forgetforge keep redis-port     # 절대 흐려지지 않도록 기억을 고정합니다
forgetforge forget redis-port   # 기억이 흐려지도록 둡니다
forgetforge import-brief --source manual --brief-file ./brief.txt
printf '%s\n' "handoff brief" | forgetforge import-brief --source manual --brief -
forgetforge status              # 무엇이 기억되어 있는지 확인합니다

Hermes에서는 동일한 동작이 forgetforge_* 도구로 제공되며, 가장 관련 있는("hot") 기억이 매 모델 호출 전에 컨텍스트에 추가됩니다. CLI/API의 retention 값은 사용자용 정규화 값으로 항상 0.0..1.0입니다. 내부 Rust scoring 값은 프루너와 tier 판정용 0.0..10.0 스케일을 그대로 사용합니다. recall은 기본 최대 20개 결과를 반환합니다. 기본 recall은 tier가 아니라 forget_requested = 0인 기억만 검색합니다. forget으로 soft-forgotten 처리된 기억은 cold tier가 되며 기본 recall에서 제외되고, forgetforge list-forgotten 뒤 forgetforge unforget <memory_id>로 복구할 수 있습니다. 프루너가 archive한 일반 cold tier 기억은 DB에 남아 있으면 기본 recall 대상입니다.

점검

설치·Hermes 계약·DB·네이티브 백엔드 상태를 결정론적으로 자가 진단합니다. 같은 상태면 항상 같은 결과를 출력하고, 문제가 있으면 증상과 해결 단계를 그대로 알려줍니다.

forgetforge doctor          # 사람용 요약
forgetforge doctor --json   # 구조화 출력

Hermes 안에서는 forgetforge_doctor 도구로도 노출됩니다. 아직 forgetforge init을 실행하지 않은 home에서는 DB 검사가 skip이므로 doctor가 의도적으로 degraded를 보고하고 exit 1로 종료합니다.

슬래시 커맨드

/forgetforge-recall redis port
/forgetforge-status
/forgetforge-doctor

Hermes에서는 / 입력 시 🔌로 표시됩니다. Codex와 Claude Code에서는 루트 commands/ 플러그인 명령이 같은 forgetforge CLI를 호출합니다.

라이선스

Apache-2.0

============ English ==========

cluxion-Agentplugin-AutoClearMemory

A memory plugin for AI agents (Hermes Agent, Claude Code, Codex). It gives your agent a long-term memory that behaves like human memory: facts you recall often stay sharp, facts you never use fade and get archived. The most relevant memories are surfaced automatically before the model answers.

Install

pip install cluxion-Agentplugin-AutoClearMemory
forgetforge init            # sets up ~/.forgetforge (database + config)

Use with Hermes Agent

Add it to ~/.hermes/config.yaml, then restart Hermes:

plugins:
  enabled:
    - cluxion-agentplugin-autoclearmemory

Use

Your agent calls these automatically, or you can use the CLI directly:

forgetforge store redis-port --content "Redis runs on port 6380" --importance 0.8
forgetforge store large-note --content-file ./memory.txt
printf '%s\n' "stdin memory" | forgetforge store stdin-note --content -
forgetforge recall redis        # retrieve a memory (and reinforce it)
forgetforge keep redis-port     # pin a memory so it never fades
forgetforge forget redis-port   # let a memory fade away
forgetforge import-brief --source manual --brief-file ./brief.txt
printf '%s\n' "handoff brief" | forgetforge import-brief --source manual --brief -
forgetforge status              # see what's remembered

In Hermes the same actions are available as forgetforge_* tools, and your most relevant ("hot") memories are added to the context before each model call. CLI/API retention is a user-facing normalized value in 0.0..1.0. The internal Rust scoring value stays on its 0.0..10.0 scale for pruning and tier decisions. recall returns at most 20 results by default. Default recall searches memories with forget_requested = 0, not by tier. Memories soft-forgotten by forget move to cold tier and are excluded from default recall; recover them with forgetforge list-forgotten followed by forgetforge unforget <memory_id>. Pruner-archived cold-tier memories remain recallable while their DB rows remain active.

Diagnostics

A deterministic self-check of install, the Hermes contract, the database, and the native backend. The same state always prints the same result, and on any problem it shows the symptom and the exact fix steps.

forgetforge doctor          # human summary
forgetforge doctor --json   # structured output

Also exposed inside Hermes as the forgetforge_doctor tool. On a home where forgetforge init has not created the DB yet, DB checks are skip, so doctor intentionally reports degraded and exits 1.

Slash commands

/forgetforge-recall redis port
/forgetforge-status
/forgetforge-doctor

Hermes shows them in / autocomplete with 🔌. Codex and Claude Code use the root commands/ plugin commands to call the same forgetforge CLI.

License

Apache-2.0

Native backend (optional, faster)

The Rust backend is not built automatically. After install, run once:

uv pip install ./rust/forgetforge_engine --python .venv/bin/python

Without it the plugin falls back to a slower pure-Python path (doctor reports native_module_importable).

Metadata

Release files for cluxion-Agentplugin-AutoClearMemory 0.3.24

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

Source distribution (sdist)

Source distribution for cluxion-Agentplugin-AutoClearMemory 0.3.24
File Size Uploaded
cluxion_agentplugin_autoclearmemory-0.3.24.tar.gz 76.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cluxion-Agentplugin-AutoClearMemory 0.3.24
File
cluxion_agentplugin_autoclearmemory-0.3.24-py3-none-any.whl Python 3 none any Details
cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details
cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details
cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 10.12+ x86-64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64 Details

Total release size: 1.3 MB

Release files / cluxion_agentplugin_autoclearmemory-0.3.24.tar.gz

Download URL cluxion_agentplugin_autoclearmemory-0.3.24.tar.gz
Size 76.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4e2c7640bb8aa9ef0ccfb76e62f8335455300960f3e69def78f6febe74d1acd6
BLAKE2b-256 checksum
How to use checksums
4f5f7d0954172e61862fdeb24ca79cbf281c6e1acb1104bb3979521c875b04bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 6, 2026.

Transparency log

Release files / cluxion_agentplugin_autoclearmemory-0.3.24-py3-none-any.whl

Download URL cluxion_agentplugin_autoclearmemory-0.3.24-py3-none-any.whl
Size 58.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79175019b97b7fc5bee92b90405552bec7c71868c3eae3f1cb90fe1ecd25202b
BLAKE2b-256 checksum
How to use checksums
a5275392fc1bc879d1d0209700613018fa6e9ff42eae5d66c1621f857d44bf6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 6, 2026.

Transparency log

Release files / cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-win_amd64.whl

Download URL cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-win_amd64.whl
Size 191.8 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
62dccf10f7b26ec5fb357937cb03e380399e21df2643ec4c470cb3486229550d
BLAKE2b-256 checksum
How to use checksums
424005e4e8b18f640821b85226890f1bde0ef4fbaca7aa775f2e8710132f951e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 6, 2026.

Transparency log

Release files / cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 279.0 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
90085dce2b2be40cc44d7ea981ae740826e652887545a6fe46ab78eedd644f5c
BLAKE2b-256 checksum
How to use checksums
b373ad992212b24e34ed19b2615f4069d2f94a48cbc71a9d0332af7d1d9b2da7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 6, 2026.

Transparency log

Release files / cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 265.4 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
d8f7ae622f21f1f1473be1739a07493aa4e20908a4b95c1dc7d71a1c7916c1a2
BLAKE2b-256 checksum
How to use checksums
19640961d7d93677cf28eccde3498160ff12d330c5ca606c6319b826b94d79d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 6, 2026.

Transparency log

Release files / cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Download URL cluxion_agentplugin_autoclearmemory-0.3.24-cp311-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
Size 474.1 kB
Tags CPython 3.11 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1960e75c54d6ba666ca65aef4ce9c63a6502116afdb3942f555f9d4f074acf0f
BLAKE2b-256 checksum
How to use checksums
bf782e32361d63ddb6b00b3d0c8fee1da9a90cf21b5d7a81c148655690eed0b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.24 This release

6 release files

0.3.13

6 release files

0.3.12

6 release files

0.3.11

6 release files

0.3.10

6 release files

0.3.9

6 release files

0.3.8

6 release files

0.3.7

6 release files

0.3.6

6 release files

0.3.5

6 release files

0.3.4

6 release files

0.3.2

6 release files

0.3.1

6 release files

0.3.0

6 release files

0.2.0

2 release files

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