What is open-spaces on GitHub?
It is a free, MIT-licensed project by Anil Matcha that describes itself as an open source alternative to ChatGPT Space. It offers Spaces, pages and conversations, and it isn't affiliated with OpenAI.
Grain / Compare / Grain vs open-spaces
Comparison
open-spaces is the better choice when you want MIT-licensed code you can open, change and run on your own machine today, and you accept the limits its README states. The Grain workspace is the better fit when an agent you already use should publish pages and apps at a shareable URL for other people. Grain is open source under AGPL-3.0, but its repository isn't public yet (GitHub · coming soon), so on "you can read and run the code today", open-spaces wins.
open-spaces (the README calls it OpenSpaces) is an independent project by Anil Matcha that copies the shape of ChatGPT Space: Spaces, pages and conversations, with a rich-text editor and inline AI. It isn't affiliated with OpenAI. You run a Next.js web app and a FastAPI server yourself and bring a database and a MuAPI key. It is young: on 2026-11-24 GitHub showed 5 stars, 0 forks, a repository created on 2026-10-29 and 7 commits. Third-party directories list higher star counts, so check the repository itself. The Grain workspace solves a different problem. Your agent writes files, and Grain publishes them with public, password or restricted links and, for apps, a SQLite database (data.db). Choose open-spaces to study or extend a Space-like editor. Choose Grain to put agent-made work in front of other people.
| Dimension | open-spaces | Grain |
|---|---|---|
| Audience | Developers who want a Space-like codebase to run locally, study or build on | Developers and small teams whose agents build pages, reports and apps that others need to open |
| Job | Give one person or a trusted setup a workspace of pages, chat and AI writing tools | Keep agent-made artifacts at a URL as files, with data, sharing and comments |
| Control | MIT; the code is available today and runs where you put it | Open source under AGPL-3.0 (GitHub · coming soon); the code isn't available to run today; you choose the agent |
| Friction | Install Node.js and Python 3.10 or newer, set a MuAPI key and a database URL, then start two processes | Download the desktop app and run grain init --template html, or connect the hosted MCP server from your AI tool |
| Economics | The software is free; hosting, the database and AI provider usage can cost money, and no free model inference is included | Free to start: static pages and their share links use no sandbox minutes; Grain sells no model usage; paid builder and viewer seats come with monthly sandbox minutes |
| Dimension | open-spaces | Grain |
|---|---|---|
| Pricing | No price; you pay your own hosting, database and MuAPI usage | Free to start; paid builder and viewer seats with monthly sandbox minutes, plus minute packs |
| Free tier | All of the software is free under MIT; no hosted service is documented | Static pages and their share links are free and use no sandbox minutes; organizations without a subscription get free sandbox minutes every month; no card required |
| Bring your own agent | No. Chat and inline AI use a configured MuAPI model, the repository doesn't mention MCP, and the README says agent execution isn't a complete production workflow | Yes. Claude Code, Codex, Cursor and any MCP client, including Claude and ChatGPT through the hosted MCP server |
| Persistence after the session | Pages stay in the database you run, for as long as your server is up; without a database URL there is an in-memory development fallback | Published artifacts stay published after the agent session and after a user stops paying |
| Sharing | No public, password or restricted link is documented, and the README says not to expose it as a multi-user service until authentication is enforced | Public, password-protected or restricted links (signed-in organization members and invited guests); signed-in organization members comment, and you send comments to your agent from the desktop app |
| Database | A PostgreSQL-compatible database you configure, including Supabase | Apps keep data in a SQLite database (data.db) in the workspace and run longer work as a bounded job started on request |
| Custom domain | Up to you, since you run the app; the README doesn't cover it | Share links are https://<slug>.share.rungrain.com |
| Export | The API has no export route as of 2026-11-05; the database is yours, so you can query it directly | Artifacts are files: grain pull, grain checkpoint and grain restore |
| Platform | A web app and an API you start from source; the repository has no Docker file as of 2026-11-05 | Desktop app for macOS, Windows and Linux, CLI, and a hosted MCP server |
| Source code and hosting | MIT, public on GitHub today, and meant to run on infrastructure you control | Open source under AGPL-3.0 (GitHub · coming soon); run the desktop app with local workspaces, or use hosted cloud workspaces on E2B |
data.db) and bounded jobs you or the agent start (grain job start, up to one hour, with status and cancel).grain init --template html for a site or report, or grain init for an app. Either writes .mcp.json, or updates .codex/config.toml or .cursor/mcp.json if the project already has them.data.db).grain push, grain checkpoint -m "import from open-spaces" and grain share --public, or --password <pw> for a private link. Conversations, page revisions and comments stay in your open-spaces database.grain pull, then paste the text into new pages. Apps, SQLite data, share links, comments and view history don't carry over, because open-spaces holds pages rather than running apps.It is a free, MIT-licensed project by Anil Matcha that describes itself as an open source alternative to ChatGPT Space. It offers Spaces, pages and conversations, and it isn't affiliated with OpenAI.
Run it privately. Its README says the code doesn't yet enforce authentication and per-Space authorization consistently, and says not to expose it as a multi-user service or use it with sensitive data until that is implemented and reviewed.
GitHub showed 5 stars and 0 forks on 2026-11-24. Some third-party directories list higher numbers, so read the count on the repository itself.
No. Grain is open source under AGPL-3.0, but the repository isn't public yet (GitHub · coming soon). If you need the code today, open-spaces has it.
The repository doesn't mention MCP or those agents as of 2026-11-05. AI features use a configured MuAPI model. The Grain workspace works with Claude Code, Codex, Cursor and any MCP client.
Download Grain for macOS, Windows or Linux, or connect the hosted MCP server from the AI tool you already use.
Download GrainFree forever. No card. Bring your own agent.
See also: ChatGPT Space alternatives · Grain vs ChatGPT Space