Memory Layer
Every user prompt, every agent reasoning step, every raw conversation transcript — captured and queryable. Zero LLM cost. Per-user privacy by default. Built into Sprintra.
| Capability | How |
|---|---|
| Every user prompt captured | Hooks Claude Code's UserPromptSubmit event |
| Every tool call captured | Hooks Claude Code's PostToolUse event |
| Session summary on Stop | Agent writes its own digest — no background LLM run |
| Raw transcript searchable | Full-text index in place over Claude Code's existing files |
| Cost per tool call | $0 — no compression service |
| Cloud storage / heavy user / year | ~6 MB (digests only; raw stays local) |
| Multi-user privacy | Per-user scope, admin-audit override |
| Cross-device handoff | Tiny digest sync through Sprintra Cloud |
What to capture, where to store it, how long to keep it.
| Tier | Stores | Retention | Sync |
|---|---|---|---|
| Cloud (Sprintra) | User prompts + session digests | 30 days (pinned: forever) | Yes (per-user scope) |
| Local (your machine) | Index over Claude Code's existing files | 90 days (configurable) | Never |
| PM artifacts | Stories, decisions, features, notes, comments | Forever | Yes (project-scoped, shared) |
The Sprintra plugin hooks Claude Code's UserPromptSubmit event. Every message you send is captured to your private timeline, fire-and-forget — never blocks your prompt from reaching Claude. Per-user attribution by default.
Every next session's briefing surfaces a “Recent asks” line for the last 3 prompts in the past 24 hours. Older prompts are searchable through the dashboard and the agent's search tools.
When a Claude Code session ends, the agent writes a structured digest before Stop fires: what was discussed, key decisions, open questions, user pushback, pending asks, links to artifacts created. Cost: zero LLM — the model is already running and writes its own summary as the final tool call. No background compression service, no extra round-trip.
By default, digests rotate after 30 days. Pin a digest to preserve a strategic discussion forever. The next session's briefing surfaces pinned digests preferentially under “Last conversation”.
Claude Code already writes the raw transcript for every session to disk. Sprintra doesn't copy those bytes — it indexes them in place. Full-text keyword search across every session you've ever had on this machine, returning results in well under 100 ms.
# One-time: scan your session history and build the index sprintra transcript reindex # List recent transcripts sprintra transcript list --since 2026-04-01 # Keyword search across every session sprintra transcript search "auth bug fix" # Open the actual transcript file (no copy made) sprintra transcript view <session-id> # Disk usage / oldest / newest / retention sprintra transcript status # Manual prune (default cutoff: 90 days) sprintra transcript prune --before 2026-01-01 --dry-run
Three developers in the same repo, same Sprintra project. Each user's prompts and digests are private to them — the others cannot read them by default. Cross-user reads require admin or owner role (audit use case). The shared artifacts — features, decisions, notes, comments, work sessions — remain visible at the project level just like today.
Raw transcripts never sync to the cloud. They stay on the machine that produced them. Cross-device “what was I doing yesterday” works through the digest (a few KB) which IS in the cloud. Need a specific transcript on another device? Run sprintra transcript share <id> --to-cloud for an explicit, single-transcript opt-in upload.
Three opt-out flags in your Sprintra config:
# ~/.sprintra/config.json
{
"capture_user_prompts": false, // disables prompt capture
"capture_session_digests": false, // disables session digests
"capture_transcript_index": false // disables local indexing
}To delete past data: purge cloud entries via the dashboard, or run sprintra transcript prune --before DATE for local.
# 1. Install the latest plugin # Inside Claude Code: /plugin marketplace add Sprintra-io/sprintra-mcp /plugin install sprintra@sprintra # 2. Install the CLI (with transcript subcommand) npm install -g @sprintra/cli@latest # 3. One-time backfill: index your existing transcripts sprintra transcript reindex # 4. Verify capture is live: open a fresh Claude Code session # and check sprintra transcript status afterward.
| Setting | Where | Default |
|---|---|---|
| Cloud retention (days) | Org settings (admin) | 30 |
| Local retention (days) | SPRINTRA_LOCAL_RETENTION_DAYS | 90 |
| Capture user prompts | ~/.sprintra/config.json | true |
| Capture session digests | ~/.sprintra/config.json | true |
| Capture transcript index | ~/.sprintra/config.json | true |
| Pin a digest (preserve indefinitely) | Dashboard or agent action | false |
Want the full story?
The architecture write-up: The Memory Layer architecture — zero LLM cost session capture. Multi-user behavior: /docs/teams.