Repository navigation
Coding Agent How It Works
speedyrulz edited this page Oct 28, 2026
·
1 revision
-
Connection: tries the saved address, then
127.0.0.1:1234and:1235. It tells RulZ apart from LM Studio by the extra fields RulZ adds to/v1/models(path,state, …). -
Agent loop: streams
/v1/chat/completionswith tools until the model answers without a tool call. The tools arelist_files,find_files,search_text,read_file,write_file,edit_file,delete_path,run_command,start_background_command,check_background_command,stop_background_command,check_pageandask_user, plusfind_toolsandload_toolswhen tool servers are set up. - Generation settings: each request carries the model's How it writes values over the recommended ones. The answer length is capped by Longest answer and by what's left of the context.
-
Thinking: sent as
chat_template_kwargs.enable_thinking,reasoning_effort,thinking_budget_tokensandreasoning_budget_message, like RulZ LLM Suite's chat. -
Load settings: read and saved through RulZ LLM Suite's
GET/POST /v1/models/{id}/load-config(0.3.5+). Only changed settings are sent, and saving restarts a loaded model. While you edit,"dry_run": truerequests fetch the memory estimate (0.3.7+). -
Checking pages:
check_pageopens a local address or an HTML file in the project in a hidden, sandboxed window with throwaway storage. It reports script errors, files that failed to load, and the text, buttons and fields the page shows. -
Qwen3-Coder fix: that model's original chat template prints earlier tool arguments in Python form, which llama.cpp can't parse. When
/propsshows that template, earlier arguments are re-sent as JSON text. -
Commands: run in
powershell.exe -NoProfile -NonInteractivein the project folder, with Node.js, npm and Python added toPATH. Output streams live, and Stop kills the whole process tree. -
Context: sizes are estimated at 3.2 characters per token, then corrected after every reply by the exact count llama.cpp reports (
timings.cache_n + prompt_n). - Undo: before each task, the project is committed to a private Git repository in the app's data folder. Without Git for Windows, files are copied aside before they're changed.
%APPDATA%\RulZ Coding Agent holds settings (including per-model generation settings), recent projects, and each project's history and restore points. Load settings are stored by RulZ LLM Suite in its own model-defaults.json.
RulZ AI Tools Suite
The apps
RulzTrainer
Rulz Training Captioner
Getting started
Using the app
Models and GPUs
Reference
RulZ LLM Suite
Using the app
Reference
Contributing
RulZ Coding Agent
Using the app
- Getting Started
- Projects and Tasks
- Approvals and Safety
- Model Settings
- Run and Share
- Notes and Instructions
- Extra Tools (MCP)
- Phone Access
Reference
Contributing
RulZ Image Organizer
Using RulZ
- Getting Started
- Library and Scanning
- People and Corrections
- Search and Filters
- Photo Viewer
- Appearance
More
RulZ Image Tournament
Using the app
- Getting Started
- How the Tournament Works
- Comparing Images
- Controls and Shortcuts
- Options and Settings
- Supported Formats
- Troubleshooting and FAQ
Developers
RulZ Image Crawler
Getting started
Using the app
Help
RulZ Image Preparer
Getting started
Using the app
Reference
RulZ Image Grid
Using the app
Help
RulZ Simple Video Clip Extractor
Getting started
User guide
- Playback and Marks
- Fixed-Length Clips
- Exporting
- Crop, Rotate and Flip
- Colour Matching
- Preferences and Themes
Help