Real-World Examples
Practical examples for common use cases. Copy, adapt, run.
Security Audit
Find and fix vulnerabilities in a web application:
# Create instance in auto mode
s0 init sec-audit \
--goal 'Find security vulnerabilities: injection, XSS, auth issues, secrets in code' \
--target /srv/webapp \
--mode auto \
--severity-threshold 0.5 \
--budget 30
# Run 10 passes
s0 run sec-audit --cycles 10 --verbose
# Review findings
s0 observe sec-audit
# See what was fixed
s0 actions sec-audit
# Merge fixes into main
s0 merge sec-audit --into mainURL and Website Analysis
Analyze a live website, API, or any URL-based target:
# Analyze a competitor's site
s0 init competitor-scan \
--goal 'Analyze site structure, technology stack, and UX patterns' \
--target https://competitor.com \
--mode observe
s0 run competitor-scan --cycles 5 --verbose
# Audit your own live API
s0 init api-audit \
--goal 'Test API endpoints for security, consistency, and documentation gaps' \
--target https://api.myapp.com \
--mode suggest
s0 run api-audit --cycles 8Code Quality Review
Ongoing quality improvement for a growing codebase:
# Start in observe mode
s0 init quality \
--goal 'Architecture issues, dead code, test coverage gaps, error handling' \
--mode observe
# Run a few passes to build understanding
s0 run quality --cycles 5
# Review, then upgrade to auto
s0 observe quality
s0 mode quality --set auto
# Install as daemon for ongoing improvement
s0 install quality --interval 1800Contract Review
Analyze a directory of legal documents:
s0 init contracts \
--goal 'Identify unfavorable clauses, liability risks, regulatory gaps' \
--target /path/to/contracts \
--mode suggest \
--severity-threshold 0.4
s0 run contracts --cycles 8 --verbose
s0 observe contractsResearch Paper Analysis
Audit methodology, citations, and statistical rigor:
s0 init research-audit \
--goal 'Audit methodology, cross-reference citations, check statistical validity' \
--target /path/to/papers \
--mode suggest \
--severity-threshold 0.3
s0 run research-audit --cycles 10 --verbose
s0 observe research-auditFull Product Build
Use System 0 to build and ship an entire product autonomously. This is how ViralEpic.net and 15+ other live products were created:
# Initialize with a product vision
s0 init build-product \
--goal 'Build a complete web application: architecture, backend, frontend, deployment' \
--mode auto \
--budget 100
# Let it run for hours
s0 run build-product --hours 4 --verbose
# Review what it built
s0 observe build-product
s0 actions build-productInfrastructure Audit
Review configuration files and infrastructure-as-code:
s0 init infra \
--goal 'Misconfigured services, security gaps, single points of failure' \
--target /path/to/infra \
--mode supervised
# Run and approve fixes one by one
s0 run infra --cycles 5
s0 approve infra --allSelf-Analysis
System 0 can analyze itself. This is how it improves its own codebase:
s0 init self-check \
--goal 'Find bugs, edge cases, and improvement opportunities' \
--target self \
--mode observe
s0 run self-check --cycles 5 --verboseContinuous 24/7 Operation
Install as a daemon for permanent autonomous improvement:
# Install daemon with hourly checks
s0 install my-project --interval 3600 --continuous
# Check daemon status
s0 status my-project
# View accumulated findings
s0 observe my-project
# Budget caps prevent runaway spending
s0 budget my-project