Does Grain include an AI agent like Replit does?
No. Grain is the place agent output gets published and kept. You bring Claude Code, Codex, Cursor or any other CLI agent on your own plan.
Grain / Compare / Grain vs Replit Agent
Comparison
Replit Agent is a hosted builder: you pay Replit for the agent, the compute and the hosting as one bundle. Grain is an artifact hub: you bring the coding agent you already pay for, and Grain gives what it builds a permanent URL, a database and people to share it with. If you want one vendor and one bill, Replit fits. If you already run Claude Code, Codex or Cursor and keep losing their output, Grain fits.
Replit bundles its own agent with hosting. The decision comes down to who owns the agent: you use Replit's agent, on Replit's credits, inside Replit's editor, while Grain publishes whatever your existing agent writes on your existing plan and keeps it published on the free tier after the session ends.
| Dimension | Replit Agent | Grain |
|---|---|---|
| Layer | Bundled coding agent, browser editor, compute and hosting | Agent-neutral artifact publishing and workspace layer |
| Audience | People who want to describe an app and get it built and hosted without setting up tools | People who already use a CLI coding agent every day and need its output to stay reachable |
| Job | Build and host an app from a prompt inside one browser tab | Give agent-built pages, apps and jobs a URL, data and an audience |
| Control | Replit's agent, models and runtime; you configure within their limits | Your agent, your model plan, your files; Grain owns only the publishing layer |
| Friction | Sign up, prompt, done; limits arrive as credit and compute caps | Install a Mac app and the CLI, run grain init, then the agent publishes |
| Economics | Subscription plus usage credits for agent work and hosting | Free for unlimited published artifacts; $65 per user per month for always-on compute, team seats and custom domains |
| Replit Agent | Grain | |
|---|---|---|
| Pricing | Starter free; Core $20 per month ($17 annual); Pro $100 per month ($95 annual); Enterprise custom | Free tier; Pro at $65 per user per month; Enterprise by contact |
| Free tier | Starter allows private publishing since May 2026 but is credit and compute limited | Unlimited published artifacts, 10 sandboxes that sleep when idle, 1 always-on workspace |
| Bring your own agent | No. Replit Agent is the only agent inside the product | Yes. Claude Code, Codex, Cursor or any MCP-capable CLI agent |
| Persistence after the session | Apps stay deployed while the account and credits allow | Published artifacts stay published on the free tier, including their database and scheduled jobs |
| Sharing | Public deployments and Replit collaboration features | Public link, password link, or invited people; readers leave comments the agent can read |
| Database | Replit-managed database offerings inside the app | Postgres in the workspace, plus scheduled jobs |
| Custom domain | Supported on deployments | CNAME on Pro |
| Export | Download or clone the repl | Everything is files; grain pull fetches them, and the core is self-hostable |
| Platform | Browser, with mobile apps | Mac app and CLI; Windows waitlist; core runs on Linux |
grain init in that folder; it creates a workspace and writes MCP config for your agent. Have your agent adapt the app to a Postgres database if it used a Replit-specific store. Run grain push, grain checkpoint -m "import from replit", then grain share --public.grain pull to fetch the artifact files, import the folder as a new repl, and point Replit's deployment at it. Scheduled jobs and comments do not carry over.No. Grain is the place agent output gets published and kept. You bring Claude Code, Codex, Cursor or any other CLI agent on your own plan.
For someone who already pays for a coding agent, usually yes: Grain's free tier includes unlimited published artifacts and Grain never charges for tokens. If you have no agent subscription, Replit's bundle may be simpler to reason about.
Yes. Clone the repl locally, run grain init, let your agent adapt any Replit-specific storage to Postgres, then push, checkpoint and share.
Both. A static artifact is served at its URL. An app artifact runs in a workspace with a Postgres database, logins and scheduled jobs. The free tier includes ten sandboxes that sleep when idle and one always-on workspace.
Free forever with your own agent. Mac app and CLI.
Free forever. No card. Bring your own agent.