TemprTempr
Tempr CLI · Beta

Your agent, in the terminal.

The same bring-your-own-key agent you use in your IDE, now on the command line. Fire a one-shot prompt at your repo, drop into an interactive REPL, or pipe it into a script, with the same models, personas, and provider keys as Tempr Chat.

IDE, terminal & API: one accountone-shot, REPL & pipedsame provider allowlist as Chat
tempr
~ $ tempr "add input validation to PaymentRequest.cs"
● read_file PaymentRequest.cs
● edit_file PaymentRequest.cs
● run_command dotnet build
✔ validation added, build green

~ $ tempr
> @debugger why does CheckoutTests fail
█
In your shell

Everything the IDE agent does, where you already work

A real tool-calling loop, not a chat wrapper. It reads and edits files, runs commands, and semantic-searches your codebase, all from the shell.

One-shot agent turns

tempr "fix the failing test in CartService" runs a full agent turn with real tool-calling (file read/write/edit, run_command, and semantic search), then hands the terminal back to you.

A real REPL

Run tempr bare for an interactive session with persistent cross-session history, proper line editing on every OS, and tab-completion for /commands and @personas.

Pipes & headless mode

Feed it stdin and read stdout: { echo "what's failing?"; cat error.log; } | tempr works like any other Unix tool, so you can script it into builds, cron jobs, and pipelines.

Specialist personas

The same named personas as the IDE: tempr "@debugger why does this fail" scopes the prompt and tool set to a specialist. @test, @review, @security, and the rest of the lineup work too.

MCP in the terminal

tempr mcp add connects the same Model Context Protocol servers you use in the IDE, so your custom tools and data sources follow you to the shell.

Same BYOK providers

Your key, your model: the full supported-provider allowlist (OpenAI, Anthropic, Google, OpenRouter, and more) works exactly as it does in Tempr Chat.

Runs on your existing license

No separate subscription. Sign in with the license key you already use (Standard, Pro, Teams, or a seat that comes with Gateway Pro or Scale), and the CLI is another surface on the same account.

Cross-platform & resilient

Self-contained builds for Windows, macOS, and Linux, on x64 and Arm64, with no runtime to install. The agent loop runs server-side like the IDE, so a flaky connection doesn't kill a long turn.

Real sessions

See it in action

The CLI itself, and what a terminal run leaves behind in the Portal, where every agent turn is traced, costed, and searchable after the fact.

Install

Up and running in a minute

01

Install

One line, nothing needed first: the download is self-contained.

macOS and Linux
curl -fsSL https://temprhq.io/cli/install.sh | sh
Windows (PowerShell)
irm https://temprhq.io/cli/install.ps1 | iex

Or download a build directly, or use npm, Homebrew, winget, Scoop or NuGet.

02

Sign in

Authenticate once with your Tempr license key, the same one you use in the IDE:

tempr auth
03

Add a key, pick a model

Add your own key for a provider, then set a default model; override it per-prompt whenever you like:

tempr keys add
tempr config set-model <id>
04

Put it to work

One-shot a task, or open the REPL:

tempr "explain this repo"
tempr

The commands

Run tempr --help for the full command reference, or read it in the CLI docs, including the scripts, pipes & CI guide.

CommandDoes
tempr "<prompt>"One-shot agent turn with real tool-calling
temprInteractive REPL with persistent history and tab-completion
<something> | temprHeadless/piped mode: reads the prompt from stdin, prints to stdout
tempr --ask "<prompt>"Plain chat, no tools
tempr "@debugger <prompt>"Run a specialist persona
tempr configManage settings and your default model
tempr historyBrowse saved sessions
tempr mcpAdd, list, and manage MCP servers
tempr doctorCheck connectivity and diagnose your setup

Direct downloads and package managers

Self-contained builds for Windows, macOS and Linux on x64 and Arm64, with their checksums, and the one-line installs for npm, Homebrew, winget, Scoop and NuGet, are all on the downloads page.

Capabilities

Capabilities at a glance

Everything the CLI can do, and the exact invocation for each: the same agent, models, and personas as the IDE.

