Skip to content
KurrentDB

Store your first session, and bring in the old ones

Nothing special is needed. Once setup has finished, the hooks fire on their own

In a repository, start the agent you normally use and give it anything to do:

Terminal window
cd ~/code/my-repo
claude # or codex, gemini, cursor-agent, copilot, kiro-cli, opencode, pi, agy, muse, grok, vibe

One thing to know per agent: Codex asks you to trust the kcap hooks the first time it starts after setup; accept once. Agents that were already running need a restart. The rest is in Your coding agents

In the web app. Open your workspace and choose Sessions. Within a few seconds a card appears with your repository, your avatar and a live status, and the title updates once the agent has started work. Open it: the transcript fills in turn by turn, and tool calls expand to show what ran and what came back

The Sessions list, newest first, with each session's agent, repository and evaluation scoreThe Sessions list, newest first, with each session's agent, repository and evaluation score
Your sessions appear in Sessions, newest first

In the desktop app. The rail on the left lists your sessions; choose Mine and Live to see only the ones running now, each with a status dot. Select one to read its transcript as it fills in

The desktop app with the rail on the left and a working chat tab
The rail on the left, a session on the right

From the terminal. List the sessions that are running now:

Terminal window
kcap sessions --active

When you end the session the card changes to ended and, a little later, gains an outcome: a short account of what was done and what was left. Titles and outcomes are written by AI; on the local edition that is your own provider key or agent

The guided tour is a set of seven questions you ask your agent about your own work. kcap setup in the terminal ends by suggesting it, and a new user’s agent may offer it at the start of a session; the desktop app and the browser setup pages do not mention it. Start it in any agent where kcap is set up:

Start kcap guided tour

Take the tour lists the questions

Here are some troubleshooting steps to try, in order

  1. Run kcap status and check three things: the server line names your workspace and says it is reachable, the auth line names you, and the line for the agent you used says it is wired. If the agent’s line shows an install command instead, run it. The last page of the desktop app’s setup shows the same per agent under Connected agents, and warns when your login shell cannot find kcap; the browser’s last setup page shows what each agent captures
  2. Was the agent already running when you ran setup? Restart it
  3. Is it Codex? Accept the trust prompt, or trust the kcap hooks under Settings → Hooks in the Codex app
  4. Is the folder excluded, or outside your allow list? kcap ignore --list and kcap allow --list
  5. Is your default visibility private and are you signed into the web app as someone else? The session is there; only you can see it

For more troubleshooting steps, see My session doesn’t appear

Your agents have been writing transcripts to disk all along. Importing them gives recall something to work with from day one

If you said yes during setup, this already happened in the background. The desktop app shows Importing history with a count at the bottom of its window until it finishes, and Reopen setup to retry if it did not; the browser’s last setup page shows the figures as they land

In the desktop app. The setup wizard’s Bring your history with you step looks for transcripts on this Mac and shows what it found, grouped by owner and repository. Customize sets each repository to Skip, Only me or Shared, How much history chooses the last 30 days, the last 90 days or everything, and Name sessions as they import titles them with your own agent and quota. The button names how many repositories are ticked, for example Import 3 repositories; the import carries on in the background after setup, and your original files stay where they are. To import later, reopen the wizard from Help and support → Set up kcap…. On the local edition each repository is simply imported or skipped, and stays on this Mac

The desktop setup wizard on its history step, listing the sessions found on this machine
The history step: what the wizard found on this Mac

In the browser. On a workspace that offers browser setup, kcap setup shows the same choices on its Import page, with Carry on to skip. The page records your choices; the CLI on your machine does the import

From the terminal. See what is there before you send anything:

Terminal window
kcap import --discover

Then choose a scope:

Terminal window
kcap import --repo . # this repository
kcap import --org acme # every repository owned by acme
kcap import --all # everything on this machine
kcap import --repo . --since 2026-06-01 --private
kcap import --repo . --codex # only one agent's sessions

Every run shows what it matched and asks before uploading. It is safe to repeat: only sessions the server does not have yet are sent. Exclusions and allow lists apply to imports exactly as they do to live sessions, --private makes the imported sessions owner-only whatever your default, and --skip-title imports without naming them

If the import matches fewer sessions than you expected, the repository was probably renamed on disk since the sessions ran; Import found fewer sessions than expected shows how to map the old path with kcap remap