Open source terminal agent

Your AI coding agent.
Right in your terminal.

TARS reads your codebase, plans the change, writes the code, runs the commands, and verifies the result — streaming every step into an interactive terminal UI.

  • Gemini
  • ·OpenTUI
  • ·build / plan modes
tars — ~/projects/app
TARSNew Session
>/ for commands
gemini-3.6-flash│build6% context used
How it works

From prompt to working code.

One loop runs until the model returns a final answer with no tool calls left to make.

  1. 01

    Prompt

    You describe the task

  2. 02

    Understand

    read + bash inspect the project

  3. 03

    Plan

    The model drafts the approach

  4. 04

    Code

    edit and write apply changes

  5. 05

    Run

    bash executes the commands

  6. 06

    Verify

    Results feed back into the loop

Capabilities

Four tools. One loop.

Understand

read

Reads the files that matter.

package.json
src/app.tsx
src/theme.ts
src/styles.css

Plan

plan mode

Drafts before it touches anything.

□Add ThemeProvider
□Wire toggle
□Persist choice

Code

edit · write

Precise edits, whole files.

theme.ts
-theme: 'light'
+theme: resolved
+toggle()

Execute

bash

Runs commands, reads the output.

$npm run build
✓ compiled successfully in 1.4s
✓ 12 routes built
exit 0

Verify

agent loop

Checks its own work, then fixes it.

tests42 passed
Live session

Give TARS a task. Watch it build.

TARS terminalbuild
>
Editorsaved
auth.tssrc/auth/auth.ts
npm testidle
Install

Start in seconds.

One command installs the binary. The same command updates it later.

01Install or update TARS
$curl -fsSL https://raw.githubusercontent.com/vansh-vm04/tars/main/install.sh | sh
02Run it
$tars

On first run TARS asks for your Gemini API key.

Give TARS a task.

tarstry it
$ tars
>

Type a task and press Enter to see how to run it for real.