Ruby on Rails, rebuilt for agents: a Markdown framework plus skills and hooks that make Claude build full-stack Rust web apps (Axum, SeaORM, SQLite/Postgres, htmx/Inertia/React).
Rust off Rails is a web framework for AI coding agents. It ships no library you depend on: it's a set of Markdown files that tell agents how to build a full-stack Rust web app (one blessed stack, one directory layout, one way to do each thing), plus the app template those files describe, as real, tested files the agent copies instead of retyping (template/).
The convention lives in the prose; the code is copied from the template and its parts, then written by the agent for everything app-specific. Humans still write none of it.
Take only what you need
Nothing here is all-or-nothing. There is no framework code hidden under your app: what we give you is copied into it, so it's all in your repo and yours to change. (Apps still use ordinary crates like Axum and SeaORM.) Your agent gets good ideas and inspiration: the crates we'd recommend and why, and tested reference code for things we like, such as job processing, presence and authenticated webhooks, in the samples repo, with screenshots. Use the whole template, one part, or only a convention. We're still experimenting and building real apps with it, and so far it has gone better than we expected.
Standing on giants
We take the best ideas of two great ecosystems and bring them together in one stack.
From Ruby on Rails:
convention over configuration;
generators (new, scaffold), Active Record-style models and migrations;
Rails 8 authentication;
the Solid trifecta: jobs, cache and pub/sub in the database, no Redis;
Turbo 8-style page-refresh broadcasts;
mailer previews, bin/rails tasks, and Kamal-ready Docker with /up.
From Elixir and Phoenix:
Oban persistent jobs and the Oban Web dashboard;
Swoosh's local mailbox;
phx.gen.auth magic links and the "check your mailbox" hint;
LiveDashboard-style dev tools;
Channels, Presence and PubSub;
multi-node clustering and "let it crash" supervision;
Ecto's explicit data layer (no callbacks);
the pending-migrations page.
And also: htmx, Inertia.js, Tailwind, shadcn-style owned components, and end-to-end types from Rust to TypeScript.
~50 Markdown files and an app template the agent copies and owns
rails generate scaffold
generators/scaffold.md: a recipe the agent runs
Convention over configuration
Convention over deliberation: the agent never debates which crate to use
"Optimized for programmer happiness"
Optimized for agent correctness: compiler-checked everything
Magic
No magic. Explicit code is cheap when you don't type it.
Rules of the framework
All code is written by AI. No exceptions. Humans write intent: specs in Markdown, interview answers and feedback. Agents write every line of Rust, SQL, HTML, CSS, TypeScript, config and scripts. If a human edits code anyway, the agent treats the edit as a spec change, records it, and owns that code from then on.
Strong opinions, aimed at agents. Every decision an agent would otherwise improvise (crate choice, file location, naming, error handling, testing) is already made in these docs.
Everything Rails has, mapped. Active Record, Action Controller, Action View, Active Job, Action Mailer, Action Cable, Active Storage, Solid Cache/Queue/Cable, generators, bin/rails, credentials, Kamal. See RAILS_MAP.md.
Using it
Install (one line)
curl -fsSL https://rustoffrails.org/install.sh | sh
It checks for Rust (and offers rustup), installs the cargo tools the framework uses as prebuilt binaries, downloads and SHA-256-verifies the framework into ~/.offrails/, installs the Claude Code plugin if claude is on your PATH, and adds an offrails command. No sudo, no telemetry, and it's safe to re-run. Add --dry-run to see the plan first. INSTALL.md explains every step, with a manual equivalent.