- Home
- Getting Started
- Account & Settings
- Roles & Add-On Access
- Settings
- Agentic
- White Label
- Agents & Engines
- Engines
-
Agents
- Overview
- Core Agents
- Core Agents
- Matrix Agent
- Audit Agent
- Industry Agents
- Patent Agent
- Add-On Modules
-
Manufacturing
- Manufacturing
- Overview
- Work Orders
- Production Scheduling
- Shop Floor Monitor
- OEE Dashboard
- Production Counters
- Plant & Process Setup
- Work Centers
- Bill of Materials
- Manufactured Products
- Work Instructions
- Quality Operations
- Overview
- Inspection Plans
- Quality Checklist
- Non-Conformance (NCR)
- SPC Charts
- Traceability (4M)
- Maintenance Operations
- Overview
- Asset Registry
- Preventive Maintenance
- Work Orders
- Spare Parts
- Reliability Dashboard
- Inventory Operations
- Overview
- Material Staging
- WIP Tracking
- Kanban Replenishment
- Material Consumption
- Assets
- Asset Health
- Legal
- Construction
- Government
- Education
- Energy
- Agriculture
- Healthcare
- RevOps
- Ecommerce Operations
- Financial Audit & Fintech Ops
- Insurance
- Hospitality
- Real Estate
- Patent & R&D Operations
- Automotive & Fleet Management Ops
- Customs & Global Trade
- Enterprise & Technical
-
Enterprise Operations
- Enterprise Operations
- Overview
- Enterprise Operations Guide
- Compliance & Docs
- Overview
- Approval Workflow
- Expiry Reminders
- Document Control
- Audit Trail
- Compliance Radar
- Contracts & Warranty
- Overview
- Active Contracts
- Warranty Check
- Service Billing
- Field Service
- Overview
- Dispatch Board
- Job Management
- Van Inventory
- Performance Dashboard
- Service Desk
- Overview
- Service Requests
- SLA Monitor
- Knowledge Base
- Procurement & Vendor
- Purchase Orders
- Vendor Portal
- RFQ Management
- QHSE
- Overview
- Incident Reporting
- Permit to Work
- Safety Inspections
-
Security & Compliance
- Threat & Monitoring
- Overview
- Security Hub
- Security Audit
- IAM Visualizer
- Dependency Scanner
- Secret Scanner
- Secret Vault
- Traffic Monitor
- Audit Trail
- Threat Simulator
- Compliance Radar (MatrixAgent)
- Identity & Compliance
- Overview
- PPTX Auditor
- PDF Auditor
-
Engineering & Infrastructure
- DevOps & Infrastructure
- Overview
- Cron Builder
- CI/CD Pipeline
- Containers
- Log Streamer
- Secrets Management
- Health Monitor
- Infrastructure as Code
- Developer Tools
- Overview
- Nerve Center
- Git Diff Viewer
- Regex Tester
- JSON Transformer
- Workflow Optimizer
- Execution Replay
- Workflow Editor
- Dev Hub Terminal
- Security Hub
- Graph View
- Terminal Editor
- API Playground
- DSL Compiler
- Database Tools
- Overview
- Database Manager
- ORM Mapper
- SQL Formatter
- Schema Visualizer
- Visual Query Builder
- Seed Data Generator
- Custom Collections
- QA & Test
- Overview
- Flake Tracker
- Artifact Vault
- Web Test Module
- Test Plan & Runner
-
Data & Intelligence
- AIOps & Intelligence
- Overview
- Agents
- Agent Architect
- Model Center
- Prompt Lab
- Knowledge Base
- Agent Persona Editor
- Tool / Function Registry
- Observability & Logs
- DataOps & Analytics
- Overview
- Data Inspector
- AI Predictive Models
- Core Modules
- Ads & Social Media
- AI Assistants
- API & Integration
- App Groups
- Appointment Booking
-
Automation
- Automation
- Overview
- Workflow Editor
- Monitoring
- Execution Heatmap
- Workflow Pulse
- Trigger Control
- Task Scheduler
- Integration Hub
- Rule Engine
- Pipeline Designer
- Workflow Editor
- Overview
- Triggers
- Manual Input
- Data Sources
- Ecommerce
- Document Management
- Logic & Transform
- AI Agents
- Knowledge / AI
- Validation & Security
- Integrations
- Outputs
- Document Generation
- Image Generation
- Video Generation
- Coming Soon
- Call Center
- Collaboration
- Community
- Creative Studio
- CRM
- Fleet & Logistics
-
Finance
- Hub
- Finance Hub
- Accounting Hub
- Treasury & Banking Hub
- Commercial Accounts Hub
- Invoicing & Billing Hub
- Reporting & Analytics Hub
- Grid View
- Overview
- Accounting AI Assistant
- Treasury
- Invoice Manager
- Expense Management
- Financial Accounts
- Payroll
- Accounts Receivable
- Accounts Payable
- Bank Reconciliation
- Budget & Forecasting
- Expenses & Budget
- Profit & Loss
- Tax & Compliance
- Galleries & Curation
- Google Display Ads
- Human Resources
- Legal & Support
- Logistics
- Map Explorer
- Marketing
- My Workspace
- Plans & Pricing
- Point of Sale
- Product Management
- Purchase
- Sales
- Semantic Search
- Strategy & Fundraising
- Warehouse
- Website
- Productivity
- Project Management
- Documents
- Learning (LMS)
-
Creator Tools
- Overview
- Brand Identity Creator
- Template Creator
- Image Creator
- Overview
- Getting Started
- Image Generation
- Remix
- Upscale
- Magic Replace
- Remove Background
- Reframe
- Describe
- Magic Tags
- Magic Fill
- Style Transfer
- Style Preset
- Social Media Images
- Prompting Guide
- Video Creator
- Overview
- Getting Started with Video
- Text to Video
- Image to Video
- AI Video Transition
- Video Effects
- Scene Builder
- Short Film Creator
- Audio Creator
- Overview
- AI Audio
- Text to Speech
- Voice Cloning
- Music Generation
- Sound Effects
- Writer Tools
- App Factory
- Research
- Utilities
DSL Compiler
Write a small entity/relation DSL and deterministically generate SQL/Prisma/Mongoose schemas, TypeScript DTOs, an API controller, and Zod validation schemas.
Overview
DSL Compiler is a code-generation tool for backend API scaffolding. Define your data model with a small, purpose-built DSL — entities with typed fields and decorators, plus relations with cardinality — and the compiler deterministically generates a full backend contract for a chosen database and API framework: SQL DDL (or Prisma/Mongoose schemas), TypeScript DTOs (create/update/read), an API controller or router, and Zod validation schemas.
Compilation is deterministic, not AI-generated — the same DSL input always produces the same output for a given target. This makes DSL Compiler suitable for quickly bootstrapping consistent, typed backend code from a single source of truth.
Writing the DSL
An entity block declares fields with a type and optional decorators:
Example
entity User { id: uuid, email: string @unique, name: string, status: Enum(active, passive), createdAt: timestamp } relation User -> Post [1:N]
Supported field types: uuid, string, text, boolean, timestamp, integer, float, json, and Enum(value1, value2, ...). Supported decorators: @unique and @fk (foreign key). Relations use relation From -> To [cardinality], where cardinality is 1:N or N:M.
Compile Targets
Choose a database and API framework from the target dropdown in the toolbar before compiling:
| Category | Options |
|---|---|
| Database | PostgreSQL, MySQL, MongoDB, Prisma |
| API Framework | NestJS, Express, Fastify |
MongoDB targets generate Mongoose schemas instead of SQL DDL; Prisma targets generate a Prisma schema file instead of raw SQL. Both still produce matching TypeScript DTOs, a controller/router for the selected API framework, and Zod schemas.
Output Tabs
After compiling, the right panel shows five tabs:
- Schema — the parsed entity/relation tree with field counts, plus a compile status banner
- SQL / Prisma / Mongoose — the generated database schema for the selected target
- TypeScript DTO — read, create, and update DTOs per entity
- Controller / Router / Plugin — REST endpoints (GET/POST/PATCH/DELETE) for the selected API framework
- Zod — runtime validation schemas, target-independent
Each code tab has a Copy button in the top-right corner. Changing the compile target clears the previous output and requires recompiling.
AI Assistant
Open the built-in AI Assistant from the tab on the right edge of the screen to get help with your schema. It has context on your live DSL source, the parsed entities/fields/relations, any parse errors, and your current compile target, so you can ask things like:
- "Help me fix the parse error in my DSL"
- "Review my schema for design issues"
- "What will the generated output for this target contain?"
- "What field type and decorators should I use for this?"
The assistant never invents entities or fields that aren't in your current DSL — it always grounds suggestions in the actual schema shown in the Schema tab. Replies you want to keep can be saved as a report with one click from the panel's bottom dock.
Frequently Asked Questions
@fk decorator do?authorId references the authors table). For SQL targets this generates an ALTER TABLE ... ADD CONSTRAINT ... FOREIGN KEY statement.N:M relation represented in SQL?{entityA}_{entityB} with a composite primary key of both foreign keys, each with ON DELETE CASCADE. MongoDB and Prisma targets do not generate a junction table since both handle many-to-many relations natively.