Kronvex
Kronvex — 面向 AI 智能体的欧盟原生内存 API
持久化、语义可搜索的内存。 三个端点。符合 GDPR 标准。数据保留在欧洲。
为什么选择 Kronvex?
每当用户与您的 AI 智能体开启新会话时,它总是从零开始。没有上下文,没有历史记录,也没有用户偏好。您最终不得不将整个对话历史注入到每个提示词中 —— 这既昂贵、缓慢,又受限于上下文窗口。
Kronvex 为您的智能体提供跨会话的持久化、语义可搜索内存。存储交互记录,按含义检索相关上下文,在每次调用 LLM 前注入即用型上下文块 —— 并且所有数据都保留在欧洲。
性能
端点 | p50 | p99 |
| <30ms | <180ms |
| <45ms | <280ms |
| <55ms | <320ms |
99.9% 正常运行时间 · 欧盟法兰克福 · 符合 GDPR 标准 · pgvector 余弦相似度 · 1536 维嵌入
快速入门
1. 获取免费 API 密钥
curl -X POST https://api.kronvex.io/auth/demo \
-H "Content-Type: application/json" \
-d '{
"name": "Alice",
"email": "alice@company.com",
"usecase": "Customer support bot with memory"
}'{
"full_key": "kv-xxxxxxxxxxxxxxxx",
"agent_id": "uuid-of-your-first-agent",
"memory_limit": 100,
"message": "Ready! Your API key and first agent are set up."
}2. 存储记忆
curl -X POST https://api.kronvex.io/api/v1/agents/{agent_id}/remember \
-H "X-API-Key: kv-xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"content": "Alice is a Premium customer since January 2023."}'3. 在每次 LLM 调用前注入上下文
curl -X POST https://api.kronvex.io/api/v1/agents/{agent_id}/inject-context \
-H "X-API-Key: kv-xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"message": "I still have that billing issue"}'{
"context_block": "[KRONVEX CONTEXT]\n- Alice is a Premium customer since Jan 2023 (similarity: 0.94)",
"memories_used": 1
}SDK
Python
pip install kronvexfrom kronvex import Kronvex
kx = Kronvex("kv-your-api-key")
agent = kx.agent("your-agent-id")
await agent.remember("User prefers concise answers")
context = await agent.inject_context("How should I format this?")Node.js / TypeScript
npm install kronveximport { Kronvex } from "kronvex";
const kx = new Kronvex("kv-your-api-key");
const agent = kx.agent("your-agent-id");
await agent.remember("User prefers concise answers");
const context = await agent.injectContext("How should I format this?");MCP (Claude Desktop)
{
"mcpServers": {
"kronvex": {
"command": "npx",
"args": ["kronvex-mcp"],
"env": { "KRONVEX_API_KEY": "kv-your-api-key" }
}
}
}→ PyPI 上的 Python SDK · npm 上的 Node SDK
工作原理
记忆通过综合置信度评分进行排名:
confidence = similarity × 0.6 + recency × 0.2 + frequency × 0.2相似度: 基于 1536 维 OpenAI 嵌入的 pgvector 余弦相似度
时效性: 具有 30 天拐点的 S 型函数
频率: 对数缩放的访问计数
自托管
# Requires Docker
cp .env.example .env
# Edit .env with your OPENAI_API_KEY and DATABASE_URL
docker-compose up --buildAPI 可在 http://localhost:8000 访问 · 文档位于 http://localhost:8000/docs
端点
方法 | 端点 | 描述 |
|
| 获取免费 API 密钥 |
|
| 创建智能体 |
|
| 列出您的智能体 |
|
| 存储记忆 |
|
| 对记忆进行语义搜索 |
|
| 获取上下文块 |
|
| 删除记忆 |
|
| 健康检查 |
完整交互式文档:api.kronvex.io/docs
定价
计划 | 价格 | 智能体 | 记忆 |
免费 | 免费 | 1 | 100 |
开发者 | €29/月 | 5 | 20,000 |
初创企业 | €99/月 | 15 | 75,000 |
商业版 | €349/月 | 50 | 500,000 |
企业版 | 定制 | 无限 | 无限 |
→ 查看完整定价
贡献
请参阅 CONTRIBUTING.md。
在巴黎构建 · kronvex.io · hello@kronvex.io
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Daftgoldens/Kronvex'
If you have feedback or need assistance with the MCP directory API, please join our Discord server