Ghost Bakery + AI
How to use Ghost Bakery with AI
Your AI knows your data. Ghost Bakery bakes it at scale.
You already ask your coding assistant to read schemas, write migrations and explain legacy code, and it is very good at that.
Ask it to print 100,000 rows of test data, though, and you pay for every token, wait for every line and hope the IDs still match at the end.
There is a better split: your AI writes a short recipe, and Ghost Bakery turns it into data.
Just ask
Connect your assistant once, then ask the way you would ask a colleague:
- “1,000 customers, their invoices and invoice lines, in German, as Parquet.”
- “10,000 suppliers for our ERP import test, with valid VAT IDs, IBANs and GTINs.”
- “Here is a CSV export of our users. Give me a million more just like it.”
- “A k6 load test for
POST /orderswith 50,000 realistic orders.” - “An org chart of 5,000 employees, where every manager is also an employee.”
- “Customers in Japanese, Arabic and Portuguese, each name in its language’s own order.”
- “SQL inserts for our existing Postgres tables, split into files of 100,000 rows.”
- “A 200-page Portuguese PDF to test our upload pipeline.”
How it works
- Your AI writes the recipe. It reads your request, your schema or a sample file and writes a few lines of GBDDL, the Ghost Bakery recipe language.
- Ghost Bakery checks it. Syntax, types, relationships and feasibility. If the recipe asks for something impossible, such as more unique values than exist, you find out before any credit is spent, and your AI reads the errors and fixes them.
- You see a preview and the exact quote. Sample rows are free. The price is calculated from the recipe before the run.
- Ghost Bakery generates. The job runs in the background and you get a download link for the files.
Your AI sends a dozen lines and gets back a link. Millions of rows never pass through the conversation.
What each side does best
Does it well With effort or limits Not suited
| Your AI | Ghost Bakery | |
|---|---|---|
| Understanding your schema, code and tickets | ||
| Turning a request into a recipe | Validates it and explains what is wrong | |
| A handful of example records | Free preview | |
| Hundreds of thousands or millions of rows | Output limits, slow, paid per token | Runs in the background, written straight to files |
| Primary and foreign keys across tables | Can drift as the output grows | Guaranteed by construction |
| IBAN, VAT ID, CNPJ, GTIN, card numbers | Looks right, often fails validation | Valid check digits; cards and GTINs never match a real card or product |
| Countries, currencies, languages, phone formats | Recalled from memory | Curated catalogs sourced from ISO 3166, Unicode CLDR and libphonenumber |
| Parquet, XLSX, SQL, PDF | Needs code to write and maintain | Ready to download |
| Load and API tests | Needs extra scripts | Bundles for k6, JMeter, Postman, Hurl, Artillery and .http |
| Free-form, context-rich prose | Filler text for layout and volume | |
| Cost | Known after the tokens are spent | Exact quote before the run; failed jobs are refunded |
Why the combination works
Your context stays clean. When the AI generates the data itself, the rows fill the conversation and the rest of the session suffers. With Ghost Bakery, the AI sends a recipe and gets back a link.
You pay for data, not for tokens. The cost depends on the rows and on the columns you ask for: simple columns cost less than long or complex ones. There is no surcharge for the output format, null values cost the same as filled ones, and static lookup tables are free. You see the exact cost before anything runs. How credits work
The data passes real validation. IBANs pass mod 97 and the national checks, VAT IDs carry each country’s check digit, and GTINs carry the GS1 check digit. ERP imports and form validators accept them, and card numbers and GTINs never belong to a real card or product. Field types · ERP guide
Relationships hold at any size. Foreign keys always point to existing rows, unique columns never repeat, and you can say how many children each parent has, or build trees such as org charts. Guarantees
The rules live in a file. A recipe is plain text: commit it, review it in a pull request and run it again whenever you need fresh data. The recipe is the contract, and each run produces new values that follow it.
Start from what you have. Give your AI a CSV, TSV or JSON sample and Ghost Bakery infers a recipe from it. You can also upload your own lists, such as product names or store codes, and use them inside a recipe.
Your agent stays on a budget. API keys have scopes and an optional credit cap. Your assistant can get quotes and run jobs, but it can never pay: a person always completes the checkout. If it retries an identical job, it gets the existing one back at no charge.
No production data needed. Test with synthetic records instead of copies of real customers.
The same rules apply everywhere. Chef, the HTTP API and the MCP server share the same validation, limits and prices. Your AI gets the same results you would get by hand.
Recipes that are known to work. Every recipe in the recipe library is generated and verified by our test suite, so it is a good starting point to hand to your AI.
Get started in three minutes
- Create an account. Sign-up includes free credits.
- Create an API key in Chef under Account → API keys, with only the scopes your assistant needs.
- Connect your assistant to the hosted MCP server at
https://mcp.ghostbakery.com/mcp, or run the local binary. MCP setup - Optional: install the skill, which teaches your assistant how to write good recipes. Claude · Codex · Copilot · OpenCode · Crush
- Ask for data. Pick any example above and add “show me the quote first.”
Learn more
- Recipe language: tables, keys, relationships and generators.
- Field types: every smart type and its arguments.
- Output formats: files, packages and limits.
- Test scenarios: from data to runnable tests.
- Credits: how the cost is calculated.
- Guarantees: what is guaranteed and where the limits are.