Local agent memory in a single binary with provenance tracking, session handoffs, decision records and semantic search, no API keys.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add same-stateless-agent --env VAULT_PATH='<VAULT_PATH>' -- npx -y @sgx-labs/same~/.codex/config.toml
[mcp_servers.same-stateless-agent]
command = "npx"
args = ["-y", "@sgx-labs/same"]
env = { VAULT_PATH = "<VAULT_PATH>" }
# codex mcp add same-stateless-agent --env VAULT_PATH='<VAULT_PATH>' -- npx -y @sgx-labs/same~/.cursor/mcp.json
{
"mcpServers": {
"same-stateless-agent": {
"command": "npx",
"args": [
"-y",
"@sgx-labs/same"
],
"env": {
"VAULT_PATH": "<VAULT_PATH>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"same-stateless-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sgx-labs/same"
],
"env": {
"VAULT_PATH": "<VAULT_PATH>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"same-stateless-agent": {
"command": "npx",
"args": [
"-y",
"@sgx-labs/same"
],
"env": {
"VAULT_PATH": "<VAULT_PATH>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"same-stateless-agent": {
"command": "npx",
"args": [
"-y",
"@sgx-labs/same"
],
"env": {
"VAULT_PATH": "<VAULT_PATH>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"same-stateless-agent": {
"command": "npx",
"args": [
"-y",
"@sgx-labs/same"
],
"env": {
"VAULT_PATH": "<VAULT_PATH>"
}
}
}
}需要的环境变量
VAULT_PATH
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。