Skip to content

Intro

Salaam is a coding agent for your terminal and editor that keeps working when you close them. A small local service owns each session: its conversation, approvals, checkpoints and results. Close the terminal, open it again tomorrow, or pick up the same session in Zed, and nothing is lost.

  • macOS or Linux. Windows is untested.
  • Node 26.7.0 and npm 11.19.0. With nvm: nvm install 26.7.0.
  • An account with a model provider, such as an Anthropic API key or a Claude, ChatGPT or Copilot subscription. Salaam works without one, but only replies offline.
Terminal window
curl -fsSL https://salaam.sh/install.sh | sh
salaam --version

The installer checks the release’s checksum before installing. salaam and sal are the same command. For npm, tarballs, upgrades and removal, see Install and upgrade.

Set an API key at a hidden prompt:

Terminal window
salaam auth set anthropic

Or sign in with a subscription through the provider’s own login:

Terminal window
salaam auth login openai-codex

Salaam ships with 41 chat providers. salaam providers list shows them, and Providers covers keys, OAuth and cloud accounts.

Terminal window
cd /path/to/your/project
salaam code

salaam code starts the service if it is not running and opens this folder’s latest session, or a new one. New sessions use Claude Sonnet when you have an Anthropic key; /model picks any other provider and model.

Salaam reads AGENTS.md (or CLAUDE.md) from the repository automatically. Run /init to have it draft one for you. See Rules.

Type a question and press Enter:

How does authentication work in src/server?

Type @ to attach a file by name. Press Ctrl+X to see every tool call and its output.

Every edit and command asks first. The approval shows the diff or the exact command; press y to approve once, s for the rest of the session, or f to deny with a reason the agent reads.

When you trust the direction, press Shift+Tab to change the mode:

Mode What runs without asking
Review Nothing. Every edit and command asks.
Accept edits Edits inside the project.
Auto Edits, and commands that stay inside the sandbox.

Commands run in an OS sandbox: they write only inside the project and have no network. See Permissions and Sandbox.

/rewind lists your turns. Pick one to put the files back as they were before it, go back in the conversation, or both. Salaam checkpoints the folder before every turn in its own shadow repository, so your .git is never touched.

/undo reverses just the last edit.

Close the terminal, or press Ctrl+D. Work that is running keeps running. Later, from the same folder:

Terminal window
salaam -c

The session picker (salaam code --resume, or Ctrl+P) lists every session, this folder’s first. To work in an editor, see Editors.

Something wrong? See Troubleshooting.