Reference
Reference
The precise version. The tour teaches Tin in order; these pages are for looking things up. Their examples are compiled and run by the real compiler every time the site is built, so what you read is what the language does.
The languageEverything Tin has, on one page. Every example here is compiled and run when the docs are built.Agents and toolsWhat the compiler generates from a tool fn and an agent, and exactly what the agent loop does at run time.Model providersEvery model an agent can use: Anthropic, OpenAI and any OpenAI-compatible server, Gemini, Mistral, local Ollama and llama.cpp, and more, plus fallback and routing.Standard libraryEvery function and type available without an import, generated from the library source.Package docsAPI documentation generated by tin doc from a package's source and its /// comments. Below: the example package examples/packages/geometry.The tin commandRunning, checking, fixing and inspecting programs from the terminal.How it worksFrom source text to a WebAssembly module: the compiler pipeline, the memory layout and the runtime.