β

ObjectQL v4.0 is currently in Beta.

v4.0 Architecture Preview

The Standard Protocol for AI Software Generation

Stop debugging AI-generated boilerplate. Start defining Intent.
ObjectQL decouples your Data Model from the Implementation Details.

Protocol-Driven

Define your application in pure YAML/JSON schema. It's the perfect interface for LLMs to read and write without syntax errors.

Security by Design

Never write a permission check again. RBAC rules are declarative and enforced by the engine at the lowest level.

Compiler, Not ORM

ObjectQL compiles your intent into highly optimized SQL. No runtime reflection overhead for maximum performance.

Write Intent. Generate Software.

Describe your data model and business rules. ObjectQL handles the Database Schema, API Endpoints, and Type Definitions.

1
Define Object (YAML)
project.object.yml
name: project
description: Manage internal projects
fields:
  name:
    type: text
    required: true
    index: true
  status:
    type: select
    options: [planning, active, paused]
    default: planning
  budget:
    type: currency
    scale: 2
  owner:
    type: lookup
    reference_to: users
2
Define Logic (YAML)
project.validation.yml
on: project
rules:
  - when: { status: active }
    ensure: { budget: { gt: 0 } }
    message: "Active projects must have budget"
3
Generated API & Types
Generated Output
// 1. Fully Typed TypeScript Interfaces
export interface Project {
  _id: string;
  name: string;
  status: 'planning' | 'active' | 'paused';
  budget?: number;
  owner?: string; // ID reference
}

// 2. Auto-generated Database Schema (SQL)
// CREATE TABLE project (
//   _id VARCHAR(255) PRIMARY KEY,
//   name TEXT NOT NULL,
//   status VARCHAR(50) DEFAULT 'planning',
//   ...
// );

// 3. Instant JSON-RPC / GraphQL API
// POST /api/rpc
// { "method": "project.create", "params": { ... } }

What you get automatically:

CRUD Operations
Input Validation
Filtering & Sorting
Pagination
TypeScript SDK
Database Migrations

The ObjectStack Ecosystem

Schema

*.object.yml

Logic

*.validation.yml

ObjectQL Engine

  • Schema Registry
  • Query Optimizer
  • Permission Guard
Postgres
Mongo

Ready to standardize your AI output?

Join the architects building the next generation of software factories.