Suvadu shell history replacement TUI preview

Suvadu
Total recall for your terminal.

[su-va-du]Noun • Trace / Footprint

Replace your shell history with a searchable SQLite database. Know exactly what your AI agents execute. Find any command by date, exit code, directory, or who ran it — in under 10ms. Built in Rust. 100% local. Zero tracking.

v0.0.2 • MIT • macOS & Linux

zsh — suv
~$ suv search

Like built-in history, but better.

Stop hitting Up arrow 50 times. Start finding what you need.

🔍

Interactive Search

Replace Ctrl+R with a powerful TUI. Filters for dates, tags, and status.

🚀

SQLite + WAL

<10ms latency. Zero lag, even with millions of records. Constant time lookups.

🧠

Context Aware

Smart mode boosts same-directory results. Arrow keys use frecency ranking. Detail pane shows full metadata.

🤖

AI Agent Tracking

Know what Claude Code, Cursor, and other AI agents execute. Auto-detected, risk-assessed.

🔒

100% Private

Local-only. Zero tracking. Export as JSONL/CSV anytime. Your data never leaves your machine.

AI Agent Tracking

Know exactly which commands were run by you and which were run by AI agents. Suvadu auto-detects Claude Code, VS Code, Cursor, Antigravity, CI/CD pipelines, and more.

🧑
Human— Direct terminal commands
🤖
AI Agent— Claude Code, Codex, Aider
💻
IDE— VS Code, Cursor, Antigravity, Windsurf
⚙️
CI/CD— GitHub Actions, Jenkins
suv — search --executor agent
Filtered: AI Agent commands only
14:22
claude
git add -A && git commit -m 'refactor'
0.8s
14:20
claude
cargo test --all
12.1s
14:18
codex
npm run build
4.2s
14:15
claude
rg 'TODO' src/
0.1s
13:58
aider
python -m pytest tests/
8.7s

Agent Dashboard & Risk Assessment

Monitor every AI agent command in real time. The agent dashboard shows a live timeline with risk levels, success rates, and per-agent breakdowns. Risk assessment automatically classifies commands — so you catch destructive operations before they cause damage.

🔴
Critical— rm -rf, DROP TABLE, force-push to main
🟠
High— chmod 777, package installs, config overwrites
🟡
Medium— git reset, docker run, env modifications
🟢
Safe— git status, ls, cargo test, grep
suv agent dashboard
Agent Dashboard
7d30d90dAll
Agents 3|Commands 847|Success 91.2%|Critical 2|High 8

Timeline

14:32claudegit push --force origin main0.3sCRITICAL
14:30claudecargo test --all12.1sSafe
14:28clauderm -rf target/debug0.1sHigh
14:25codexnpm install express4.2sHigh
14:22claudegit status0.1sSafe
EscQuit1-4PeriodaAgentrRiskTabDetail^YCopy
Stop scrolling. Start finding.

Precision Search & Filter

Don't just search text. Filter by Exit Code (find that failing build), Date Range (what did I run last Tuesday?), or Session Tag.

suv — search
Search:exit: 1
22:15
cargo
cargo build
14.2s
18:42
npm
npm run deploy
45.1s
10:05
go
go test ./...
2.4s
Filter Options (Ctrl+F)
Exit Code 1
Date Today
Retire history | grep.

Instant Search

Stop piping text. Suvadu's fast substring search with filters for date, exit code, executor, and tags puts your most relevant commands at the top.

Legacy: history | grep git
bash — history
1024 git status
1025 git commit -m "fix"
1026 git push
The Suvadu Way: Instant Search + Filters
suv — search
Just now
human
git push
1.2s
1m ago
human
git commit -m "feat: ui"
0.4s
Powered by context-aware frecency scoring

Smart Arrow Keys

Up/Down arrow keys rank commands using frecency (frequency x recency). Same-directory commands float to the top when Smart mode is on. No more cycling through 50 irrelevant commands.

