Metadata-Version: 2.5
Name: vixl-engine
Version: 0.36.0
Summary: A headless design engine for AI agents. Programmable, editable, checked.
Project-URL: Homepage, https://github.com/jxburros/Vixl
Project-URL: Documentation, https://github.com/jxburros/Vixl/tree/main/docs
Project-URL: Repository, https://github.com/jxburros/Vixl
Project-URL: Issues, https://github.com/jxburros/Vixl/issues
Project-URL: Changelog, https://github.com/jxburros/Vixl/blob/main/CHANGELOG.md
License-Expression: LicenseRef-PolyForm-Small-Business-1.0.0
License-File: LICENSE
Keywords: ai-agents,animation,automation,design,graphics,image,layers,mcp,pdf,svg
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Multimedia :: Graphics :: Editors
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.11
Requires-Dist: filelock<5,>=4.2.1
Requires-Dist: fonttools<5,>=4.59
Requires-Dist: httpx<1,>=0.28
Requires-Dist: jsonschema<5,>=4.23
Requires-Dist: mcp<2,>=1.21.1
Requires-Dist: numpy<3,>=2.0
Requires-Dist: pillow<14,>=13
Requires-Dist: pydantic<3,>=2.11
Requires-Dist: python-bidi<1,>=0.6.6
Requires-Dist: resvg-py<1,>=0.5
Requires-Dist: segno<2,>=1.6
Requires-Dist: shapely<3,>=2.1.2
Requires-Dist: uharfbuzz<1,>=0.52
Provides-Extra: anthropic
Requires-Dist: anthropic<2,>=1.11; extra == 'anthropic'
Provides-Extra: dev
Requires-Dist: anthropic<2,>=1.11; extra == 'dev'
Requires-Dist: fastapi<1,>=0.115; extra == 'dev'
Requires-Dist: mcp<2,>=1.21.1; extra == 'dev'
Requires-Dist: pypdf<7,>=5; extra == 'dev'
Requires-Dist: pypdfium2<6,>=5.0; extra == 'dev'
Requires-Dist: pytest-xdist<4,>=3.6; extra == 'dev'
Requires-Dist: pytest<10,>=8; extra == 'dev'
Requires-Dist: python-pptx<2,>=1.0; extra == 'dev'
Requires-Dist: pyyaml<7,>=6.0.2; extra == 'dev'
Requires-Dist: ruff>=0.12; extra == 'dev'
Requires-Dist: uvicorn<1,>=0.30; extra == 'dev'
Provides-Extra: lottie-test
Requires-Dist: rlottie-python<2,>=1.3.8; extra == 'lottie-test'
Provides-Extra: pdf
Requires-Dist: pypdfium2<6,>=5.0; extra == 'pdf'
Provides-Extra: re2
Requires-Dist: google-re2<2,>=1.1; extra == 're2'
Provides-Extra: server
Requires-Dist: fastapi<1,>=0.115; extra == 'server'
Requires-Dist: uvicorn<1,>=0.30; extra == 'server'
Description-Content-Type: text/markdown

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="assets/brand/ripple/SVG/horizontal-reverse.svg">
  <img src="assets/brand/ripple/SVG/horizontal-color.svg" alt="Vixl" width="320">
</picture>

# Vixl

**Ideas become editable.** A design engine for AI agents.

Ask an AI for a poster and you usually get a picture of a poster. Vixl gives your agent the
real thing: layers, live text, fonts, a history you can rewind, and a `.vixl` master you can
still change next week. It checks contrast, spacing and bleed before export, so nobody finds
out at the print shop.

It runs through MCP, CLI, Python or REST, so there is no canvas to open. People can drive the same
interfaces; the product is built for the agent at the keyboard.

