Model with text
You or your agent write the model in plain .appling files. The text is the canonical source.
Appling is a declarative language for business applications: data, rules, behavior, APIs and pages in one validated model that people and AI share. Write it from scratch, or let an AI agent derive it from the project you already have.
You or your agent write the model in plain .appling files. The text is the canonical source.
Linked across files and modules, then checked: layer rules, exports and migrations, on every build.
See the model on the inspector's canvas and follow what agents change, before any code exists.
Generators write the Django, Ash, Go or Rust project without a single AI call. Your agent only finishes what is left.
A sales module as text, and the model on the canvas of the inspector. Unfold a bud and select a node to see what it does, who may run it and where it is used.
module sales { export Order enum OrderStatus { draft placed } entity Order { reference: String unique status: OrderStatus state default draft } action PlaceOrder on Order does "Emails the order confirmation" { requires { reference != "" } } machine OrderFlow on Order.status { transition draft -> placed via PlaceOrder } }

The real inspector on the sample sales and CRM model, running in your browser. Read only: nothing leaves this page.
Each concept is defined once, in the layer that owns it. References only point down the layers, and modules only see what other modules export.
page · navigation · flow · messagesinterfacequery · projection · external · usecaseevent · action · machine · jobenum · value · entity · invariant · policymodule · role · actor · tenant · migrationThe Appling extension finds the projects of your workspace and brings the inspector into VS Code. The text stays in VS Code's own editors, with diagnostics, completion and rename from the language server.

Each project opens its model canvas in a tab. The selected element shows in the Inspector panel as a native tree: its actions, fields, policies and everything that uses it.

Open source jumps from a node to its declaration. Gutter marks show which model lines are implemented in code, and Go to Implementation opens that code.
The command line, the inspector, the AI and the generators all read one validated model. Changes go through the same edit operations; the inspector only shows them.
@appling/cliCheck, format, dump the graph, cut releases and generate projects. Exit codes made for CI.
$ npx appling check modelsRead the docs →@appling/inspectThe read only model canvas in your browser: the tree of modules and declarations with their icons, live change marks against the last commit and the task board.
$ npx appling inspectRead the docs →appling-vscodeThe inspector in a tab per project, its panels as sidebar views, implementation marks in the editor and agent sessions in VS Code terminals.
$ code --install-extension appling.vsixRead the docs →@appling/aiAn MCP server for any client, and agent sessions that show their work on the canvas. AI changes pass validation and are marked live on the canvas.
$ npx appling-mcp modelsRead the docs →@appling/codegen-django, -ash, -go, -rustA draft Django, Ash, Go or Rust project from the model, plus a task registry of everything left for you or an AI to write.
$ npx appling generate --planRead the docs →@appling/modelA release snapshots the graph. Later renames and type changes become migration steps that generated projects apply without losing data.
$ npx appling release 1.0.0Read the docs →@appling/langDiagnostics, completion, go to definition, rename, hover and canonical formatting in any editor that speaks LSP.
$ appling-language-server --stdioRead the docs →Everything the model already says is written by a generator, not by an AI. Each target is an installable extension that turns the model into a draft project, and what a generator cannot write becomes a task in a registry for your agent to finish.
@appling/codegen-djangoA Django 6.1 project managed by uv: one app per module, models, behavior as functions and signals, a REST framework API and pages.
All five layersRead the docs →@appling/codegen-ashAn Ash 3 project on AshPostgres, built with Ash's own generators: resources, actions, state machines, background jobs, a JSON:API and Phoenix LiveView pages.
All five layersRead the docs →@appling/codegen-goPlain Go packages, one per module, without a framework: types, invariants, derived fields, actions with their state transitions, errors and events.
Domain and behaviorRead the docs →@appling/codegen-rustA library crate with one module per Appling module, using serde, rust_decimal and chrono, with the same coverage as Go.
Domain and behaviorRead the docs →Another framework? Code generation runs through extensions; write your own against the same graph.
One command sets up the project and wires your coding agent to the model. Then describe what you want; the agent writes the model first and the code from it.
init sets up a project, connects Claude Code, Codex, OpenCode, Gemini CLI or Antigravity CLI and picks the stack.
check validates every .appling file and exits with 1 when it finds errors.
fmt rewrites files into canonical form. A second run changes nothing.
graph prints the semantic graph as JSON, the same graph the inspector and the AI read.
generate writes a draft project for every target in appling.config.json.
An AI agent reads your code, whether it is Django, Ash, Rails, Spring, Express or any other codebase with a data model, and writes the Appling model for it. It never leaves the model invalid, and asks you when the code allows two readings.