zsh — smart arrows
~/projects/suvadu
$cargo testfrecency: 800
Arrow Upcargo buildsame dir, recent
Arrow Upcargo clippy -- -D warningssame dir, frequent
Arrow Upnpm installother dir
Your directory, your results.

Smart Context Search

Smart mode automatically boosts commands from your current directory higher in search results. Green-highlighted paths show local matches. Toggle with Ctrl+S.

suv — search (smart mode)
~/project $suv search cargo

Same-directory results ranked higher:

cargo test --release ~/project 0.4s

cargo build ~/project 12.3s

cargo fmt ~/other 0.1s

cargo publish ~/crate 3.2s

smart active • Ctrl+S to toggle
Know your habits.

Stats Dashboard

A dedicated interactive TUI with contribution heatmap, daily sparkline, hourly distribution, and top programs, commands, and directories — with period switching and keyboard navigation.

suv stats
Suvadu Stats
7d30d90dAll
Total 12.8kUnique 3.2kSuccess 94.1%Avg Duration 1.2s

Activity

Mon
Wed
Fri
NovDecJanFeb

Daily Trend

Hourly

09
10
11
14
16
17

Top Programs

git4.2k
cargo2.1k
npm1.8k
docker847
make623
ssh412

Top Commands

git status1.3k
cargo build847
npm test623
git diff589
git add .412
make dev387

Top Directories

~/projects/api3.1k
~/projects/web2.4k
~/dotfiles1.2k
~/scripts847
~/work/infra623
~/tmp412
EscQuit1-4PeriodTabFocuseExecutors↑↓Navigate
All the context, right next to your results

Detail Preview Pane

Press Tab in the search TUI to open a side panel showing full metadata for the selected entry: command, path, timestamp, duration, exit code, session, executor, bookmarks, and notes.

suv — search (detail pane)
Results (60%)
cargo test --release
git push origin main
docker compose up -d
npm run build
Detail
Command cargo test --release
Path ~/projects/suvadu
Time 2026-02-10 14:32:01
Duration 12.4s
Exit 0 (success)
Executor human
★ Bookmarked
What did I do last Tuesday?

Session Replay

Replay commands chronologically as a timeline. Filter by session, date, directory, or tag. Pipe it, grep it, or scroll through your workflow narrative.

zsh — replay
suv replay --after yesterday --here

── Replay: after yesterday, current dir ─────────

09:00:12 ~/project 1.2s git pull

09:00:45 ~/project 45.3s cargo build --release

09:01:31 ~/project ✗1 12.1s cargo test

09:02:33 ~/project 5m 12s vim src/main.rs

09:15:22 ~/project 0.8s cargo test

── 47 commands │ 44 passed │ 3 failed │ Avg 2.3s ──

Context matters.

Directory-Scoped Recall

Filter history to the current directory. Launch with --here or toggle mid-search with Ctrl+L. Instantly see what you ran right here.

zsh — here
~/project $suv search --here

Showing commands from ~/project only

cargo build --release

cargo test -- --nocapture

git push origin main

Ctrl+L to toggle • dir badge active
Star what matters.

Command Bookmarks

Save your go-to commands for instant recall. Toggle bookmarks in search with Ctrl+B — starred commands show a ★ indicator.

zsh — bookmarks
suv bookmark add "docker compose up -d" -l "start stack"
Bookmarked: docker compose up -d
suv bookmark list

Command Label Added

★ docker compose up -d start stack 2025-06-15

★ cargo test --release - 2025-06-14

Remember why, not just what.

Command Notes

Annotate any command with context — 'Fixed the SSL bug', 'Don't run on prod'. Notes appear inline in search results and can be added with Ctrl+N.

zsh — notes
~$suv note 42 -c "Fixed the SSL cert rotation"

Note saved for entry 42.

In search TUI:

📝 openssl s_client -connect api.example.com:443

Fixed the SSL cert rotation

