Getting started

Install loop, sign in to a model provider, and run your first session.

Install it, give it a model, and start talking to it. Two commands and about a minute.

Install

macOS, Linux, or WSL:

curl -fsSL https://raw.githubusercontent.com/notshekhar/loop/main/install.sh | bash

Windows PowerShell:

irm https://raw.githubusercontent.com/notshekhar/loop/main/install.ps1 | iex

These drop a prebuilt binary — no Node, no build step. Full details, other platforms, and updating are in Installing.

Sign in

loop has no models of its own. It runs whatever you point it at: a subscription you already pay for, an API key, or a model running locally on your machine.

loop login

That opens a provider picker. The three cheapest ways to start:

Otherwise paste an API key. Signing in has the console URL for every provider and what each key is called.

Run it

cd ~/code/your-project
loop

That's the TUI. Type what you want in plain English; loop reads files, edits them, runs commands, and shows you diffs as it goes.

loop run "explain what this repo does"

That's one-shot mode — a single prompt, printed to stdout, no UI. Good for scripts and CI.

The first five minutes

Do thisWhat happens
/helpEvery slash command, searchable
/modelSwitch model — any provider you're signed in to
/initloop reads the repo and writes an AGENTS.md so it knows your conventions
Tab on an empty promptCycle agents: default → plan (read-only) → data-analyst
EscInterrupt the turn in progress
/treeNavigate the session as a tree and branch from any earlier message

Messages typed while the agent is working are queued and run when the turn ends — you don't have to wait for a prompt.

Where to go next

What loop actually is

An open-source terminal coding agent. One TUI in front of 15+ model providers, with a few things that aren't standard: