CachyCLI
Guide03 / Quick start
Guide · 03

Quick start

Open it in a project, ask for something, approve what you agree with. Everything below works the same on every platform.

Your first session

In your project folder

$ cd ~/projects/my-app
$ cachycli
  • ▪First time here? Type /provider and pick where your messages should go.
  • ▪Type what you want and press Enter.
  • ▪It reads files, runs commands and edits code — asking before anything that matters.
  • ▪Ctrl+C stops a turn. Ctrl+Q quits.
a turnTUI
A CachyCLI session with an edit, a diff and an answer

Attach files

Type @ to pick a file, @src/ to browse a folder, @src/main.rs:10-50 for a range, or @!.env for files that are normally hidden.

summarize @src/agent.rs:1-60 and suggest one improvement

For scripts and pipelines

Do something without opening the interface

Plain text, JSON, or streaming

$ cachycli -p "review the staged diff"
$ cachycli -p "list the TODOs" --output-format json | jq -r .text
$ git diff | cachycli -p "write a commit message for this"

Keep context between runs

Named sessions

$ cachycli -p "remember: the deploy key is in .env" -s nightly
$ cachycli -p "what did I tell you about the key?" -s nightly

$ cachycli -c              # continue the last session here
$ cachycli --resume nightly  # by name
$ cachycli --resume         # pick from a list

Optional, but it pays off

Give it project rules

Create an AGENTS.md in the repository and CachyCLI follows it in every session there — build commands, style, anything you keep repeating.

AGENTS.md

# Project rules

- Use pnpm, never npm.
- Run `pnpm test` before saying a change is done.
- Keep comments in English.

Next