A LOCAL-FIRST AI WORKSHOP FOR AUTONOMOUS CODING
selfware
Run it on your own hardware. Keep your code private. Improve your software with safety rails.
No cloud account required. Open source. MIT. v0.9.7
Just want the install steps? Skip to Quick Start โ
"Try it" runs in a 15-min sandboxed container on our server, currently backed by DeepSeek V4 Flash via OpenRouter while our GPU is busy. The CLI itself is local-first โ install it to keep everything on your hardware.
WHAT WE BELIEVE
Intelligence should be owned, not rented.
Every API call is a dependency. Every subscription is a leash. Every cloud model is someone else's computer reading your code. Selfware is the anti-singularity measure: intelligence that runs on your hardware, improves your software, and answers to no one.
We're building toward a public-benefit structure โ self-hosted tools that keep capability in the hands of individuals and small teams. Preserve privacy. Resist centralization-by-convenience.
What data leaves my machine?
Out of the box, your prompts and the code the agent reads go to our free hosted model at llm.selfware.design — that is how it works with zero setup. Point endpoint at Ollama, vLLM or llama.cpp and nothing leaves your machine. Web tools and HTTP calls are explicit opt-in, shown in logs.
WHY LOCAL-FIRST
Cloud AI is convenient.
That convenience has a cost.
Every cloud model centralizes power, data, and capability. Selfware is built for personal sovereignty: you own the runtime, your context, and your tools.
Your model, your machine
Run inference on your own GPU and your source code never leaves your hardware. No uploads, no training data extraction. The hosted default is there for when you don't have one.
Works with local OpenAI-compatible endpoints
Ollama, vLLM, LM Studio, llama.cpp. Bring your own model, run it your way.
Configurable safety boundaries
Path allow/deny, command filtering, autonomy levels. You decide what it can and can't do.
SEE IT WORK
Point it at a codebase.
Watch it think.
Selfware analyzed a 42,000-line game server, found 3 critical bugs, and fixed them in a single autonomous run.
No prompting. No hand-holding. Just selfware run and a task description.
Four roles today. Two on the roadmap.
Module design, refactoring, dependency mapping. Plans the structure before anyone writes a line.
Implementation and feature development. Writes the code that passes the Tester's scrutiny.
Test generation, verification gates. Every mutation must survive the test suite.
Code review, quality checks. Catches what the Coder missed and the Tester didn't cover.
Planned. Build pipelines, deployment, infrastructure. Keeps the workshop running.
Planned. Vulnerability scanning, safety audits. Guards the protected groves.
Today selfware multi-chat sends one task to Architect, Coder, Tester and Reviewer in parallel and lines up their answers side by side — one model call each, no tools yet. More roles join mid-session with /add. Tool-using workers are the next milestone.
Measured. Not promised.
12 scenarios scored in the current benchmark round. Easy to Expert. 27 rounds, 323 runs. Real Rust projects, real compilation, real test suites.
First 12 (through async_race) are the scored SAB round above. The remaining 8 are newer scenarios not yet included in a scored run.
PHASE TRANSITIONS โ HOW WE GOT HERE
Small constraint changes โ large emergent behavior shifts.
27 rounds on Qwen3-Coder-Next FP8. No cherry-picking. Full run logs on GitHub.
VISUAL LANGUAGE MODEL BENCHMARK
It sees TUIs. It reads flamegraphs.
It writes layouts from mockups.
19 scenarios across 6 difficulty levels. Three models tested on real hardware. PNG fixtures generated from TUI screenshots.
| LEVEL | Qwen3.5-9B | Qwen3-VL-30B | Qwen3.5-35B |
|---|---|---|---|
| L1 TUI State Easy | 88% BLOOM | 62% GROW | 50% WILT |
| L2 Diagnostics Medium | 39% WILT | 67% GROW | 67% GROW |
| L3 Architecture Hard | 30% WILT | 47% GROW | 63% BLOOM |
| L4 Profiling VeryHard | 100% BLOOM | 100% BLOOM | 100% BLOOM |
| L5 Layout Extreme | 85% BLOOM | 100% BLOOM | 100% BLOOM |
| Mega Evolution Mega | 53% BLOOM | 33% WILT | 76% BLOOM |
| Overall | 66% BLOOM | 68% BLOOM | 76% BLOOM |
All 3 models hit 100% BLOOM on L4 Profiling. The 35B model was first to pass Hard threshold (60%) on L3 Architecture.
WOLFRAM'S FOUR CLASSES
How selfware
manages complexity.
Static output. No adaptation, no learning. Dead ends.
Rigid patterns. Maximum order, zero flexibility. Traditional CI/CD falls here.
Unconstrained LLM output โ hallucinations, inconsistent logic, no guardrails.
Structured creativity. PDVR cognition + safety constraints = adaptable but controlled.
โ Toggle phases. Watch the hero particles respond.
PHASE TRANSITION MAP
CYCLE
Two feedback
loops.
Inner loop: PDVR cognitive cycle. Working memory tracks hypotheses. Episodic memory persists across sessions.
Outer loop: Evolution Engine evaluates proposed changes against test suites and fitness benchmarks. Only improvements that pass all gates are kept.
COMPOSITE FITNESS FUNCTION
VISUAL INTELLIGENCE
It can see.
Screenshot capture works today. Vision analysis and regression diffs are experimental, and the scored design loop is a roadmap preview of where they are going.
Fitness is sacred.
Entropy is removing constraints. Organized complexity is adding the right constraints.
IMMUTABLE INVARIANTS
PROTECTED GROVES
The evaluator cannot be modified by the thing being evaluated.
SAFETY RAILS
What it can't do matters
as much as what it can.
Path allow/deny
File access is gated by configurable path rules. No wildcard defaults.
Command filtering
Dangerous commands (rm -rf, sudo, etc.) are blocked unless explicitly allowed.
Protected invariants
Safety modules, fitness functions, and evaluation code are immutable. The system cannot modify its own guardrails.
KNOWN LIMITATIONS โพ
SELFWARE DOCTOR โ SYSTEM DIAGNOSTICS
selfware doctor audits your toolchain, security posture, and dependencies before you start.
YOUR TOOLKIT
90+ tools. One binary.
Swarm Roadmap
Architect, Coder, Tester and Reviewer answer the same task in parallel for side-by-side comparison; add roles with /add. Tool-using workers are the next milestone.
Evolution Engine
LLM proposes edits to its own source. Compile, test, evaluate fitness. Only BLOOMs survive.
PDVR Cognition
Plan โ Do โ Verify โ Reflect. Working memory + episodic memory across sessions.
Digital Garden
Files as plants with growth stages. selfware garden visualizes codebase health.
Frost Recovery
Checkpoint seeds survive crashes. Resume any session from last known state.
Safety Guardians
Path validation, command filtering, SSRF protection, symlink guards. 4 execution modes, from ask-first to yolo.
Grounded Review
Reads the whole repo before it answers. On selfware's own ~320-file core: 100% of lines read in 1.37 h, 162 citations checked, 0 wrong. Runs out of budget? It says โ ๏ธ PARTIAL and lists what it skipped.
Proved in Lean
The agent loop, review pipeline, completion gate, path safety and evolution bounds are modelled in Lean and checked against the Rust code in CI. The proofs found six real bugs.
Trust Boundaries
Clone something you didn't write and its git hooks, filters and config-level programs never run. Repo-local hooks, MCP servers and safety overrides wait for an explicit trust.
Also: analyze ยท garden ยท journal ยท status ยท workflow ยท dashboard ยท mcp ยท llm-doctor
WHAT IT LOOKS LIKE
BATTLE-TESTED
42,000 lines of Rust.
One command.
A real-time multiplayer game server โ WebRTC networking, SIMD physics, 16-agent AI, FlatBuffers protocol. Selfware scanned it, found critical vulnerabilities, and proposed fixes.
BUGS FOUND AUTONOMOUSLY
WHAT SELFWARE DID
Selfware identified these issues and proposed fixes. Human review was applied before merging. View the project โ
Be first to know when v1.0 ships.
Changelog drops, hardware guides, and community builds. One email when it matters.
HOW IT COMPARES
The only tool that owns its own loop.
When local LLMs are good enough โ why rent intelligence?
| Selfware | Cursor | Copilot | Aider | SWE-Agent | |
|---|---|---|---|---|---|
| Runs locally | โ | โ | โ | โ | โ |
| Self-improving | โ | โ | โ | โ | โ |
| Multi-agent (roadmap) | โ | โ | โ | โ | โ |
| Visual agent | โ | โ | โ | โ | โ |
| Your data stays local | โ | โ | โ | โ | โ |
| No subscription | โ | โ | โ | โ | โ |
| Any LLM backend | โ | โ | โ | โ | โ |
| Evolution engine | โ | โ | โ | โ | โ |
| Codebase health viz | โ | โ | โ | โ | โ |
| Agentic benchmark | โ | โ | โ | โ | โ |
CLOUD AI
LOCAL (RTX 4090)
150W ร 8h/day ร $0.12/kWh. GPU amortized over 5 years = $320/yr. Still cheaper than cloud year 1.
EARLY ADOPTERS
What builders are saying.
From early testers during private beta.
RECENT ACTIVITY
view all โGET STARTED
Three commands.
Your workshop is running.
From crates.io. No Rust? Signed binaries for Linux, macOS and Windows.
Works with zero config on our free hosted model. No API key. Or selfware run <task> for autonomous mode.
Optional. Point it at your own model and nothing leaves your machine.
Works with any OpenAI-compatible endpoint โ Ollama, vLLM, LM Studio, llama.cpp, SGLang. Hosted default: qwen38-flash-next. Locally, Qwen3.5 — sized to your GPU below.
SAFE CONFIG
Start with least-privilege paths. Widen as you build trust.
CAN I RUN IT?
If you have a GPU, you're ready.
Everyday coding, moderate tasks
Full SAB scenarios, multi-agent
Best value. Full evolution engine.
Any OpenAI-compatible endpoint. No API keys to cloud services needed.
BEGIN
fully local: ollama run qwen3.5:4b && selfware init · prebuilt binaries
MIT licensed. Linux, macOS, Windows.
Your hardware. Your data. Your loop.
AT THE EDGE OF CHAOS
Simple rules. Iterated.
Until structure appears.
Conway's Game of Life โ three rules, infinite complexity. Nobody designs the gliders or the oscillators. They emerge.
That is the bet behind selfware's swarm roadmap: small, verified loops, composed. The behavior we want is a property of the system, not any single agent.
GAME OF LIFE โ NEW ยท MATURE
Click 'reseed' ยท Watch order emerge
OPEN SOURCE
Built in the open. Join the loop.
Selfware is MIT licensed. Contributions, bug reports, and ideas are welcome.
Join the inner loop.
Evolution logs, benchmark drops, hardware guides. The signal, not the noise.
No spam. Stored locally on this server. Your data never leaves.