tungsten
Watch the v0.1.3 walkthrough
See Kotlin, Dart and F# SDK generation and builds, pinned HTTP/Git inputs with offline reuse, and the bounded Rust/Axum library importer in a real terminal. The 5:18 recording uses declared local fixtures and distinguishes generated output, builds and actual calls.
Chapters, transcript and recorded commands · Release notes
tungsten is a deterministic compiler written in Rust. It reads one API description — an OpenAPI 3.0 or 3.1 document (JSON or YAML), a Swagger 2.0 document, a Postman Collection v2.1 file, a saved cURL command, an HTTP request file (.http/.rest), a HAR 1.2 capture or an endpoint manifest with JSON Schema 2020-12 models — plus two small manifests, builds one typed intermediate representation (IR), and emits TypeScript, Python, Rust, Go, Java, Kotlin, C#, F#, Dart and Ruby SDKs, a Rust command-line client, an MCP server, browser WebMCP tools and LLM-oriented docs. Documents are parsed locally; optional HTTP/Git acquisition pins the downloaded source for verified offline reuse. Every emitted client is built for an autonomous caller: failures are instructions, side effects are never duplicated, and irreversible calls need an explicit confirmation. See Supported inputs for the exact alternatives, their limits and the review each requires.
This book is the user documentation. Start with Getting started, then read:
- the manifest reference for
tungsten.ymlandagent.yml; - safety and runtime behaviour for the error envelope, retries, idempotency, previews and confirmation;
- the MCP server guide and browser WebMCP guide;
- the SDK guides for all ten languages and their runtime requirements;
- the CLI reference and the diagnostic codes;
- a case study of a real API and the
llms.txtdownloads generated for it.
The source code is at github.com/pboachie/tungsten. The compiler is licensed under AGPL-3.0-only and the runtime libraries under Apache-2.0; output generated by tungsten carries no licence from tungsten.