Quick start

Build tny, run a first request, and learn the commands worth knowing.

Install and build

$git clone https://github.com/thehumanworks/tny && cd tny && make

A C11 compiler and make are enough. Vendored libraries (yyjson, picohttpparser) ship in the repo — nothing is downloaded at build time. The installer recipe is in Installation if you want ~/.local/bin.

$tny doctor

doctor reports OS, libc, and native HTTP provider configuration. It never needs a network key.

Run your first request

Start tny from the project you want to work on. The launch directory becomes the primary workspace:

$cd path/to/project
$tny

Type a request that names real files or commands, then press enter. The model's reply streams into the transcript. Tool calls appear as they run. Escape or ctrl-c interrupts the turn; ctrl-o optimises the draft before you submit it. Use /transcript to display the full conversation.

For scripts and CI, skip the shell:

$tny ask --json "list the public CLI"

Pick a provider

tny owns the native HTTP agent loop. Explicit configuration and remembered provider selection take precedence; an unavailable remembered gateway fails closed. Without a selection, tny detects environment-key profiles, usable ChatGPT OAuth credentials, or a Grok login. Override it:

$tny --provider openai ask "explain this repo"
$tny --provider codex

See Providers for env vars and HTTP profiles.

What tny asks before it acts

tny starts in yolo permission mode. Consenting to run an agent in a workspace is the approval. tny owns tools and permission gates for every provider.

ask and auto are explicit opt-ins on the native OpenAI-compatible loop. Listing, globbing, and reading files inside the workspace never need approval. Writes, shell, and paths outside the workspace do — when you opt in.

Switch modes with /permissions or --permission-mode. Details in Permissions.

Approve deliberately

yolo disables tny permission checks and the command sandbox for that process. Use it in a workspace you are willing to lose. Host sandboxes, if any, still apply.

Things to know

In an interactive session, type / for commands, @ for files, and $ for skills.

NeedUse
Open commandsType /
Find a fileType @
Find a skillType $
Inspect status/status
Choose a model/model
Change permissions/permissions
New session/new
One-shot from a scripttny ask --json "…"