Local agent memory in a single binary with provenance tracking, session handoffs, decision records and semantic search, no API keys.
Setup
Choose your client, copy the config, then fill in any required environment variables.
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>"
}
}
}
}Environment variables
VAULT_PATH
Replace the placeholders with your own credentials and keep them out of version control.