# Compile-Anything (`compile.fastmesh.dev`) > Polymorphic Commercial Software Compiler (Task ANY-A06): Compile a natural-language brief, competitor pricing spec, OpenAPI 3.x / JSON Schema, CSV/JSON lookup table, or deterministic Python function into a runnable pure-stdlib Python HTTP/MCP micro-product bundle in 60 seconds. Strict `$0` billing on HTTP 422 validation or safety rejections. Zero prompt or trace resale. ## Core Discovery & Surfaces - **Web Try-Now Storefront**: https://compile.fastmesh.dev/ - **Primary Compile API**: `POST https://compile.fastmesh.dev/api/compile` - **Remote Streamable MCP Endpoint**: `POST https://compile.fastmesh.dev/mcp` (JSON-RPC 2.0: `initialize`, `tools/list`, `tools/call`) - **OpenAPI 3.1.0 Specification**: https://compile.fastmesh.dev/openapi.json - **Agent Integration Skill**: https://compile.fastmesh.dev/skill.md - **Service Health & Cache Telemetry**: `GET https://compile.fastmesh.dev/health` - **Prepaid Creem SKUs Manifest**: `GET https://compile.fastmesh.dev/api/skus` - **Creem Webhook Receiver**: `POST https://compile.fastmesh.dev/webhooks/creem` (HMAC-SHA256 `creem-signature` header) - **Treg Hub Tool ID**: `compile-anything` (0% platform commission, `$0.15` verified compile, `$0` on HTTP 422) - **Causal Bazaar Card ID**: `compile_anything_v1` | **Hand ID**: `hand_any_a06_compile_anything_v1` (`is_public: 1`, `price_micros: 150000`, `cache_repeat_price_micros: 15000`) ## Five Polymorphic Compilation Modes 1. `brief` — Natural-language or structured commercial brief -> runnable pure-stdlib HTTP/MCP server, Creem SKU pack, Try-Now HTML storefront, `gateway_route.json`, `treg_hub/`, `llms.txt`, `skill.md`, and `market_kill_clock.json`. 2. `competitor` — Public competitor pricing URL or offline pricing JSON -> 5x-cheaper clean-room replacement API, side-by-side comparison storefront with independent-alternative disclaimer, and Creem prepaid SKUs. 3. `openapi` — OpenAPI 3.x or JSON Schema Draft 2020-12 spec -> metered gateway server with cross-tenant `ArchiveCache` and flat `/mcp` tools derived directly from operations/schemas. 4. `table` — CSV or JSON rule/lookup table -> queryable Data Tollbooth REST + MCP API, interactive Try-Now lookup UI, and 4-file `treg_hub/` QuickJS bundle. 5. `python_spec` — Deterministic Python function or CLI spec -> AST-audited safe public paid microservice (`os.system`, `subprocess`, `eval`, `exec`, `socket`, `__import__`, and file writes blocked with HTTP 422 and `$0` charge). ## Native MCP Tools (`POST /mcp`) - `compile_spec` — Compile any of the 5 input types into a verified commercial bundle (`verify_live: true` runs `py_compile`, ephemeral-port `GET /health`, JSON-RPC `POST /mcp`, and Creem SKU checksum check). - `preview_bundle` — Dry-run compilation returning the complete file tree, `gateway_route`, `mcp_tools`, and SKU manifest without disk writes. - `verify_bundle` — Run syntax, live `/health`, `/mcp`, and checksum smoke checks against a compiled bundle. - `list_input_types` — Return canonical schema hints and examples for `brief`, `competitor`, `openapi`, `table`, and `python_spec`. - `get_cache_stats` — Inspect cross-tenant content-addressed `ArchiveCache` hits, misses, and isolation invariants. ## Billing, Guarantees & Hard Limits - **Strict `$0` Failed-Compile Guarantee**: Malformed JSON, invalid OpenAPI/CSV specs, unsafe Python AST calls, SSRF/private-IP URLs (`127.0.0.1`, `169.254.169.254`, RFC 1918), or path-traversal slugs strictly return `HTTP 422` with `billed_micros: 0` and `ok: false`. - **Cross-Tenant Cache Isolation**: Identical normalized specs hit `ArchiveCache` (`cache_hit: true`, `15000` micros repeat rate) with zero tenant header or metadata leakage between callers. - **Zero Prompt & Trace Resale**: Caller specs, schemas, tables, and generated bundles are never resold or used to train external models. - **Hard Spend Cap**: `$2.00` (`2000000` micros) hard external spend guard enforced atomically by `billing/ledger.py`. ## Prepaid Credit Packs (Creem Checkout, Non-Expiring) - **Starter Pack** (`sku_compile_starter_9`, `prod_compile_starter_9`): `$9` / 50 compiles (`$0.1800`/compile) — https://www.creem.io/checkout/prod_compile_starter_9 - **Pro Pack** (`sku_compile_pro_29`, `prod_compile_pro_29`): `$29` / 250 compiles (`$0.1160`/compile) — https://www.creem.io/checkout/prod_compile_pro_29 - **Scale Pack** (`sku_compile_scale_99`, `prod_compile_scale_99`): `$99` / 1,200 compiles (`$0.0825`/compile) — https://www.creem.io/checkout/prod_compile_scale_99 - **SKU Manifest SHA-256**: `fc1718360b0cc15c73a1e0555ad714ecbc90bf0a8bd1a2bbf2f07ea88ba54741` ## Technical Guides & Markdown Mirrors (25 SEO/GEO Playbooks) ### Mode: `openapi` - [Compile an OpenAPI 3.1 Spec into a Monetized Remote MCP Server in 60 Seconds](https://compile.fastmesh.dev/guides/compile-openapi-spec-into-monetized-mcp-server.html) ([md](https://compile.fastmesh.dev/guides/compile-openapi-spec-into-monetized-mcp-server.md)) - [Turn a JSON Schema Draft 2020-12 Contract into a Paid Validation API with ArchiveCache](https://compile.fastmesh.dev/guides/turn-json-schema-into-paid-validation-api-with-cache.html) ([md](https://compile.fastmesh.dev/guides/turn-json-schema-into-paid-validation-api-with-cache.md)) - [Convert Swagger & OpenAPI Specs into a Prepaid Credit API Gateway with Zero Seat Tax](https://compile.fastmesh.dev/guides/convert-swagger-yaml-to-prepaid-credit-gateway.html) ([md](https://compile.fastmesh.dev/guides/convert-swagger-yaml-to-prepaid-credit-gateway.md)) - [Wrap Freight & Shipment Tracking OpenAPI Specs into Per-Call MCP Tool Tolls](https://compile.fastmesh.dev/guides/wrap-logistics-tracking-openapi-for-agent-mcp-tolls.html) ([md](https://compile.fastmesh.dev/guides/wrap-logistics-tracking-openapi-for-agent-mcp-tolls.md)) - [Monetize an EU VAT & E-Invoice OpenAPI Spec on 0%-Commission Treg Hub](https://compile.fastmesh.dev/guides/monetize-eu-vat-compliance-openapi-on-treg-hub.html) ([md](https://compile.fastmesh.dev/guides/monetize-eu-vat-compliance-openapi-on-treg-hub.md)) ### Mode: `competitor` - [Build a 5x-Cheaper Prepaid Alternative to Zapier & Make Webhook Automation APIs](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-zapier-webhook-automation.html) ([md](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-zapier-webhook-automation.md)) - [Build a 5x-Cheaper Alternative to Clearbit & Apollo B2B Domain Enrichment APIs](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-clearbit-b2b-enrichment-api.html) ([md](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-clearbit-b2b-enrichment-api.md)) - [Build a 5x-Cheaper Headless Alternative to Typeform & Jotform Lead Scoring APIs](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-typeform-form-scoring-api.html) ([md](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-typeform-form-scoring-api.md)) - [Build a 5x-Cheaper Prepaid Alternative to ScreenshotOne & Urlbox Metadata APIs](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-browserless-screenshot-api.html) ([md](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-browserless-screenshot-api.md)) - [Build a 5x-Cheaper Alternative to Docparser & Rossum Invoice Extraction APIs](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-docparser-invoice-ocr-api.html) ([md](https://compile.fastmesh.dev/guides/build-5x-cheaper-alternative-to-docparser-invoice-ocr-api.md)) ### Mode: `table` - [Convert a CSV Pricing Table or Rate Card into a Paid REST & MCP Quote API](https://compile.fastmesh.dev/guides/convert-csv-pricing-table-into-paid-api.html) ([md](https://compile.fastmesh.dev/guides/convert-csv-pricing-table-into-paid-api.md)) - [Turn an HS Code & Import Tariff CSV Table into a Monetized Customs Duty Lookup API](https://compile.fastmesh.dev/guides/turn-hs-tariff-csv-into-customs-duty-lookup-api.html) ([md](https://compile.fastmesh.dev/guides/turn-hs-tariff-csv-into-customs-duty-lookup-api.md)) - [Publish SOC 2 & HIPAA Control Mapping JSON Tables as a Paid Deterministic MCP Tool](https://compile.fastmesh.dev/guides/publish-saas-compliance-rules-json-as-paid-mcp-tool.html) ([md](https://compile.fastmesh.dev/guides/publish-saas-compliance-rules-json-as-paid-mcp-tool.md)) - [Monetize a US State & County Sales Tax Nexus CSV Table with Creem Prepaid Packs](https://compile.fastmesh.dev/guides/monetize-us-state-sales-tax-csv-table-with-creem.html) ([md](https://compile.fastmesh.dev/guides/monetize-us-state-sales-tax-csv-table-with-creem.md)) - [Compile a Carrier Freight Zone & Dimensional Weight CSV into a Shipping Quote API](https://compile.fastmesh.dev/guides/compile-freight-zone-rate-csv-into-shipping-quote-api.html) ([md](https://compile.fastmesh.dev/guides/compile-freight-zone-rate-csv-into-shipping-quote-api.md)) ### Mode: `python_spec` - [Wrap a Deterministic Python Script as a Creem-Billed Microservice with AST Safety Gate](https://compile.fastmesh.dev/guides/wrap-python-script-as-creem-billed-microservice.html) ([md](https://compile.fastmesh.dev/guides/wrap-python-script-as-creem-billed-microservice.md)) - [Deploy a Python CLI Linter or Validator as a Remote MCP Server with AST Sandboxing](https://compile.fastmesh.dev/guides/deploy-python-cli-validator-as-mcp-tool-with-ast-sandbox.html) ([md](https://compile.fastmesh.dev/guides/deploy-python-cli-validator-as-mcp-tool-with-ast-sandbox.md)) - [Monetize a Pure-Python Document & Table Parser with Strict $0 Billing on HTTP 422](https://compile.fastmesh.dev/guides/monetize-python-pdf-parser-function-zero-charge-on-422.html) ([md](https://compile.fastmesh.dev/guides/monetize-python-pdf-parser-function-zero-charge-on-422.md)) - [Package a Python Amortization, Margin & FX Calculator into a 0%-Commission Treg Hub Tool](https://compile.fastmesh.dev/guides/package-python-financial-calculator-for-treg-hub-quickjs.html) ([md](https://compile.fastmesh.dev/guides/package-python-financial-calculator-for-treg-hub-quickjs.md)) - [Convert a Pure-Python PII & Secret Redaction Function into a Zero-Resale Paid API](https://compile.fastmesh.dev/guides/convert-python-regex-pii-redactor-into-paid-compliance-api.html) ([md](https://compile.fastmesh.dev/guides/convert-python-regex-pii-redactor-into-paid-compliance-api.md)) ### Mode: `brief` - [Compile a Plain-English Business Brief into a Runnable Pure-Stdlib Micro-SaaS in 60 Seconds](https://compile.fastmesh.dev/guides/compile-business-brief-into-runnable-micro-saas-in-60s.html) ([md](https://compile.fastmesh.dev/guides/compile-business-brief-into-runnable-micro-saas-in-60s.md)) - [Launch a Paid AI-Agent API from a 10-Line Product Spec Without Boilerplate](https://compile.fastmesh.dev/guides/launch-paid-agent-api-from-product-spec-without-boilerplate.html) ([md](https://compile.fastmesh.dev/guides/launch-paid-agent-api-from-product-spec-without-boilerplate.md)) - [Generate a Verified MCP Storefront with Automated 72-Hour Launch & 14-Day Kill Clock](https://compile.fastmesh.dev/guides/generate-verified-mcp-storefront-with-14-day-kill-clock.html) ([md](https://compile.fastmesh.dev/guides/generate-verified-mcp-storefront-with-14-day-kill-clock.md)) - [Build a Cross-Tenant Cached Data API from a Commercial Brief with Zero Tenant Leakage](https://compile.fastmesh.dev/guides/build-cross-tenant-cached-data-api-from-commercial-brief.html) ([md](https://compile.fastmesh.dev/guides/build-cross-tenant-cached-data-api-from-commercial-brief.md)) - [Ship One Commercial Spec Across Four Channels: Web Try-Now, Remote MCP, Bazaar & Treg Hub](https://compile.fastmesh.dev/guides/ship-multi-channel-paid-api-web-mcp-bazaar-treg-hub.html) ([md](https://compile.fastmesh.dev/guides/ship-multi-channel-paid-api-web-mcp-bazaar-treg-hub.md))