Skip to content

Pargar

AutoCAD-style 2D drafting in one browser tab. A Rust/WASM kernel, a real command line, DXF in and out, and AI agents that drive it through the same commands you do.

Pargar (پرگار) is Persian for drawing compass. No install, your drawings stay in your browser (OPFS) unless you choose cloud save, and every operation is a command that a human, a script or an AI agent can call the same way.

Draft like AutoCAD

Lines, arcs, polylines, text, dimensions, hatches. Move, trim, extend, offset, fillet, array. Type L, TR, O on the command line; F3 snaps, F8 ortho.

Rust/WASM kernel

Geometry, constraints and an ECS world compiled to WebAssembly: 100+ kernel commands, ~440 KB gzipped, hundreds of Rust tests.

Undo that remembers why

State is event-sourced. Undo and redo replay a hash-chained event log, so every change is attributable to the human or agent that made it.

DXF round-trip

Import and export DXF with round-trip tests for entities, dimensions, hatches and style tables. Your files keep working in the tools you already use.

Agents are first-class

An MCP server exposes 90+ typed tools that map one-to-one onto kernel commands. Nothing an agent does goes through the mouse.

Open source

Apache-2.0 code, CC BY 4.0 docs. Built in the open on GitHub, with the roadmap, the backlog and the decisions in the repo.

Status: v0.5, the 2D vertical slice. The focus until launch is AutoCAD 2D parity for real users. See the roadmap.

Pargar is open source · Code Apache-2.0 · Docs CC BY 4.0 · GitHub