Pre-1.0 and in Beta: breaking changes are allowed and noted in the [changelog](CHANGELOG.md#0270).
Source version: **0.36.0** (release pending). Run `vixl --version` to check your runtime; record the Git commit when using a
source checkout.

**Who can use Vixl for free.** Individuals, and companies that have fewer than 100 people working for them
(employees and independent contractors together) **and** had less than US$1,000,000 in revenue in the prior tax year.
Both conditions must hold, and the revenue figure is in 2019 dollars, adjusted for inflation. Larger companies need a
commercial licence. Is Vixl open source? No: it is source-available under the
[PolyForm Small Business License 1.0.0](LICENSE). [Licensing](docs/reference/licensing.md) explains the terms, and
[Is Vixl a fit?](docs/getting-started.md#is-vixl-a-fit) lists the other limits to know before you adopt it.

**[Documentation home](docs/README.md)** · [Getting started](docs/getting-started.md) ·
[Visual gallery](docs/gallery.md) · [Use cases](docs/use-cases.md) · [Command reference](docs/reference/commands.md) ·
[Troubleshooting](docs/troubleshooting.md) · [Downloads](https://github.com/jxburros/Vixl/releases/latest) · [Examples and showcases](https://github.com/jxburros/VixlExamples)

![A diagram created entirely with editable Vixl layers](docs/assets/generated/workflow.png)

## Programmable. Editable. Checked.

- **Programmable.** One JSON operation format behind MCP, the CLI, Python and REST. Batches of up to
  10,000 operations apply atomically, so a half-finished edit never lands.
- **Editable.** Text stays text, effects stay a stack, and history branches. Charts open in PowerPoint
  as real charts, forms export as PDFs people can fill in, and every piece ships with its master.
- **Checked.** Contrast, spacing, bounds, fonts, trim and bleed are measured, your brief can be saved as
  a test suite, and you preview the render before anything is exported.

## Start with an agent

Install the package, point your agent at a workspace folder and give it a brief. The package is `vixl-engine`;
the command and the Python import are `vixl`:

```bash
python -m pip install vixl-engine
vixl mcp --workspace .
```

[Install for your agent](#install-for-your-agent) has the setup for each client; [Install](#install) covers the
Windows installer, macOS and Linux, and a source checkout.

Then ask for something with a deadline in it: "A 1080x1350 launch poster for the Saturday market, our brand
colours, headline *Fresh Saturday*, and a version for stories." The agent creates the document, applies
operations, checks contrast and spacing, looks at the render, and hands you the `.vixl` master plus exports.
Change the headline next week and nothing is redrawn.

For a pinned release with uv (the newest version on PyPI, which cannot be replaced once published; the source above may be ahead of it):

```bash
uvx --from vixl-engine==0.33.3 vixl mcp --workspace .
```

The workspace must exist. The server offers seven tools (`vixl_document`, `vixl_apply`, `vixl_check`,
`vixl_render`, `vixl_export`, `vixl_reference`, `vixl_job`) in about 7,700 characters of tool list; agents
look up operation fields and rarer options on demand with `vixl_reference`
([MCP tool surface](docs/reference/mcp-toolsets.md)). Use `--tools ai` for a second server with the provider-backed
tools, or `--http` for Streamable HTTP.
[Interface setup](docs/reference/interfaces.md) includes client JSON, multi-document sessions,
REST authentication, imports and live human review (`vixl -p hello.vixl view`).

The [Vixl agent skill](skills/vixl/SKILL.md) teaches the inspect → apply → check → finishing pass
(critique, one fix batch, a real-size look) → export loop, recipes and operation details. Copy its folder to your agent's skills
directory. AI functions use explicitly configured providers; Vixl contains no model weights.

## Install for your agent

Each row starts the same local MCP server on a folder of your choice. The rows that run `uvx` need
[uv](https://docs.astral.sh/uv/getting-started/installation/), which fetches the pinned release from PyPI on first
use; nothing else is installed by hand.

| Client | What to do |
| --- | --- |
| Claude Desktop | Download `vixl.mcpb` from the [latest release](https://github.com/jxburros/Vixl/releases/latest), open it and choose a workspace folder. |
| Claude Code | Add this repository as a plugin marketplace and install the plugin: the MCP server plus the design skill. |
| Cursor | Save the Cursor configuration below as `.cursor/mcp.json` in your project. |
| VS Code | Save the VS Code configuration below as `.vscode/mcp.json` in your workspace. |
| Codex | Add the Codex table below to `~/.codex/config.toml`. |
| Any other MCP client | Command `uvx` with the same arguments, or `vixl mcp --workspace DIR` after `python -m pip install vixl-engine`. |

Claude Code:

```text
/plugin marketplace add jxburros/Vixl
/plugin install vixl@vixl
```

Cursor (`.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "vixl": {
      "command": "uvx",
      "args": ["--from", "vixl-engine==0.33.3", "vixl", "mcp", "--workspace", "${workspaceFolder}"]
    }
  }
}
```

VS Code (`.vscode/mcp.json`):

```json
{
  "servers": {
    "vixl": {
      "type": "stdio",
      "command": "uvx",
      "args": ["--from", "vixl-engine==0.33.3", "vixl", "mcp", "--workspace", "${workspaceFolder}"]
    }
  }
}
```

Codex (`~/.codex/config.toml`; the server works in the folder Codex is started in):

```toml
[mcp_servers.vixl]
command = "uvx"
args = ["--from", "vixl-engine==0.33.3", "vixl", "mcp", "--workspace", "."]
```

The workspace folder must exist. Restart the client after changing its configuration, then ask the agent to call
`vixl_reference()`. [Interface setup](docs/reference/interfaces.md#mcp) has the options (a second server for the
AI tools, HTTP, several agents on one server).

## What you can make

Each row is a place to start; the [use-case catalog](docs/use-cases.md) and the
[documentation home](docs/README.md) list the rest, grouped by how long each takes.

| Goal | Start here |
| --- | --- |
| Posters, social graphics and branded variants | [Campaign tutorial](docs/tutorials/campaign.md), [sizes and layouts](docs/guides/layout/sizes-and-layouts.md), [brands](docs/guides/layout/brands.md) |
| Charts, diagrams and infographics | [Editable chart tutorial](docs/tutorials/charts.md), [flowcharts and diagrams](docs/guides/shapes/diagrams.md) |
| Decks and booklets that open in PowerPoint | [Forms and decks tutorial](docs/tutorials/forms-and-decks.md), [slides](docs/guides/output/slides.md) |
| Fillable PDF forms, filled from a CSV | [Forms](docs/guides/output/forms.md) |
| Cards, certificates and tickets from a template and a CSV, rendered on your own machine | [Moving from a template-rendering API](docs/guides/automation/template-api-migration.md), [checked production](docs/guides/automation/production.md) |
| Print-ready files, checked before the print shop | [Color and print](docs/guides/finishing/color-and-print.md), [checking designs in CI](docs/guides/automation/ci.md), [outcomes and repair](docs/reference/agent-trust.md) |
| Designs from Figma, SVG and PDF, and back again | [Figma import](docs/guides/images/figma.md), [SVG and PDF import](docs/guides/output/exporting.md#importing-svg-and-pdf), [the `.vixl` file format](docs/reference/file-format.md) |
| Motion, sprites and lyric videos | [Motion tutorial](docs/tutorials/motion.md), [lyric videos](docs/guides/motion/lyric-video.md) |
| Photo edits, drawings and painted artwork | [Filters](docs/guides/images/artistic-filters.md), [drawing cleanup](docs/guides/images/drawing.md), [brushes](docs/guides/motion/brushes-and-animation.md) |
| AI generation and vision | [Provider setup](docs/reference/providers.md); external services required |

## Install

On Windows, download the latest **Vixl-Setup-VERSION-windows-x64.exe** from
[GitHub Releases](https://github.com/jxburros/Vixl/releases/latest). It bundles Python,
REST and MCP, installs for your user account, and supports verified automatic updates.
If `vixl` is not found, reopen the terminal or see [PATH repair](docs/reference/releases.md#using-the-current-terminal).

```text
vixl --version
vixl update --check
vixl update
```

On macOS and Linux, install the published package as a command-line tool with Python 3.11+:

```text
uv tool install vixl-engine        # or: pipx install vixl-engine
vixl --version
uv tool upgrade vixl-engine        # or: pipx upgrade vixl-engine
```

For source development, use Python 3.11+:

```bash
git clone https://github.com/jxburros/Vixl.git
cd Vixl
python -m venv .venv
# macOS/Linux:
source .venv/bin/activate
# Windows PowerShell: .venv\Scripts\Activate.ps1
python -m pip install -e '.[server,pdf]'
vixl --version
```

The core install is `python -m pip install -e .`; MCP is included. Optional `server`
adds REST/live review, and `pdf` adds PDF page import. Pip installs use pip-managed
updates. [Installation and releases](docs/reference/releases.md) covers pinned versions, Windows
rollback, agent bundles and packaging.

## Or drive it yourself

Six commands, one checked design, still fully editable. The agent runs the same operations:

```bash
vixl new 800x600 --background '#18283b' -o hello.vixl
vixl -p hello.vixl text add 'Hello, Vixl' --name title --size 64 --color '#ffffff'
vixl -p hello.vixl align title center
vixl -p hello.vixl check --checks bounds contrast
vixl -p hello.vixl render --out hello-preview.png
vixl -p hello.vixl export hello.png
```

In a terminal each command prints a short summary; piped output, `--json` and `VIXL_JSON=1` give the full JSON.
Editing commands autosave; pass `-p` explicitly in scripts. Inspect the preview before
handoff. The [first-design walkthrough](docs/getting-started.md) explains undo,
checkpoints, JSON batches and Python. Use the bundled font for proofing; choose suitable
[typography](docs/guides/text/typography.md) for finished work. A new document installs its rolled font pairing
with its first text (from the font cache, else Google Fonts); `VIXL_AUTO_FONTS=cache|off` or `VIXL_OFFLINE=1`
keeps that off the network.

## Use Python

```python
from vixl import Project

project = Project(800, 600, background="#18283b")
project.apply([
    {"type": "text", "name": "title", "text": "Hello, Vixl", "size": 64, "color": "#ffffff"},
    {"type": "align", "target": "title", "alignment": "center"},
])
project.save("hello.vixl")
project.export("hello.png")
```

All interfaces share canonical operations and atomic batches. Direct Python requires
an explicit save. See [document concepts](docs/concepts.md), [operation semantics](docs/reference/operations.md)
and [Python/REST/MCP](docs/reference/interfaces.md) for deeper integration.

## Examples and development

![Actual Vixl chart with illustrative data](docs/assets/generated/chart.png)

[Editable chart](docs/assets/generated/chart.vixl) · [Recipe](docs/assets/generated/chart.json)
· [Visual capability gallery](docs/gallery.md)

```bash
python -m pip install -e '.[dev]'
python examples/build_documentation.py
python examples/build_poster.py --output examples/output
python examples/build_sprite.py --output examples/output/sprite
python examples/build_filter_gallery.py
python examples/build_organic_gallery.py
python examples/build_irregular_gallery.py
python examples/build_drawing_pipeline.py
python -m pytest -q
```

The documentation builder creates diagrams, charts, artwork, forms, slides and motion
without AI credentials or network access. Every new visual has an editable master and
operation recipe; see [documentation maintenance](docs/project/documentation-maintenance.md).
Showcases, explorations, the marketing pack, promo films and evaluation results live in
[VixlExamples](https://github.com/jxburros/VixlExamples), and
[agent evaluations](evals/README.md) measure design tasks. Contributors: [CONTRIBUTING](CONTRIBUTING.md) has the rules,
the [roadmap](ROADMAP.md) is the development plan, and the [project documentation](docs/project/README.md) holds
decision records, render parity and brand voice.

Vixl edits in RGBA8 sRGB and exports supported vectors or documented raster fallbacks.
CMYK is an export setting. RAW development, spot-color editing, XCF import, 16-bit or CMYK PSD
import (8-bit RGB layered PSD imports as image layers; PSD export is layered pixels, with opt-in type layers for plain text) and a
desktop GUI are outside this implementation. Review
[coverage and limitations](docs/reference/coverage.md), [export behavior](docs/guides/output/exporting.md) and
[architecture](docs/reference/architecture.md) before choosing it for a workflow.
The [original product specification](docs/project/product-spec.md) is retained as design context.
The [Ripple identity kit](assets/brand/ripple/START-HERE.md) includes logos,
icons, an animated wordmark, usage guidance and editable masters.

## Licence

Vixl is source-available, not open source, under the [PolyForm Small Business License 1.0.0](LICENSE): free for
individuals and for companies that have fewer than 100 people (employees and independent contractors together) and
had less than US$1,000,000 in revenue in the prior tax year, in 2019 dollars adjusted for inflation. A company must
meet both conditions; larger companies need a commercial licence from the licensor (to ask about one, open an issue
or contact [@jxburros](https://github.com/jxburros) on GitHub). [Licensing](docs/reference/licensing.md) explains
the terms in plain words; the licence text is what counts. Copies of Vixl must carry the licence and
its `Required Notice:` lines. If Vixl helped make your work, please credit it ("Made with Vixl").

Bundled assets keep their own terms: the Noto Sans proofing font and the Noto Sans Symbols, Noto Sans Symbols 2 and
Noto Sans Math fallback fonts ([SIL OFL 1.1](src/vixl/data/NOTO-LICENSE.txt)), the DejaVu Sans fallback font
([font licence](src/vixl/data/FONT-LICENSE.txt)),
the xkcd colour names (CC0), and VIXL Line emoji artwork adapted from OpenMoji
([CC BY-SA 4.0](src/vixl/data/emojis/LICENSE.txt); [Unicode data license](src/vixl/data/emojis/UNICODE-LICENSE.txt)).

## Unified release procedure

`release.json` is the authoritative release manifest. Keep configured embedded versions synchronized and advance affected apps (patch by default) before merging changes into main. The first adoption establishes a baseline; later PRs must pass **Release version validation**.

Use **Actions → Release → Run workflow** from **main**, choose stable or preview, and leave **dry_run** enabled first. Only apps ahead of their published version in their own namespace are selected. Build/test/sign all required packages before publishing. Tag pushes and merges no longer publish migrated apps automatically. After inspecting the dry run, dispatch with dry_run disabled and satisfy configured approvals. Published versions are never overwritten; use a new version for a correction.

See [.release/README.md](.release/README.md) for this repository's inventory, credentials, compatibility, and validation limits. Shared implementation: [JX Holdings release infrastructure](https://github.com/JX-Holdings-LLC/release-infrastructure).

<!-- mcp-name: io.github.jxburros/vixl -->