CapabilityHow you use it
One-shot agent turn with full tool-callingtempr "fix the failing test in CartService"
Interactive REPL: persistent history, tab-completiontempr, then /help
Headless / piped mode{ echo "review this:"; git diff; } | tempr
Plain chat, no toolstempr --ask "…"
Specialist personastempr "@debugger why does this fail"
Per-run model overridetempr -m <id> "…"
Run unattended: edits and allow-listed commands without askingtempr -y "…"
Resume a saved sessiontempr --id <SESSION_ID> "continue", or tempr -c for this folder's last one
See and undo what the last turn changed/diff, /undo in the REPL
Machine-readable event streamtempr --json "…": one event per line, then a result object
Token usage and cost per turntempr --verbose
Local cost by modeltempr usage
MCP serverstempr mcp add / tempr mcp browse / tempr mcp list
Files, whitelisted commands, semantic search, symbols, tests, diagnosticsBuilt into every agent turn
Sub-agent delegationAutomatic: the agent hands sub-tasks to personas mid-turn
Cross-platformSelf-contained builds for Windows, macOS, Linux, on x64 and Arm64

All of it on your existing Agents license, or a seat on your Gateway plan, with no separate subscription. Full command details in the command reference.

Providers

Same keys, same models

The same 42-provider allowlist as Tempr Chat: your key, your model, straight from the terminal. A few of the most popular:

OpenAIOpenAIFirst-party
AnthropicAnthropicFirst-party
Google GeminiGoogle GeminiFirst-party
DeepSeekDeepSeekFirst-party
xAIxAIFirst-party
MistralMistralFirst-party
Meta AIMeta AIFirst-party
CohereCohereFirst-party
OpenRouterOpenRouterAggregatorChat & CLI
Together AITogether AIInference
Fireworks AIFireworks AIInference
Hugging FaceHugging FaceInference

View all providers & models →

Pricing

No separate subscription

The CLI runs on your existing Agents license, with the same account, provider keys, and models you already use in the IDE. Every paid plan includes a 7-day free trial, and the CLI comes with all of them.

Standard

$15 / mo Limited-time

7-day free trial

  • Full model catalog with your own key(s) (new models unlock ~7 days after release)
  • Full chat, inline completion, and agent tools, with all built-in personas
  • One saved chat session at a time
  • Tempr CLI and the Tempr Code preview included
Teams

From $35 / seat / mo

10-seat minimum; contact us for a quote

  • Everything in Pro, for every seat
  • Centralized billing and seat management
  • Shared team personas, config, and admin controls
  • Member groups, each with its own budget and models
  • Tool Packs: the MCP tools each member, group or key may call
  • SSO (SAML/OIDC) via Okta, Azure AD, Google Workspace, and other identity providers
  • Org-managed virtual keys: pool provider keys centrally and set per-member budget, rate, and model limits

Compare every plan on the pricing page. Gateway Pro and Scale include Agents seats too: see Gateway pricing.

Questions

CLI FAQ

The questions specific to the terminal. Account, licensing, and provider questions live on the general FAQ page.

What do I need to install it?

Nothing. The Windows, macOS, and Linux builds are self-contained, so curl -fsSL https://temprhq.io/cli/install.sh | sh (or irm https://temprhq.io/cli/install.ps1 | iex on Windows) is all it takes; there's no runtime to install first. You can also download a build directly and put tempr on your PATH.

Can it actually edit files and run commands?

Yes. It drives the same tool set as the IDE: file read, write, and edit, run_command, and semantic code search. It's a real agent loop, not a chat wrapper.

Does it work in scripts and automation?

Yes. Piped mode reads the prompt from stdin and writes to stdout like any other command-line tool ({ echo "review this:"; git diff; } | tempr), and --json, -y, and TEMPR_LICENSE_KEY cover unattended runs, so you can drop it into scripts, build steps, and scheduled jobs.

Which personas can I use?

The same built-in lineup as the IDE (@debugger, @test, @review, @security, and the rest), invoked as tempr "@debugger why does this fail". Tab-completion in the REPL lists them all.

One line to install. Your keys from the first prompt.

The CLI comes with every Agents plan, and with the seats in Gateway Pro and Scale.