A whole SaaS company in a box. Your AI agents build the product.
Orgfold gives you the software a company runs on, already built and tested: accounts and sign-in, payments, customer records, support, analytics, deploys and backups. AI coding agents build your product on top, guided by rules and checked by tests.
Free and open source (MIT-0). No license fees, no lock-in.
What Orgfold replaces
- Billing
- Deploy
- CRM
- Agent rules
- Analytics
- Sign-in and SSO
- Backups
- Support desk
- AI gateway
- Secrets vault
- Marketing site
- Admin console
- Monitoring
- API and webhooks
Orgfold
Run
- Sign-in and SSO
- Billing
- CRM
- Support desk
- Admin console
Grow
- Marketing site
- Analytics
Build
- AI gateway
- API and webhooks
- Agent rules
Trust
- Deploy
- Backups
- Secrets vault
- Monitoring
pnpm check.Two ways to run Orgfold
Open source
Free. For you if you, or your agent, can run commands.
Clone it, run it on your machine or your own server, change anything, use it for client projects. Connect the services you already pay for, or run them from the box.
Get the code on GitHubManaged
We host it and set it up. For you if you'd rather not run servers.
Servers and domain, your existing services connected, updates and support. It runs the same open-source code.
Talk to us about setupEverything a software company needs, before you write a feature
Run the company
Sign-in with SSO and 2FA, organizations and roles, billing for any pricing model, a CRM, a support desk and an admin console.
Grow it
A marketing site with a blog, product analytics and funnels, in-app surveys, referral rewards and tools for social posting and search rankings.
Build it with agents
Rules in AGENTS.md, ready agent commands, and one check that tells an agent when its work is done. You review outcomes, not every line.
Trust it with customers
Each customer's data is isolated by the database itself. Audit log, secrets vault, backups with restore checks and a record of every AI call.
How it works
Get the box running
Clone it and start it on your machine, or let your coding agent run the setup. pnpm run infra puts it on your own server.
Describe a feature to your agent
AGENTS.md tells Claude Code or Codex where code goes, with step-by-step recipes for each kind of change.
Let one command decide
pnpm check runs lint, types, tests and every gate. Green means done. Red means the agent keeps going.
For developers, the commands behind these steps:
git clone https://github.com/Mihailorama/saas-agent-starterdocker compose up -d --wait postgres redis s3 temporal-ui mailpitpnpm i && pnpm db:migrate && pnpm devpnpm worker# then ask your agent, e.g. in Claude Code:/add-resource invoicespnpm checkNeeds Docker, Node 22.18+ with pnpm, uv and Rust. Full quickstart
Check the claims yourself
No customer logos or star counts here, only files you can open.
- 8 recipes
- step by step, for the changes agents make most
- 33 decision records
- one per component pick, with the reason
- 3 languages, 1 gate
- TypeScript, Python and Rust behind pnpm check
- ~612 MiB
- RAM for the default stack, measured
Frequently asked questions
What is Orgfold?
Orgfold is an open-source agentic organization in a box: the software a SaaS company runs on (sign-in, billing, CRM, support, analytics, an AI gateway, deploys and backups) plus the rules and checks that let coding agents such as Claude Code and Codex build the product on top.
Do I need to be a developer?
You need to be comfortable letting a coding agent run commands and reading what it reports. If you would rather not run servers at all, the managed option sets everything up for you.
Is it really free?
Yes. The code is licensed MIT No Attribution (MIT-0): use, change and sell it without keeping a notice. There are no license fees. Every code dependency is permissive or MPL-2.0, enforced in CI.
Can I keep the services I already use?
Yes. Each external service either runs from the box or connects to one you have: managed Postgres or S3, Stripe, PostHog, your own Chatwoot or Twenty, any SMTP provider or LLM provider.
What does the managed option include?
We host Orgfold for you and set it up: servers and domain, the services you already use connected, updates and support. Talk to us for the details and a price.
Which coding agents does it work with?
Any agent that reads AGENTS.md, such as Codex. Claude Code reads CLAUDE.md, which imports AGENTS.md, and adds ready commands such as /add-resource.
Start with the whole company in place
Open source and free, or hosted and set up by us.