TINY(1)General Commands ManualTINY(1)

All commands

tiny --help prints this too. Grouped here by what you are trying to do.

Choosing a target

Every command acts on one cluster and namespace. These flags work on all of them:

flag what
--context <name> kubeconfig context; the loudest intent — it beats a profile
-n, --namespace <ns> namespace override
-p, --profile <name> a saved target (tiny profile)
-y, --yes skip the confirmation prompt (CI)
-v, --version print the version

With no flags, the target is whatever you pinned; with profiles saved, the bare tiny start asks which fleet.

The fleet

command what
tiny the fleet screen: who runs, who needs you, live titles, CPU/MEM
tiny diff [session] what a session changed — files, lines, branch, pending bundles. Bare: the whole fleet, plus files two sessions are both editing
tiny idle-sleep <session> [30m|2h|off|default] how long it waits for a message before it sleeps; bare shows the setting
tiny pause <session> / --all scale it to zero: frees its cpu and memory, keeps the workspace and transcript
tiny rename <session> [name] give a session your own name, shown in the desktop app; no name brings back the one its agent gave the conversation
tiny resume <session> / --all bring a paused session back; a fresh pod replays the transcript
tiny rm <session>... / --all delete sessions with their workspace and transcript. Asks y/N (--all: type "delete all"); without a terminal it refuses unless -y. Warns first about bundles still in a session's outbox

Fleet-screen keys are on the fleet screen page.

Starting sessions

tiny new [task]
flag what
--name <name> session name (generated when omitted)
--repo <git URL> clone a repo into the workspace
--dir <path> ship a local folder instead — uncommitted changes and .git included, no remote needed
--image <ref> any glibc image with git; the agent injects itself into it
--agent claude|codex|gemini which agent to run
--model <name> model override (claude --model / codex -m / gemini -m)
--cpu, --memory per-session requests (memory is also the limit)
--user <uid> for images wired to a specific user (buildah: 1000)
--runtime-class <name> run under a sandboxed runtime the cluster provides, e.g. gvisor or kata, or none to skip the namespace sandbox; see images
--unconfined lift the seccomp and capability hardening — rootless buildah/podman need user namespaces; see images
--idle-sleep <duration> sleep after waiting this long for a message (30m by default, 2h, off); see sleeping
--quiet skip the follow-up hint

With no task the session boots idle and attaches you straight in.

Keeping the model key out of pods

command what
tiny gateway [on|off] move the Claude credential into the egress proxy; agent pods hold a placeholder. Needs the allow-list. Bare: on or off
tiny gateway account [list|add NAME|remove NAME] more Claude accounts the gateway switches to when one reaches its usage limit; add reads the token from standard input
tiny sandbox [on [class]|off] run every new session under gVisor (or the class named); refuses a class the cluster lacks. Per session: --runtime-class <name> or none. Bare: on or off
tiny federation print what the Claude Console needs for Workload Identity Federation: issuer, subject, audience, signing keys
tiny federation set --rule … --organization … [--service-account …] [--workspace …] sign Claude sessions in with federation; no stored credential. --remove-stored-credential deletes the old one without asking
tiny federation off back to the stored credential

Details on keeping the model key out of pods.

Running one command

tiny run [flags] [--] <command> [args...]

Runs a command once in a confined session with no agent and no credentials, streams its output, and exits with its exit code. Flags go before the command. The whole story is on tiny run.

flag what
--image <ref> the image to run in; it needs sh (default: the tiny agent image)
--repo <git URL> clone first and run inside the clone (the image needs git)
--dir <path> ship a local folder first and run inside it
--runtime-class <name> gvisor, kata or another RuntimeClass the cluster has
--cpu, --memory requests for this run
--user <uid> for images wired to a specific user
--unconfined lift the seccomp and capability hardening
--name <name> session name (generated when omitted)
--keep keep the session afterwards for tiny shell
-d, --detach start it and return at once; implies --keep
tiny handoff [--name <name>]