Ctrl+N to add/edit notes in search
Your data. Your rules.

Export & Import

Export your entire history as JSONL or CSV. Filter by date range. Import on another machine. No lock-in, ever.

zsh — export
suv export > history.jsonl
Exported 42,817 entries.
suv export --format csv --after 2025-01-01 > recent.csv
Exported 8,204 entries.
suv import history.jsonl --dry-run
Dry run complete. 42,817 entries would be imported.
Context is everything.

Auto-Tagging Context

Suvadu automatically tags sessions based on your directory. Work commands stay in 'Work', side projects stay in 'Hobby'. No manual switching required.

zsh — tagging
Global Namespace[Work]
~/work/backend$ git status
~/work/backend$ cd ~/personal/game
~/personal/game$ cargo run
Cleaner History

Smart Deduplication

Press Up to cycle unique commands only. Suvadu intelligently hides consecutive duplicates, keeping your flow uninterrupted.

$ ls -la # 10:45 AM
$ ls -la # 10:46 AM
... 46 more lines hidden ...
Suvadu shows: ls -la (50x)
Ghost Mode.

Smart Exclusions

Define Regex patterns to ignore noise. ls, cd, pwd—keep them out of your database entirely.

suv — settings
Ignore Patterns (Regex)
^ls$Active
^pwd$Active
Test Pattern
lsIGNORED
Rewrite history.

Bulk Delete & Cleanup

Accidentally pasted a secret? Ran ls 50 times? Delete individual entries or bulk-wipe patterns instantly.

suv — edit
12:05
human
ls -la
0.1s
12:04
human
export API_KEY=sk_test_...
0.0s
12:03
human
make build
5.2s
Entry deleted.

The Power of Structure.

Text files were fine in 1990. Your workflow deserves a database.

FeatureStandard HistorySuvadu 👣
Search Logic🔸Linear Scan (Slow at 50k+ lines)Indexed Search (<10ms at 1M+ lines)
Context AwarenessTimestamp onlyDuration, Exit Code, CWD, Session ID
Origin TrackingUnknownAuto-Detects (VS Code, CI/CD, Bots)
Smart RankingMost recent onlyContext-aware: boosts same-directory results (^S toggle)
Arrow Key Intelligence🔸Pure recency (most recent first)Frecency ranking: frequency × recency with CWD boost
Filteringgrep / regex (Manual)UI Filters (Date, Status, Directory)
Storage Engine🔸Plain Text File (.zsh_history)SQLite + WAL (Structured DB)
Usage Analyticswc -l ~/.zsh_historysuv stats — trends, success rate, hourly activity
Session ReplayScroll through terminal outputsuv replay — chronological timeline with filters
Privacy🔸Manual file editingIgnore Patterns (Regex) + Toggle

Ready to upgrade?

Install Suvadu in seconds and start building a better command history today.

zsh — brew
# 1. Tap & Install
brew update && brew tap AppachiTech/suvadu && brew install suvadu
# 2. Hook into Zsh (includes Ctrl+R)
echo '\neval "$(suv init zsh)"' >> ~/.zshrc && source ~/.zshrc

Quick Reference

Everything you need, one command away.

suv searchInteractive search TUI
suv settingsOpen settings TUI
suv bookmarkManage bookmarked commands
suv noteAnnotate history entries
suv statsUsage analytics and trends
suv replaySession replay and timeline
suv deleteBulk delete history entries
suv wrapRecord commands from scripts/agents
suv exportExport history
suv importImport history from file
suv init zshGenerate shell hooks
suv init claude-codeSet up Claude Code AI capture
suv agent dashboardInteractive agent monitoring TUI
suv agent statsPer-agent analytics and risk breakdown
suv agent reportExport agent activity report

Frequently Asked Questions

Everything you need to know about Suvadu.

Ready to upgrade your terminal?

Install in 30 seconds. No account required. 100% local.

Install Now

Free. macOS & Linux. Built in Rust.