使用
Linux x86_64
需要先準備
- 執行環境:
Node.js 22.13 or newer
透過 npm 安裝 openself
npm install -g openself
README 與實測不符之處
- README 寫: openself init --data-dir ~/.openself and openself doctor
實際可行: 不需初始化;`openself memory add --data-dir /tmp/osvault` 會自動建立保管庫;1.0.1 中沒有 `openself init` 與 `openself doctor` - README 寫: 1.1.0 stable, openself context --explain, openself demo --data-dir ./demo-data
實際可行: npm 最新版為 1.0.1(僅發布 0.7.0、1.0.0-rc.2、1.0.0、1.0.1);`openself context --explain` 與 `openself demo` 不存在(unknown command)
確認能用
openself --version輸出應包含「1.0.1」。
先試試這個
rm -rf /tmp/osvault && openself memory add --type decision --scope project/openself --content "Use SQLite as the local source of truth" --source docs/architecture.md --tags architecture,database --data-dir /tmp/osvault && openself memory search --query "Which database did we choose?" --scope project執行 openself memory add 並指定類型、範圍與內容,儲存你的第一筆記憶。
它能做什麼
- 儲存決策、偏好與事實已測試
怎麼使用
- 新增記憶:
openself memory add --type decision --scope <scope> --content "<your text>" --source <file> --tags <tags> --data-dir <dir> - 搜尋:
openself memory search --query "<your question>" --scope <scope> --data-dir <dir> - 查看儲存庫總計:
openself memory stats --data-dir <dir>
- 新增記憶:
- 匯入文件與聊天匯出檔已測試
怎麼使用
- 匯入檔案:
openself memory import --file <file> --scope <scope> --data-dir <dir> - 搜尋匯入的記憶:
openself memory search --query "<your question>" --scope <scope> --data-dir <dir>
- 匯入檔案:
- 建立附說明且有大小限制的情境套件測試未通過
pickfit 測到哪一步
Linux x86_64
- 可以安裝
- 可以啟動
- 3 項功能中 2 項可用
- 可離線使用
macOS 和 Windows:專案說支援,但 pickfit 還沒試過。
適合用來
- 將長期決策儲存為具型別的記憶
- 依查詢與範圍搜尋已儲存的記憶
- 預覽 agent 將收到的確切情境區塊及收據
- 匯入文件及 WhatsApp 或 Telegram 聊天匯出檔
- 審查並核准 agent 提議的記憶