Documentation
Sweet CLI
A terminal-native AI coding agent. Reads your codebase, edits files, runs commands, and writes tests — same workflow as Claude Code at a fraction of the cost.
What is Sweet?
Sweet is a CLI tool that runs AI-powered engineering tasks directly in your terminal. You give it a goal — fix a bug, add a feature, write tests, refactor a module — and it plans and executes the work against your actual codebase.
- Reads your repo first — navigates project structure and relevant files before touching anything.
- Edits, runs, verifies — writes code, runs commands, and checks its own output.
- Interrupt anytime — hit Ctrl-C to redirect, add context, or review progress mid-run.
- Simple subscription — Pro at $20/month or Max at $200/month. Cancel anytime.
Quick start
npm install -g @sweet-cli/sweet
sweet login
sweet start "add input validation to the signup form"
Need an account? Choose a plan →
Browse the docs
Common commands
| Command | What it does |
|---|---|
sweet login | Authenticate with your billing account. |
sweet start "task" | Run a task against the current directory. |
sweet resume | Continue the most recent session. |
sweet sessions | Show all previous sessions. |
sweet start --work-for 45m "task" | Run autonomously for up to 45 minutes. |
/todos | View the agent's current task list mid-run. |
/clear | Reset conversation history. |
How billing works
Sweet uses a subscription model. Choose Pro ($20/mo) or Max ($200/mo) and usage is tracked against your monthly token budget. Every plan gives you full access from day one.
Auth is stored locally in
~/.sweet/config.json. Run sweet login any time to refresh.