Skip to content

Coding Agent Development

speedyrulz edited this page Nov 9, 2026 · 3 revisions

Development

npm install
node node_modules/electron/install.js   # first time only: Electron downloads its binary lazily
npm run dev          # run with hot reload
npm test             # unit tests
npm run test:e2e     # builds, then drives the app with Playwright against a mock RulZ server
npm run typecheck
npm run build:win    # installer → dist/RulZ-Coding-Agent-Setup-<version>.exe

Real-model check

This needs RulZ LLM Suite serving a model. It builds a to-do app, adds dark mode, undoes it, and writes test-results/real-model.md:

$env:RULZ_REAL = '1'; npx vitest run --config vitest.e2e.config.ts real-model

Add $env:RULZ_REAL_REA = '1' to also run the REA check, which needs REA set up in RulZ LLM Suite.

Layout

Folder What's there
src/main Electron main process: agent loop (agent/), RulZ client (rulz/), projects and Undo (project/), tool servers (mcp/), phone access (remote/), settings
src/renderer React UI: pages, components (including ModelSettings.tsx), stores
src/shared Types, defaults and IPC channels shared by both
tests Unit tests, e2e tests and the mock RulZ server (tests/helpers/mockRulz.ts)

Releases

The app lives in apps/rulz-coding-agent of the suite repository. Pushing a tag named coding-agent-v<version> (for example coding-agent-v0.18.1) runs the suite's Apps workflow (.github/workflows/apps.yml): it type-checks, runs the unit tests, builds the installer and attaches it to a GitHub Release in the suite repository, which is where the launcher downloads it from. The tag's version must match version in package.json, or the release stops.

RulZ AI Tools Suite

The apps

RulzTrainer

README (full reference) Releases

Rulz Training Captioner

Getting started

Using the app

Models and GPUs

Reference

GitHub repository

RulZ LLM Suite

Using the app

Reference

Contributing


Releases · Issues · Source

RulZ Coding Agent

Using the app

Reference

Contributing


Releases · Issues · Source

RulZ Image Organizer

Using RulZ

More

RulZ Image Tournament

Using the app

Developers

RulZ Image Crawler

Getting started

Using the app

Help

README (full reference)

RulZ Image Preparer

Getting started

Using the app

Reference

README (full reference)

RulZ Image Grid

Using the app

Help

README (full reference)

RulZ Huggingface Manager

Using the app

Help

README (full reference)

RulZ Simple Video Clip Extractor

Getting started

User guide

Help

Clone this wiki locally