# scritty

> A terminal emulator that captures every AI CLI agent's conversations into one shared, searchable, local-first memory corpus served over MCP and CLI.

scritty is a terminal emulator built specifically for developers who run multiple AI CLI agents — Claude Code, OpenAI Codex CLI, GitHub Copilot CLI, Antigravity, Aider, Ollama — and need those agents to share context. It sits at the OS boundary every CLI agent must cross, captures each exchange automatically, tags it with the provider, and indexes it into a single local corpus. That corpus is then served back to agents over MCP and to the developer over the CLI, with no copy-paste and no per-vendor silos.

## What It Is

scritty is a cross-platform desktop terminal emulator (Linux, Windows, macOS) with a built-in memory substrate. Unlike AI-native terminals that capture only their own agent, scritty is agent-agnostic by construction: it identifies the running process to detect the provider, so every exchange is tagged without prompt sniffing or heuristics. The captured corpus is a hybrid vector-plus-keyword index (Reciprocal Rank Fusion, dual offline ONNX embeddings tuned for code and prose) that lives entirely on the developer's machine. Agents query it over MCP; humans query it with `Ctrl+Shift+M` inline or via `scritty memory ...` from any shell.

## How the Memory Substrate Works

The corpus is one engine reachable three ways, all sharing one `MemoryService`:

- **Terminal panel** — `Ctrl+Shift+M` opens inline cross-agent search without leaving the terminal.
- **MCP server** — `scritty serve` over stdio for local agents, or `scritty serve --http` over Streamable HTTP (the standard `/mcp` endpoint, bearer-token auth, per-tenant routing) for remote and multi-machine agents. The corpus is also exposed as MCP resources (`memory://sessions`, `memory://search`).
- **CLI** — `scritty memory ...` for scriptable access from any shell or pipeline.

The vector backend ships with a built-in embedded engine and supports swapping in qdrant, pgvector, chroma, or weaviate behind one trait, with dimension and fingerprint enforcement and atomic blue/green rev swaps.

## Ruleset and Context Assembly

Before a message reaches any agent, scritty assembles it: it folds in standing instructions from `prompt.toml`, enforcement rules, the current goal, and each vendor's own rule file (`.claude/CLAUDE.md`, `AGENTS.md`, `copilot-instructions.md`, `GEMINI.md`). Every section toggles live from the terminal with keyboard shortcuts (`Ctrl+Shift+R/E/G/K`), so a rule can be flipped off for one message and back on for the next without editing files.

## Browser Sync, Mobile PWA, and Tab Restore

The desktop terminal embeds a token-secured web server. Opening the URL in any browser on the same network produces a byte-for-byte live view of the same PTY and memory panel — not a read-only mirror, but a full bidirectional session. The same session can be installed as a desktop PWA (Chrome/Edge) or opened on a phone by scanning a pairing QR code, with auto-reconnect and a touch-adapted UI. TLS is always on, every connection is bearer-token gated, and reaching the session beyond the local network requires an explicit opt-in (e.g., Tailscale Funnel). Browser-style tab restore brings every open tab back on relaunch, each shell already in the directory it was left in.

## Team Control Plane and Enterprise Deployment

For teams, scritty adds a central control plane where every member's captures land in one org-scoped index with tenant isolation. Admin search is gated by compliance role: private sessions stay private, team-marked work is searchable across the org. The control plane includes members, billing, seats, audit log, license, SSO/SAML, and usage tabs. An Enterprise self-hosted tier runs the entire stack in the customer's own environment — air-gap friendly, full data sovereignty, BYOK, custom MSA and DPA. Pricing is metered by captured exchange-pairs (one prompt plus its reply), not per seat.

## Current Status

scritty is an active, closed-source commercial product. The GitHub repository at `scritty-org/scritty` is the public home for docs, releases, and issues; it does not contain product source code. The repository was created in June 2026 and last updated in July 2026. scritty is featured on Product Hunt. A free 14-day Personal Pilot is available for solo developers; a free Team Pilot (3+ seats, 25,000 exchange-pairs or 35 days) is available for teams.

## Features
- Agent-agnostic capture of any AI CLI (Claude Code, Codex, Copilot, Antigravity, Aider, Ollama)
- Process-level provider detection — no prompt sniffing or heuristics
- Hybrid vector + keyword search via Reciprocal Rank Fusion
- Dual offline ONNX embeddings tuned for code and prose
- Pluggable vector backend: built-in, qdrant, pgvector, chroma, weaviate
- MCP server over stdio and Streamable HTTP with bearer-token auth
- CLI access via `scritty memory ...` for scriptable pipelines
- Inline cross-agent search with Ctrl+Shift+M
- One ruleset across all agents via prompt.toml
- Reads vendor-native rule files (CLAUDE.md, AGENTS.md, copilot-instructions.md, GEMINI.md)
- Live rule toggles per message (Ctrl+Shift+R/E/G/K)
- Browser sync: same PTY live in any browser tab, bidirectional
- Mobile PWA with QR pairing, auto-reconnect, touch UI
- Browser-style tab restore on relaunch
- Opt-in at-rest encryption for transcript, keyword, and vector index
- Scoped MCP tokens pinnable to a single session
- Team control plane with per-org isolation and compliance-gated admin search
- Audit log, SSO/SAML, OIDC, BYOK for enterprise
- Enterprise self-hosted: air-gap friendly, full data sovereignty
- No per-seat pricing; metered by captured exchange-pairs

## Integrations
Claude Code, OpenAI Codex CLI, GitHub Copilot CLI, Antigravity CLI, Aider, Ollama, qdrant, pgvector, chroma, weaviate, Tailscale Funnel, Google SSO, GitHub SSO, SAML, OIDC, Stripe

## Platforms
WINDOWS, MACOS, LINUX, ANDROID, IOS, WEB, API, CLI

## Pricing
Paid

## Links
- Website: https://scritty.dev
- Documentation: https://scritty.dev
- Repository: https://github.com/scritty-org/scritty
- EveryDev.ai: https://www.everydev.ai/tools/scritty
