Comparison

Atuin vs SpecStory

SpecStory and Atuin both capture your AI coding agent sessions so prompts, tool calls, and decisions do not disappear when a tab closes. SpecStory writes chats as markdown files under .specstory/history/ in each repository, with extensions for Cursor IDE and VS Code Copilot plus optional SpecStory Cloud. Atuin records 12 terminal agents and your shell history into an indexed local SQLite database with no caps, syncs end-to-end encrypted across machines, resumes or hands off sessions between agents for free, and exposes everything over MCP.

install.sh
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
SpecStory — markdown in your repo
my-project/.specstory/history/
2026-11-28_migration-debug.md
2026-11-29_auth-refactor.md
Git-friendly markdown · server-readable Cloud
Atuin Threads — SQLite + E2E sync
$ atuin resume 5d02b9f4 --in codex
atuin: restored from encrypted sync · 12 agents
→ codex resume 8c1a069c-...
Zero repo files · MIT · MCP search included
Atuin vs SpecStory
AtuinSpecStory
Built for Terminal coding agents & shell history: indexed SQLite, E2E sync, resume and MCP IDE & CLI chat capture: markdown transcripts in your repo and SpecStory Cloud
Where sessions live ✓Local SQLite database outside your repos; no working-tree clutter Markdown files in .specstory/history/ inside each project folder
Agents & IDEs covered ✓12 terminal agents: Claude Code, Codex, opencode, Copilot CLI, Antigravity, Grok Build, Hermes, Kiro, Pi, oh-my-pi, Mistral Vibe and Amp ✓Cursor IDE, VS Code Copilot (25,597+ Marketplace installs), Claude Code, Codex, opencode, Copilot CLI, Antigravity, Gemini CLI, Droid, Pi, Grok Build and more
Search ✓Instant local SQLite full-text search with repo, branch, model and agent filters ✓Local markdown files + SpecStory Cloud search across projects
Cross-machine sync ✓Opt-in, end-to-end encrypted before upload; free personal Atuin Cloud or self-hosted ✓Opt-in SpecStory Cloud (server-readable to power search and analytics); no self-hosted server
Cross-agent resume ✓Free in the MIT CLI (atuin resume --in); maps tool calls across agents ✓Resume anywhere (listed as a Pro feature on the VS Code Marketplace)
Survives 30-day Claude cleanup ✓Yes; rewrites deleted transcripts back to disk before opening Claude Code ✓Yes; saved markdown persists in .specstory/history/
MCP history search ✓Built-in local MCP server (atuin mcp) over threads, shell history and command output —Agent Skills & Cloud API (1,000 REST / 500 GraphQL req/hr)
Shell history ✓Every command with exit code, directory, duration, host and author —No
IDE chat panels (Cursor / VS Code) —Terminal agents only ✓First-class Cursor IDE and VS Code Copilot extensions
Team sharing & analytics ✓Atuin Hub (beta): share threads by link or org, searchable on the web or over MCP ✓SpecStory Cloud sharing and token/cost Ledger analytics
Limits & pricing ✓$0 / MIT: no session cap (~64 KiB clip per large tool payload), free offline and free personal sync ✓Free CLI, extensions and Cloud tier; Pro for Resume anywhere and paid Cloud features

SpecStory details verified as of late 2026 from the VS Code Marketplace, specstoryai/getspecstory, and SpecStory API docs.

A database you can resume from, not markdown in every repo

Writing transcripts into .specstory/history/ is handy when you want to commit conversations alongside code. When you work across dozens of repos and multiple machines, an indexed database outside your git trees is cleaner to live with, faster to search, and easier to keep private.

Prefer your own infra? Atuin's sync server is MIT open source: self-host it.

Where Atuin differs
  1. 01

    End-to-end encrypted and self-hostable

    Personal Threads sync encrypts every turn on your machine before upload, so neither Atuin Cloud nor a self-hosted server can read your prompts or code. Sync is opt-in; everything works offline by default.

  2. 02

    Free cross-agent resume and forking

    Run atuin resume on any synced machine to restore a deleted or remote session natively, fork it, or continue a Claude Code session in Codex or opencode with tool calls mapped over — all included in the MIT CLI.

  3. 03

    Threads and shell history over MCP

    Atuin records your shell commands (with exit codes and directories) alongside your agent threads, and exposes both over atuin mcp so running agents can search past work without resuming an old session.

When SpecStory is the better fit

If most of your AI coding happens inside Cursor IDE or VS Code Copilot chat panels — or if your team specifically wants plain markdown files under .specstory/history/ committed into git alongside pull requests — SpecStory is built for that workflow. Atuin focuses on terminal coding agents rather than IDE chat extensions, and you can also see how both fit into the wider landscape in our 2026 guide to AI coding agent session tools.

Try Atuin Threads

Install Atuin (18.24+), run atuin setup to turn on Threads capture, MCP, and optional sync, then import existing sessions.

  1. 01 Install Atuin

    The installer runs atuin setup, which walks you through turning on Threads capture, MCP, and optional sync.

    install.sh
    curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
  2. 02 Already installed? Run setup

    Enable Threads capture, optional E2E-encrypted sync, and MCP for your installed agents.

    sh
    atuin setup
  3. 03 Import existing sessions

    Bring existing local sessions into Atuin's SQLite index so they are searchable and resumable right away.

    sh
    atuin threads import

Want more detail? Read the resume agent sessions guide, Atuin for agents, or the Atuin Threads docs.

Frequently asked questions

FAQ
Is Atuin a good alternative to SpecStory for tracking AI coding prompts?

Yes, if you use terminal coding agents like Claude Code, Codex, opencode, Copilot CLI, or Antigravity. Instead of writing markdown files into .specstory/history/, Atuin captures sessions into an indexed local SQLite database with no caps, syncs end-to-end encrypted across machines, resumes sessions in another agent for free, and exposes history over MCP.

How do Atuin and SpecStory differ on privacy and encryption?

Both work locally by default. When you turn on sync, Atuin encrypts personal Threads client-side before upload so the hosted or self-hosted server stores ciphertext it cannot read. SpecStory Cloud indexes your sessions on its servers to power cloud search and analytics, and does not offer a self-hosted sync server.

Does Atuin charge for cross-agent resume?

No. Cross-machine restore, session forking, and continuing a session in another agent (atuin resume --in codex, etc.) are included in Atuin's MIT-licensed CLI for free. On the VS Code Marketplace, SpecStory lists cross-agent "Resume anywhere" as a Pro feature.

Does Atuin capture Cursor IDE or VS Code Copilot chats like SpecStory?

No. Atuin Threads captures 12 terminal coding agents (Claude Code, Codex, opencode, GitHub Copilot CLI, Antigravity, Grok Build, Hermes Agent, Kiro, Pi, oh-my-pi, Mistral Vibe, and Amp) plus your shell history. If you want IDE chat capture inside Cursor IDE or VS Code Copilot, SpecStory is the better fit for those panels. See the per-agent matrix for details.

Can I use Atuin and SpecStory together?

Yes. Atuin reads native agent transcripts and shell hooks into its own SQLite database without touching .specstory/history/, so running SpecStory in an IDE alongside Atuin in your terminal does not conflict.