Agent
The tt agent runs on your machine and helps you prepare workflows and inspect results. It uses the model provider you choose. Coding agents can also use tt through the instructions in skill.md.
Interactive shell
tt runs tools, handles approvals, and stores conversations locally. Bring your own model: save an API key for a provider once, then pick a model. For example, with OpenRouter:
tt
› /login openrouter
› /model openrouter/<model-id>Requests go directly from your machine to that provider with your key and chosen model; Tuned Tensor never sees them. /model and /login feature OpenAI and OpenRouter, and every other provider in the bundled catalog, including Anthropic, is available by its ID. To use a local model, add an OpenAI-compatible endpoint such as Ollama to ~/.tuned-tensor/agent/models.json with a placeholder apiKey.
Provider keys are stored in ~/.tuned-tensor/agent/auth.json (or $TUNED_TENSOR_HOME/agent/auth.json), readable only by you. When TUNED_TENSOR_HOME is unset, existing XDG agent state remains in use until the new agent directory exists. Workflow commands such as tt pipeline run need no provider.
Ordinary sentences go to the agent. Known commands such as runs list and doctor execute directly. Prefix a command with : to make that intent explicit.
› What happened in my latest training run?
› runs listThe model has no shell or general filesystem tool. It can prepare a validated tunedtensor.json in the current folder or a reviewed edit to it. Every write waits for your approval, and /reject discards a proposal.
Dry-run approval never authorizes real training. After a dry run completes in the conversation for the same spec bytes, the agent can propose a background run. A separate approval starts real training in the background on your hardware or your own AWS instance, as configured in the spec. Review the target and reason before approving; AWS compute costs remain your responsibility. Cancellation also requires approval. Direct CLI training remains available. See the background-run guide for approvals, status, logs and cancellation.
Use /model to inspect or change the agent model. Set the training base model separately in your spec. List providers with /model, list one provider with /model <provider>, search with /model <query>, or switch with /model <provider>/<model>. Scripts can use tt agent configure --provider <provider> --model <model> after the relevant credential is saved. Other controls: /help, /status, /context, /system, /new, /threads, /resume, /cd, /clear, /exit.
Skill for coding agents
Read the instructions for coding agents at /skill.md. It tells coding agents to install tt once and run the same local workflows.
curl https://tunedtensor.com/skill.md
curl -fsSL https://tunedtensor.com/install.sh | sh
tt init --name "Customer Support Bot" --model Qwen/Qwen3.5-2B --profile spark
# Edit tunedtensor.json, then:
tt doctor tunedtensor.json
tt pipeline run --spec tunedtensor.json
tt runs report <run-id>Working with a spec
Keep tunedtensor.json in version control. Review changes to its examples and instructions, then use the run report to decide what to change next.
See also
- Local training: GPU setup and configuration
- Install tt: command reference
- Quickstart: first local run
- tunedtensor.json: spec schema