stashDocumentation

Quickstart

Install the CLI, connect your coding agent, and start building shared knowledge in 5 minutes.

1. Install the CLI and sign in

uv tool install stashai
stash signin

stash signin opens your browser to create or sign in to your account and hands the CLI a key. A short wizard then asks three things: where to record (everywhere on this machine, or only the folders you pick), which of your coding agents to hook up — it detects Claude Code, Cursor, Codex, OpenCode, Gemini CLI, Openclaw, and Hermes — and whether to import your existing session history. Recording stays on until you run stash stop. Re-run the wizard anytime with stash setup.

On an unattended, browser-less machine (a CI runner, a headless box), use stash signin --api-key with a pre-minted key instead of the browser flow.

2. Try these commands

Use the CLI to interact with your Stash:

Push knowledge in
"Search the web for the latest research on RAG architectures and save a summary to my Stash knowledge base"
Search across everything
"Check my Stash knowledge base — what do we know about authentication patterns?"
Create a report
"Create a Stash page summarizing our key findings on database performance"

3. Build your knowledge base

Sessions stream into searchable sessions. Promote useful outputs into pages, organize them with folders, and bundle related resources into Skills to share them.

Agent names are just strings on session events that identify which agent produced them. You can use different agent names across your sessions to track which agent produced what.