Quickstart
Paste into Claude Code, Cursor, Windsurf, or any agent to configure memory automatically.
export SLASHML_API_KEY="$SLASHML_API_KEY"
npx -y @slashml/memory --install-hooks
export SLASHML_API_KEY="$SLASHML_API_KEY"
npx -y @slashml/memory watch-sandbox --daemon
from slashml import SlashMLClient
client = SlashMLClient(api_key="$SLASHML_API_KEY")
gate = client.intervene(tool_name="Bash", tool_input={"command": "npm i axios"})
print(gate["action"]) # "allow" (silent) or "block"
curl -X POST https://api.slashml.ai/v1/memory/intervene \
-H "Authorization: Bearer $SLASHML_API_KEY" \
-H "Content-Type: application/json" \
-d '{"hook_event_name":"PreToolUse","tool_name":"Bash","tool_input":{"command":"npm i axios"}}'
{
"mcpServers": {
"ml-memory": {
"command": "npx",
"args": ["-y", "@slashml/memory@latest", "--workspace", "."],
"env": {
"SLASHML_API_KEY": "$SLASHML_API_KEY"
}
}
}
}
Production Fleet Event Stream
Every drift block, policy check, shadow would-block, auto-mute, and learned fix stays auditable and reversible in one click.
Outcome-Graded Rules Health
Passing runs promote what helped; repeated overrides or noise auto-mute stale rules. Unmute, mute, or pin any rule inline.
| Rule | Status | Scope | Outcomes | Actions |
|---|---|---|---|---|
No rules evaluated yet. Connect hooks or call POST /v1/memory/intervene. | ||||
API Keys
Scoped to the active tenant. Revoking a key invalidates it immediately.
| Name | Key | Created | Status | Action |
|---|
Interactive Memory Playground
Tenant Vault Explorer
Migrate & Import Existing Memories
Pull stored memories directly from external providers into / ml (SlashML), upload a JSON/Markdown file, or import local IDE rules.
Automatically scan and import local coding-agent memories (~/.claude/projects/*/memory/*.md, CLAUDE.md, AGENTS.md, .cursorrules, .windsurfrules, and .cursor/rules/*.mdc) into / ml (SlashML):
# 1. Import local Claude Code, Cursor, and Windsurf memories into / ml (SlashML):
SLASHML_API_KEY="$SLASHML_API_KEY" npx -y @slashml/memory@latest import-local
# 2. Or migrate directly from an external provider into / ml (SlashML) via CLI:
SLASHML_API_KEY="$SLASHML_API_KEY" npx -y @slashml/memory@latest migrate --from mem0 --source-key "$SOURCE_API_KEY"
Workspace Default Policy
Baseline redaction and memory write permissions applied to every request in this tenant. Standard operations count as 1 credit (1 op); redaction-active calls count as 2 credits (2 ops).
Policy & Access Dry-Run Tester
Stateless preview (POST /v1/memory/redact/preview). Verify effective write permission and span redaction for any agent without mutating the vault.
Per-Agent Write Permissions & Redaction Policies
Scope memory write access (read_write vs read_only) and clearance buckets to individual agents via SLASHML_AGENT_ID or X-SlashML-Agent-Id. Read-only agents still receive recall and constraint enforcement on ambient hooks while all vault writes are suppressed.
| Agent | Write Permission | Effective Redaction Policy | Client Binding | Actions |
|---|---|---|---|---|
| No per-agent rules configured yet. All agents inherit the workspace default policy above. | ||||
/ ml free
For chat assistants, coding agents & hobby projects.
- 10,000 ingests + 1,000 retrievals / mo
- Zero feature locks · All capabilities
- Graph & Relational Memory · Included
- Code & symbol recall · Included
- 5 concurrent requests
/ ml pro
Production memory for agents & startups.
- 100,000 unified ops / mo (shared across tenants)
- Graph & Relational Memory · Included
- 80% lower LLM prompt token cost
- 50 concurrent requests · Instant writes
- Pay-as-you-go overage · $0.50 / 1k ops
/ ml platform
High-throughput multi-tenant memory infrastructure.
- 1,000,000 unified ops / mo (shared across tenants)
- 50 isolated tenant workspaces
- 250 concurrent requests · Burst lane
- Instant GDPR deletion
- Volume overage · $0.20 / 1k ops
/ ml sovereign
Dedicated appliance inside your VPC or on-prem.
- Single-container VPC deployment (Docker / K8s)
- No external LLM API bills (Self-contained)
- Up to 90% lower infra TCO
- Dedicated SLA & custom throughput
- 100% data sovereignty · Air-gapped / HIPAA
Credit metering: Standard memory writes and recalls count as 1 credit (1 op). Calls where redaction is active (POST /v1/memory/redact, active write redaction under memorize_and_recall, or active recall redaction) count as 2 credits (2 ops).
Monthly Overage Spend Cap Guard
Hard monthly USD ceiling on pay-as-you-go overages (returns HTTP 402 when reached).
Payment Methods, Bank Accounts (ACH) & Invoices
Manage cards, link US bank accounts via Stripe Financial Connections, update tax IDs, or issue a Net-30 B2B invoice.
Enterprise SSO (SAML 2.0 / OIDC)
Bind your corporate domain (e.g. acme.com) to Okta, Microsoft Entra ID, Google Workspace, or WorkOS.
Security & Control-Plane Audit Log
Zero-PII audit trail of inbox verifications, key provisioning, revocations, and tier events.