decantr
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
This tool acts as a design intelligence and governance layer for AI-generated web applications. It provides coding assistants with structured context files and design contracts to ensure consistent UI generation.
Security Assessment
Overall risk: Low. The automated code scan evaluated 12 files and found no dangerous patterns, hardcoded secrets, or requests for risky permissions. Because this is an MCP server meant to integrate with AI editors, it inherently relies on reading local project files and generating command scaffolding. Based on the README, it executes standard package manager commands (like `npx`) and writes to local directories, which is standard behavior for development tooling. No suspicious data collection or outbound network requests were identified.
Quality Assessment
Quality is moderately high but community trust is currently very low. The project is actively maintained, with its most recent push occurring today. It uses the permissive MIT license and features comprehensive, well-written documentation. However, it is a very new or niche project with only 5 GitHub stars. This means it has not yet been broadly vetted by the developer community, and long-term maintenance is not guaranteed.
Verdict
Safe to use, but be aware that it is an early-stage tool without widespread community validation.
Design intelligence layer for AI-generated web applications
Decantr
Design intelligence, governance, and verification for AI-generated UI.
Decantr is the contract layer between product intent and AI-generated implementation. It gives coding assistants three things they don't have on their own — structured design inputs, registry-backed UI knowledge, and scoped context files — so they build coherent product surfaces instead of improvising screen by screen. Think of it as OpenAPI for AI-generated UI: the model still writes the code, but Decantr defines the shape, vocabulary, and checks around it.
AI generates the interface. Decantr keeps the outcome aligned.
Pick your path
| Path | Use when | Start with |
|---|---|---|
| Greenfield blueprint ⭐ | New project, published app composition as the starting point | decantr new my-app --blueprint=<id> |
| Brownfield adoption | Attaching Decantr to an existing Angular/React/Vue/etc. project | decantr analyze, then decantr init --existing |
| Hybrid composition | Layering sections, themes, or features into an attached project | decantr add/remove, decantr theme switch, decantr registry |
Greenfield blueprint
1. Scaffold from a blueprint
npx @decantr/cli new my-app --blueprint=agent-marketplace
cd my-app
A blueprint is a published app composition — theme, sections, pages, layouts, voice, and personality. Try agent-marketplace, terminal-dashboard, or portfolio to start, or run decantr search to browse the full catalog.
Adapter availability.
react-viteis the runnable starter adapter in this wave. Other contract targets remain valid Decantr targets but currently initialize in contract-only mode — Decantr writes the contract, you own the runtime.
2. What just got generated
my-app/
├── decantr.essence.json # the durable contract: theme, sections, routes, features
├── DECANTR.md # methodology primer your AI assistant reads first
├── .decantr/context/
│ ├── scaffold.md # full app overview: topology, voice, personality
│ └── section-*.md # per-section spec: shell, patterns, spacing
└── src/styles/
├── tokens.css # CSS variables from the theme
├── treatments.css # shared visual treatment classes
└── decorators.css # theme-specific decorator classes
Decantr produces the contract. Your AI assistant produces the implementation against it.
3. Hand it to your AI assistant
Open the project in Claude Code, Cursor, Windsurf, or any AI-aware editor. Your assistant reads DECANTR.md first for the methodology, then loads section context files on demand as it works through each part of the app. The split keeps the assistant focused on the right scope at the right time.
4. Make your first change and verify
# Edit decantr.essence.json — add a section, swap the theme, etc.
decantr refresh # regenerate context files from the updated essence
decantr check # verify the code matches the new contract
refresh keeps the generated context files in sync with the essence. check runs the guard rules and tells you exactly where the code drifted from the contract. decantr audit is a broader pass when you want a full report.
Starting from a different point? See the full workflow model.
The model
Decantr separates design governance into two layers:
- DNA — durable visual and system axioms: theme, spacing, motion, accessibility, personality.
- Blueprint — product topology: sections, page routes, shells, layouts, features.
That split matters because not every change should be treated the same way. A theme swap or accessibility regression is different from adding an auxiliary section or reshaping a route map. Decantr lets governance be strict where it should be strict (DNA, errors by default) and flexible where it should be flexible (Blueprint, warnings only).
Canonical shapes live in the published schemas; the command-level flow is in the workflow model.
Surfaces
| Surface | What it does |
|---|---|
| CLI | Scaffold new apps, initialize existing projects, refresh derived context, search registry content, and run checks/audits |
| MCP server | Exposes Decantr directly to AI tools — essence reads, registry resolution, context reads, pack compilation, drift checks, critique, and audit |
| Hosted registry/API | Browse and search public content, read intelligence summaries, compile execution packs, critique files, and audit projects |
| Verifier | Shared audit and critique engine with schema-backed reports |
| Showcase apps | Audited benchmark corpus and verification targets for Decantr-generated scaffolds |
Packages
| Package | Role |
|---|---|
@decantr/essence-spec |
Essence schemas, validation, migration, and TypeScript types |
@decantr/registry |
Registry contracts, schemas, content utilities, and API client surfaces |
@decantr/css |
Framework-agnostic CSS atom runtime |
@decantr/core |
Execution-pack compiler primitives and shared Decantr utilities |
@decantr/verifier |
Shared audit, critique, and report-schema engine |
@decantr/mcp-server |
MCP delivery surface for assistants and agent tooling |
@decantr/cli |
Local scaffold, registry, audit, and maintenance workflows |
@decantr/vite-plugin |
Experimental local guard feedback overlay for Vite |
Full release/support status lives in docs/reference/package-support-matrix.md.
Repo layout
| Path | Role |
|---|---|
apps/api |
Hosted API for registry, packs, critique, audit, auth, org, and billing-adjacent flows |
apps/registry |
Next.js registry portal and internal dogfood surface |
apps/showcase/* |
Generated benchmark apps used as evidence and verification targets |
packages/* |
Core Decantr packages and supporting runtime surfaces |
docs/ |
Public docs, audits, architecture notes, schemas, and runbooks |
scripts/ |
Audit, release, showcase, schema, and packaging automation |
Development
Requires Node.js >=20 and pnpm >=9.
pnpm install
pnpm build
pnpm test
pnpm lint
pnpm audit:public-api
pnpm audit:registry-dogfood
pnpm showcase:verify:shortlist
More CLI
Intent and discovery:
decantr magic "AI chatbot with a bold terminal-inspired workspace"
decantr search dashboard
decantr suggest leaderboard
Brownfield adoption:
decantr analyze
decantr init --existing --yes
Registry and verification:
decantr registry summary --namespace @official --json
decantr registry compile-packs decantr.essence.json --write-context
decantr registry critique-file src/pages/Home.tsx --namespace @official --json
decantr registry audit-project --namespace @official --json
decantr showcase verification --json
Links
- Registry — registry.decantr.ai
- Published schemas — decantr.ai/schemas
- Workflow model — docs/reference/workflow-model.md
- Public API reference — docs/reference/registry-public-api.md
- Package support matrix — docs/reference/package-support-matrix.md
Contributing
Contributions are welcome. The most useful repo context lives in docs/ — especially the architecture notes, audits, runbooks, and package support matrix.
License
MIT. The source repositories are MIT licensed; hosted services such as the registry and API may publish separate service terms without changing the source-code license.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found