GA

generalbusiness-ai/keep

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

41 stars 质量 75 趋势 20MIT

代理的反射记忆

概览

专注的特工记忆。巧妙行动的基础。 它包含反思练习的技能指导,以及强大的语义记忆系统,支持命令行和MCP接口。完全本地化,或使用API密钥作为模型提供者,或云托管用于多代理使用。 存储任何内容——笔记、文件、网址——并保留摘要、嵌入和标签。你可以按意义、关键词和图表遍历来搜索。 内容以对话、文本、PDF、HTML、Office文档、音频或图片的形式输入;返回的是带有标签和语义邻居的摘要。音频文件自动提取元数据(艺术家、专辑、年份);图片文件自动提取EXIF(相机、日期、尺寸)。当配置媒体提供商时,可选的视觉/转录丰富功能运行;当有OCR提供商时,扫描的PDF和图片会获得背景OCR。 完整内容只有在短(~3kB,可配置)时才会被存储——其他内容都会被汇总。

概述(AI 翻译)

专注的特工记忆。巧妙行动的基础。

它包含反思练习的技能指导,以及强大的语义记忆系统,支持命令行和MCP接口。完全本地化,或使用API密钥作为模型提供者,或云托管用于多代理使用。


它的作用

存储任何内容——笔记、文件、网址——并keep总结、嵌入并标记每条笔记。你可以按意义、关键词和图遍历搜索。

内容以对话、文本、PDF、HTML、Office文档、音频或图片的形式输入;返回的是带有标签和语义邻居的摘要。音频文件自动提取元数据(艺术家、专辑、年份);图片文件自动提取EXIF(相机、日期、尺寸)。当配置媒体提供商时,可选的视觉/转录丰富功能运行;当有OCR提供商时,扫描的PDF和图片会获得背景OCR。

完整内容只有在短(~3kB,可配置)时才会被存储——其他内容都会被汇总。分块分析和摘要会生成一个聚焦的可搜索索引,引用原始文件或网址,同时不会让磁盘被重复数据填满。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

keep

Agent memory that pays attention. The foundation of skillful action.

It includes skill instructions for reflective practice, and a powerful semantic memory system with command-line and MCP interfaces. Fully local, or use API keys for model providers, or cloud-hosted for multi-agent use.

uv tool install keep-skill       # or: pip install keep-skill
keep                              # interactive first-run setup (providers + agent hooks)

# Index content
keep put https://inguz.substack.com/p/keep -t topic=practice
keep put "Rate limit is 100 req/min" -t topic=api

# Index a codebase — recursive, with daemon-driven watch for changes
keep put ./my-project/ -r --watch

# Search by meaning
keep find "what's the rate limit?"

# Track what you're working on
keep now "Debugging auth flow"

# Instructions for reflection
keep prompt reflect

What It Does

Store anything — notes, files, URLs — and keep summarizes, embeds, and tags each note. You search by meaning, by keyword, and by graph traversal.

Content goes in as conversation, text, PDF, HTML, Office documents, audio, or images; what comes back is a summary with tags and semantic neighbors. Audio files auto-extract metadata (artist, album, year); image files auto-extract EXIF (camera, date, dimensions). Optional vision/transcription enrichment runs when a media provider is configured, and scanned PDFs and images get background OCR when an OCR provider is available.

Full content is only stored if it’s short (~3kB, configurable) - everything else gets summarized. Chunked analysis and summarization produces a focused searchable index that references original files or URLs without filling your disk with duplicated data.

This is more than a vector store: selected tags become edges. A tag becomes an edge when its tagdoc declares an _inverse — for example, .tag/speaker declares _inverse: said, so speaker: Deborah on a note makes keep get Deborah show every note where Deborah spoke. Ordinary tags stay as labels; you opt into navigability per tag key. Bundled edges include speaker, author, references, cites, from/to/cc, and git_commit; you can define your own. When you retrieve any note, keep follows its edges and fires standing queries (.meta/*) — surfacing open commitments, past learnings, related files, commit history. The right things appear at the right time. See docs/EDGE-TAGS.md.

  • Summarize, embed, tag — URLs, files, and text are summarized and indexed on ingest
  • Contextual feedback — Open commitments and past learnings surface automatically
  • Search — Semantic similarity, BM25 full-text, and ranked graph traversal; scope to a folder or project
  • Tag organization — Speech acts, status, project, topic, type — structured and queryable
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add generalbusiness-ai/keep
新手?先看 mcpskill.org 教程 →