Bridging diagrams and code via a strict rules engine to stop AI errors.
Your entire workspace, on one canvas. | AI that ships. No more hallucinations.
▶ Try it live — app.solarch.dev · Learn more at solarch.dev · Or self-host this repo
No install, no Docker — open the app and start drawing. Self-host below if you want your own box.
Why Solarch? • Gallery • Features • Philosophy • Try it • Self-Hosting • Docs • Get Involved
Most AI tools generate code and hope the architecture catches up. Solarch flips that.
It generates architecture first — grounded in a library of canonical patterns, validated by a strict Rules Engine, refined through a self-correcting loop. The AI proposes; the rules verify; only correct graphs ever land on the canvas.
- One canvas for the whole system: 21 node families — controllers, services, repositories, tables, DTOs, queues — and the 16 semantic edges between them.
- AI Architect grounded in GraphRAG: an agentic LLM pipeline pulls from a vector-indexed pattern library. It never starts from a blank context, never invents an API surface.
- Rules Engine that refuses to lie: 32 whitelist rules, 7 anti-patterns, 3 conditional checks. Frontends can't talk to tables. Controllers can't reach repositories. Period.
- Self-correcting loop: Rules rejection feeds back into the agent; the AI revises and tries again until the graph is clean — or never commits.
- Diagram → NestJS code: deterministic codegen scaffold from the graph, plus optional Surgical AI for method bodies.
- Four surfaces, one project: Canvas, Code, API, and Docs — switch from the top bar without losing context.
- Live Instruct Mode: Switch modes and chat with your design. Every answer cites the exact nodes; chips focus the canvas in real time.
- Single-home + reference tabs: Each node lives in one tab. Other tabs import it as a reference, not a copy. One source of truth, multiple views.
- Type-safe from DB to button: Zod schemas at the backend, OpenAPI in the middle,
openapi-fetchon the frontend. The API contract is a compile-time check.
Switch to Instruct mode and chat with your design. Every citation is a live chip that focuses the canvas with a soft halo.
AI & Rules
|
Workspace & UI
|
Solarch doesn't fight AI hallucination — it makes hallucination structurally impossible.
The industry has spent two years asking LLMs to write code. The result: confident hallucinations, ghost APIs, codebases that compile but lie. Hallucination isn't a tuning problem — it's a category error.
Architecture is the level where structure is provable. A controller calls a service. A service queries a repository. A repository writes a table. These relationships are either present or not. They can't be hallucinated.
Solarch stacks three layers that, together, leave no room for an AI to invent something that doesn't exist:
- GraphRAG. The agent starts every request by retrieving canonical patterns from a vector-indexed library. No blank context, no improvisation from zero.
- Rules Engine. Every mutation passes a deterministic gate — 32 whitelist rules, 7 anti-patterns, 3 conditional checks. Illegal edges never land. The schema can't be coerced.
- Self-correction loop. When the Rules Engine rejects a draft, the violation message feeds back into the agent state. The AI revises until the graph is clean, or the request terminates without a commit.
The output isn't trustworthy code. It's provably correct structure.
Provable structure. Targeted intelligence. Zero hallucinated APIs.
Don't want to clone, configure, or run Docker? Use the hosted product:
| Link | What you get | |
|---|---|---|
| App | app.solarch.dev | Full canvas — sign up and build in the browser. Always up to date. |
| Website | solarch.dev | Product overview, demos, updates. |
Zero local setup. If that fits you, stop reading here and open the app.
Want the stack on your machine — your LLM key, your data, no vendor? This repository is the full OSS bundle: NestJS backend, canvas UI, vector-native Neo4j, local embeddings.
git clone https://github.com/solarch-dev/solarch.git
cd solarch
./install.sh # Linux/macOS — Neo4j password + AI provider wizard
docker compose up --build
# → http://localhost:3000No login screen. Bring your own LLM API key. By default Docker binds to 127.0.0.1 only.
Windows: ./install.ps1, then the same docker compose command.
| Need | Details |
|---|---|
| Docker + Compose v2 | Required |
| LLM provider | Tool-calling model — see AI providers |
| LAN / VPS | Enable HTTP Basic Auth — Self-hosting guide |
Hosted alternative: app.solarch.dev · solarch.dev
Full guides live in docs/:
| Guide | Topics |
|---|---|
| Getting started | First run, four surfaces, API keys |
| Canvas & Rules Engine | Nodes, edges, error codes |
| AI Architect | Agent, Instruct, GraphRAG |
| Codegen | NestJS scaffold, Surgical AI |
| CLI & API keys | solarch login, MCP |
| Self-hosting | Env, security, rate limits |
| Development | pnpm dev, tests |
| Deployment | Caddy, systemd, production |
CLI / MCP / VS Code extension: solarch-tools.
We welcome feedback, discussions, and contributions.
- 💬 GitHub Discussions — Feature requests, design feedback, questions.
- 🐛 Issues — Bug reports, regressions.
- 🛠️ Contributing Guide — Local setup, conventions, commit style.
PolyForm Noncommercial License 1.0.0 — © 2026 Ugur Akdogan.
Free for personal use, research, education, and non-profit organizations. Source is open: fork, learn, modify, share — go for it.
Commercial use requires a separate license — reach out at info@solidea.tech.