Moves the local Claude Code session you are in — working tree, uncommitted changes and the conversation — into the cluster. Claude Code only, since it reads that CLI's transcript. See handoff.

tiny pull <session> [directory]

The return leg: copies a session's working tree — committed work and uncommitted changes — back to this machine, by default into ./<session>.

The session's .git is never copied: the agent wrote it, and git runs code from a repository's hooks and config (core.fsmonitor, filters, includes…). The history travels as a git bundle instead and is fetched into a fresh repository here, on the session's branch, with uncommitted work showing as changes and origin set when it's an ordinary URL. Any other git repository inside the tree is left out, and the summary says so. Without git installed locally the files come back without history. Treat the files themselves as untrusted code until you've read them.

flag what
--from <path> directory inside the session to pull (default /workspace/repo)

The destination must be empty or absent; nothing local is ever overwritten. To carry the work into an existing clone, pull to a scratch directory and fetch from it: git fetch ./<session> <branch>.

Reaching into a session

command what
tiny attach <session> join its terminal (detach: ctrl-q d)
tiny shell <session> a shell on its workspace, without disturbing the agent — finished sessions too
tiny questions every decision waiting on a human, with the command that answers it. --json emits a stable array an event source can post somewhere people look; --all includes idle "waiting for input" nudges, which attaching clears
tiny show <session> [n|latest] the files a session showed you with show_user (screenshots, charts, reports). With a number or latest it copies one out of the pod and opens it; --out saves it instead, --json lists. Only images, PDFs and plain text open by themselves
tiny answer <question> <text> answer a ✳ card, and perform its action with your credentials

Talking to sessions

command what
echo "…" | tiny deliver <session> append a message to its durable inbox
tiny broadcast "…" the same message into every unfinished session's inbox

tiny deliver flags:

flag what
--ensure create the session if it does not exist
--repo <git URL> seed the workspace when --ensure creates it
--env KEY=VALUE deliver a credential as a refreshing file at /tiny-env/KEY (repeatable)
--origin <ref> record where the work came from (e.g. github:owner/repo#3) — opaque to tiny; the event source that wrote it reads it back from tiny questions --json to report a blocked session on the right thread

Both read stdin when given no argument, so any event source that can pipe text can drive a session — see messages.

Egress

command what
tiny egress the hostname allow-list the proxy enforces
tiny egress denied [--tail N] hosts agents tried to reach and were refused, most frequent first — read from the last N proxy log lines (default 2000)
tiny egress allow <host> widen the list; a leading dot matches subdomains. Live in a minute or two
tiny egress remove <host> take a host off the list; comments on other lines stay. Refused again in a minute or two

Needs the hostname allow-list add-on on.

Targets and setup

command what
tiny setup the interactive journey: pick a cluster, pick or create a namespace, name it as a profile, install the runtime, store agent credentials
tiny init install or upgrade the runtime on a cluster (its CRDs and the session account), scriptable for CI: tiny init --context X -n Y --yes. Run it after every tiny upgrade
tiny profile save <name> name the current (or --context/-n flagged) target
tiny profile list show saved profiles and the pinned default
tiny profile delete <name> forget one
tiny upgrade update the tiny binary to the latest release. The binary only: follow it with tiny init. Installed with krew, it points you to kubectl krew upgrade tiny-agents instead (krew)

tiny upgrade downloads the release for your platform, verifies it against the release's checksums.txt, and swaps it over the running binary. It refuses to install anything that is not newer than what you are running, and refuses outright if the checksum is missing or does not match. Homebrew installs are updated in place (brew's recorded version goes stale; brew upgrade tiny reconciles it).

tiny upgrade never touches a cluster. An older runtime there silently drops session fields it doesn't know (MCP servers, node placement, the runtime class), so after upgrading run tiny init against each cluster. tiny also checks: tiny new and the fleet screen warn when the cluster's runtime is older than the CLI, and a create that would lose a field is refused instead of started without it.

Plumbing

tiny export is hidden from --help because it is not a human command: the outbox courier runs it inside a GitHub Actions job to collect pending bundles. It is documented with the loop.