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.2 BETA
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?
By default, none. LLM inference runs locally. 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 code stays on your machine
No uploads, no training data extraction. Your source code never leaves your hardware.
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 deployed 6 agents to fix them โ all autonomously.
No prompting. No hand-holding. Just selfware run and a task description.
Six minds. One purpose.
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.
Build pipelines, deployment, infrastructure. Keeps the workshop running.
Vulnerability scanning, safety audits. Guards the protected groves.
Agents coordinate through shared memory and a task queue. Each runs its own PDVR cycle.
Measured. Not promised.
20 autonomous coding scenarios. Easy to Expert. 27 rounds, 323 runs. Real Rust projects, real compilation, real test suites.
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, vision analysis, visual regression testing. An autonomous feedback loop that captures, critiques, and iterates โ until the design scores above threshold.
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
54 tools. 6 commands. One binary.
Multi-Agent Swarm
6 specialized roles โ Architect, Coder, Tester, Reviewer, DevOps, Security. Up to 16 concurrent.
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 autonomy levels.
Also: analyze ยท journal ยท status ยท workflow ยท dashboard ยท demo
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 THE SWARM 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 | โ | โ | โ | โ | โ |
| 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.
Install from crates.io. Requires Rust toolchain.
Setup wizard โ choose your LLM endpoint and model.
Start coding. Or selfware run <task> for autonomous mode.
Works with any OpenAI-compatible endpoint โ Ollama, vLLM, LM Studio, llama.cpp, SGLang. Primary model: Qwen3.5 Coder.
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
or the quick path: ollama pull qwen3-coder && cargo install selfware && selfware init
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.
Selfware's multi-agent swarm works the same way. Individual agents follow PDVR cycles. The collective behavior 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.