Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Reconciling memory for AI agents: a changed fact retires the old value, with history and approval.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
OPENAI_API_KEY, VAYL_DB标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"vayl": {
"command": "uvx",
"args": [
"vayl-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"VAYL_DB": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add vayl --env OPENAI_API_KEY=your-value --env VAYL_DB=your-value -- uvx vayl-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"vayl": {
"command": "uvx",
"args": [
"vayl-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"VAYL_DB": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"vayl": {
"type": "stdio",
"command": "uvx",
"args": [
"vayl-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"VAYL_DB": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
VAYL_DB env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 ac12644 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:OPENAI_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.10.0)于16天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
The reconciling memory layer for AI agents.
When a fact changes, most agent memory keeps both versions and lets the model guess which is current. Vayl replaces the old value, keeps it in history, and can hold high-stakes changes until a person approves them. It runs locally on SQLite and works with any MCP client: Claude Code, Cursor, Claude Desktop, or your own agent.
A real run with gpt-6-luna and the clinical preset. The patient is fictional. Script: assets/demo/clinical_demo.py
check_before_act blocks an action that depends on a disputed, stale or just-changed fact.pip install vayl-mcp
Add it to Claude Code:
claude mcp add vayl -e LLM_PROVIDER=openai -e OPENAI_API_KEY=sk-... -e VAYL_DB=$HOME/.vayl/vayl.db -- vayl-mcp
For Cursor, Claude Desktop and other clients, see the quickstart. Run vayl-demo to try reconciliation with no API key.
from vayl import Vayl
with Vayl(user_id="cust_5521") as m: m.remember("Acme's invoice bounced. Account suspended until payment clears.") print(m.recall("Is Acme's account in good standing?"))
Agent frameworks. Backends plug into the framework's own memory, so facts are stored and recalled on every turn. Tool adapters give the agent memory tools to call.
| Framework | Install | Use |
|---|---|---|
| Google ADK | pip install 'vayl-mcp[adk]' | from vayl.integrations.adk import VaylMemoryService (memory backend) |
| LlamaIndex | pip install 'vayl-mcp[llamaindex]' | from vayl.integrations.llamaindex import VaylMemory (memory block) |
| AutoGen | pip install 'vayl-mcp[autogen]' | from vayl.integrations.autogen import VaylMemory (memory backend) |
| LangGraph / LangChain | pip install 'vayl-mcp[langgraph]' | from vayl.integrations.langgraph import VaylMemory (tools) |
| OpenAI Agents SDK | pip install 'vayl-mcp[openai-agents]' | from vayl.integrations.openai_agents import VaylMemory (tools) |
| CrewAI | pip install 'vayl-mcp[crewai]' | from vayl.integrations.crewai import VaylMemory (tools) |
| Pydantic AI | pip install vayl-mcp 'pydantic-ai-slim[openai,mcp]' | MCPToolset over MCP, no adapter |
| Agno | pip install vayl-mcp agno openai | MCPTools over MCP, no adapter |
| Vercel AI SDK | npm i @vayl.dev/client ai zod | import { vaylTools } from "@vayl.dev/client/vercel" |
| Mastra | npm i @vayl.dev/client @mastra/core zod | import { vaylTools } from "@vayl.dev/client/mastra" |
Examples for each are in Agent frameworks.
MCP clients. Install vayl-mcp, then add it to your client: Claude Code · Cursor · VS Code · Windsurf · Zed · Cline · Continue · Codex CLI · Gemini CLI. For a shared team memory, run vayl-server and call it over MCP or REST.
| Quickstart | Install and connect a client |
| How Vayl works | Extraction, reconciliation and retrieval |
| Tutorial: a hospital medication assistant | Clinical preset, critical facts and approval |
| Tutorial: a customer-support assistant | Account state and safety checks |
| MCP tools | All 30+ tools |
| Deploying vayl-server | Team server, auth, Docker, Postgres |
| Benchmarks | Stale-value and retraction results against Mem0 and Graphiti |
See CONTRIBUTING.md. The unit tests run offline, with no API key. Good starting points are labeled good first issue.
Data is encrypted at rest by default, and Vayl sends nothing anywhere except to the model endpoints you configure. Vayl is not certified for clinical use and has not been audited by a third party. Report vulnerabilities as described in SECURITY.md.
Apache-2.0