Installation

Clone, make, strip. Providers use HTTP directly.

From source

tny is C11. There is no bundled Node, no package registry, and no download at compile time.

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

Requirements: a C11 compiler (cc) and GNU or BSD make. Python 3 is only needed for the integration fixtures.

$make # release build → build/tny (stripped)
$make test # unit + fixture-driven integration
$make install # copy build/tny to ~/.local/bin

make install uses PREFIX=$HOME/.local by default. Add ~/.local/bin to PATH if it is not already there.

setup.sh

The same recipe as a one-liner. Read it before piping to a shell.

$curl -fsSL https://thehumanworks.github.io/tny/setup.sh | bash

CI binaries

Every pull request builds stripped artifacts on Linux x86_64 and aarch64 (glibc and musl static), Darwin arm64 (Apple Silicon / Metal — not Intel x86). Nix is an optional developer workflow, not a CI gate. Download them from the ci workflow run.

What you should see

This build's stripped binary is 1.2 MiB (1,252,408 bytes); measure your release with make size-check. Size is reported, not gated by a product ceiling. tny --version and tny ask --help should return in a couple of milliseconds.

$tny --version
$tny doctor --json

Provider dependencies

The tny binary is the harness. Host agents stay on PATH:

ProviderHost
codexnone — tny signs in itself (tny --provider codex login)
openainone — tny owns the loop

No vendor agent binary is required. tny doctor checks local configuration.