
轻量级SQLite FTS5动态内存层及谷歌反重力(AGY)MCP服务器
概览
加固分支:参见运行时设置和审计覆盖。自动提取现在需要显式配置的无工具聊天完成端点。它不再启动无限制的AGY代理。提取失败仍保留待处理的回合。模式升级在第一引擎访问时运行;所有客户端一起重启以部署。 轻量级、高性能、独立的动态认知记忆层,适用于谷歌反重力(agy)和自主代理框架。 灵感来源于 Hermes Agent 的多支柱内存架构,使用 SQLite FTS5 实现超高速本地检索(<2ms)、多语言复合子词元分解和形态词干(DE、EN、FR、IT、ES、NL、SV)、关系实体链接,以及带有平静记忆会话去反弹的自主后台队列工作者。
概述(AI 翻译)
硬化分支:参见运行时设置和审计覆盖。自动提取现在需要明确配置的无工具聊天完成终端。它不再启动无限制的AGY代理。失败的提取保留待处理的回合。模式升级在第一引擎访问时运行;所有客户端一起重启以备推广。
轻量级、高性能、独立的动态认知记忆层,用于谷歌反重力(
agy)和自主智能体框架。
灵感来自Hermes Agent的多支柱内存架构,使用SQLite FTS5实现超高速本地检索(首次访问时对URL的’:
令牌保存在浏览器 localStorage 中,因此后续的重新加载和访问无需重新输入。
4. API 请求:
传递头部 Authorization: Bearer 。
启动仪表盘
⏰ 自主背景流水线(Cron 和生命周期钩子)
要实现100%自主后台学习而无需手动干预,请配置AGY生命周期钩子和Linux Crontab:
1.全局生命周期钩子(~/.gemini/config/hooks.json)
在每个代理的转折停止处注册转录采集器:
2.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
AGY Memory Engine (v2.5.0)
Hardening branch: see runtime setup and audit coverage. Automatic extraction now requires an explicitly configured tool-free chat-completions endpoint. It no longer launches an unrestricted AGY agent. Failed extraction retains pending turns. Schema upgrades run on first engine access; restart all clients together for rollout.
Lightweight, high-performance, standalone dynamic cognitive memory layer for Google Antigravity (
agy) and autonomous agent frameworks.
Inspired by Hermes Agent’s multi-pillar memory architecture, using SQLite FTS5 for ultra-fast local retrieval (<2ms), multilingual compound sub-token decomposition & morphological stemming (DE, EN, FR, IT, ES, NL, SV), relational entity linking, and autonomous background queue workers with calm-memory session debouncing.
📑 Table of Contents
- The Big Picture: Autonomous Omni-Channel Stack
- The 4-Layer Cognitive Memory Model
- Evolution: From Pure Tokenizer to In-Process Hybrid Search
- 5-Minute Quickstart Guide for Newbies
- CLI Reference & Quick Commands
- Model Context Protocol (MCP) Server
- Seamless Integration with Antigravity Telegram Bot
- Configuration (
.env) - Real-Time Debug Web Dashboard
- Autonomous Background Pipeline (Cron & Lifecycle Hooks)
- Testing
- Release Notes
- Roadmap
- License
🧩 The Big Picture: Autonomous Omni-Channel Stack
agy-memory-engine acts as the persistent semantic backbone across all client interfaces (Telegram, Terminal CLI, Web Cockpit, IDE):
┌────────────────────────────────────────────────────────┐
│ Omni-Channel Interfaces (Telegram, CLI, Web, IDE) │
└───────────────────────────┬────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────┐
│ Global AGY Stop-Hook (hooks.json) │
│ • Enqueues turn in < 1ms to turn_queue.db │
│ • Zero latency impact on active conversations │
└─────────────────────────┬──────────────────────────┘
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
# For Claude Code:
claude mcp add memory python3 $(pwd)/agy_memory_mcp.py
# Or in your MCP config JSON (~/.gemini/antigravity-cli/mcp_config.json or Claude Desktop):
{
"mcpServers": {
"memory": {
"command": "python3",
"args": ["/path/to/agy-memory-engine/agy_memory_mcp.py"]
}
}
}