Monolithic prompts + paid retries.
Entire repositories become prompt context. Failed compile attempts become paid token churn. Rate limits interrupt the loop, while the local workstation retains little durable learning.
Stop burning $50–$100/mo on API tokens just for LLMs to hallucinate syntax errors. Coding Sahayi orchestrates specialized agent swarms locally over ConPTY pseudo-terminals, self-corrects broken unit tests autonomously, and continuously fine-tunes on your verified patches.
Sahayi moves the iteration loop onto the machine doing the work: inspect the repository locally, patch narrowly, compile, test, inspect the trace, and repeat without sending the workspace through a cloud meter.
Entire repositories become prompt context. Failed compile attempts become paid token churn. Rate limits interrupt the loop, while the local workstation retains little durable learning.
Keep inference, test feedback, and memory on the workstation. Direct HTTP completions point straight to port 11434 with zero key requirements.
Four specialist roles form a closed execution loop. Planning, patching, verification, and memory stay distinct, reducing context drift and making each state transition observable.
ArchitectAnalyzes Roslyn AST syntax trees and project dependency graphs to plan atomic tasks before a line of implementation is touched.
WorkerWrites surgical code patches against the selected scope, keeping edits small enough to reason about and reducing context drift across files.
CriticSpawns interactive Windows ConPTY terminals via Pty.Net, runs dotnet test, captures assertion stack traces in real time, and feeds failures back until the suite is green.
ScribeCommits working solutions to an EF Core SQLite memory bank, preserving verified patches as durable local experience for the training loop.
The training pipeline starts from verified IDE outcomes rather than a generic cloud corpus: successful patches, failures, and the resulting fixes become structured local data.
Credit to Alpamys Makazhan (@MakazhanAlpamys): Soup's layer-streaming approach makes LoRA fine-tuning of 8B models practical on 4 GB consumer NVIDIA laptop GPUs (CUDA enabled), while day-to-day inference runs universally on your machine via Ollama.
Sahayi exposes the evidence behind an autonomous edit: inspect the proposed delta, watch the runtime signal, and keep the execution trace inside the IDE.
Configure local and cloud providers with strict priority routing, custom endpoints, and encrypted credentials managed directly from the WinUI 3 interface.
Monitor token usage, latency in milliseconds, status badges, and inspected raw logs while the swarm is active. The execution trail remains completely transparent.
Short, specific answers to the questions developers ask before running an autonomous agent against a real repository.
Coding Sahayi is a free, open-source, local-first autonomous coding IDE for Windows, built with WinUI 3 and .NET 8. It runs specialized agent swarms on your own machine, executes code through ConPTY pseudo-terminals, detects and repairs its own failing tests, and continuously fine-tunes a local model on the patches you approve.
No. Coding Sahayi is designed local-first: inference runs through local providers such as Ollama or LM Studio, repository memory is stored locally in EF Core and SQLite, and fine-tuning happens on your own hardware. Your code and prompts stay on your machine.
No. Coding Sahayi is free and MIT licensed, and it does not require a cloud API key or subscription. Because it uses local models, there are no per-token cloud charges. You do need a Windows machine with enough VRAM for the model you choose.
An autonomous coding swarm is a set of specialized agents that each own a narrow responsibility and cooperate on one task. Coding Sahayi uses four roles: an Architect that plans and decomposes the work, a Worker that writes the code, a Critic that reviews and challenges the result, and a Scribe that records the outcome. Narrow boundaries keep each agent's context small and its output verifiable.
Coding Sahayi runs builds and tests inside ConPTY pseudo-terminals and reads the real exit codes and output. When a test or compilation fails, that output is fed back to the swarm as evidence, which produces a targeted patch. The loop repeats until the suite passes or a configured retry limit is reached, and every proposed change is surfaced as a diff for review before it is applied.
Coding Sahayi orchestrates local providers including Ollama and LM Studio through a priority ladder, so you can rank which model handles which task and fall back automatically when one is unavailable. Any model exposed through those local endpoints can be used.
Continuous fine-tuning means the IDE exports the patches that were verified by a passing test suite into a training dataset and adapts a local model on that data. The model improves on patterns your own codebase has already proven correct, using low-VRAM training suitable for real developer hardware.
Coding Sahayi requires Windows 10 or Windows 11 and the .NET 8 runtime, since it is built with WinUI 3. A local model provider such as Ollama or LM Studio must be installed, and your available VRAM determines which model size you can run.
Creator & Architect
“Building an entire desktop IDE from scratch has been an intense learning curve, but seeing the agent catch its own compiler bugs and fix them autonomously makes the late nights worth it.”
Operating from Doha, Qatar. Directing enterprise software platforms, autonomous AI developer tools, and cross-border systems architecture.