This repository contains the open-source SROS Self-Compiler, a chat-native compiler that converts raw human intent into sealed, receipt-driven build artifacts.
This is not a chatbot prompt.
This is not an agent personality.
This is a compiler specification and runtime contract designed to run inside any modern chat environment. Read the Usage Guide for m
The SROS Self-Compiler is a deterministic intent compiler.
You give it intent.
It returns a sealed XML package containing:
- Canonicalized intent
- Governance decisions
- Receipts
- One or more
sr8_promptbuild artifacts
All outputs are:
- XML-only
- Schema-clean
- Receipt-driven
- OSS-safe (no fake precision, no numeric trust scores)
- Not a chatbot
- Not a generic “system prompt”
- Not tied to any specific LLM provider
- Not a SaaS
- Not an execution runtime
This repo stops at compilation.
Start here if you want to understand what this repo is and is not, what "compile:" means, and how OSS mode behaves:
FAQ.md
This is the step-by-step guide for using the compiler in real chats and what to do after you receive a promptunit_package:
SROS_COMPILER_USAGE_GUIDE.md
These are chat-only SRX ACE agents you can paste into any chat and run. They are intentionally designed as demos anyone can tailor:
agents/demo/
Included demos:
SRX.ACE.Demo.MVPBuilder.OSS.v1.xmlSRX.ACE.Demo.LandingPageBuilder.OSS.v1.xmlSRX.ACE.Demo.DeepResearchAgent.OSS.v1.xml
If you want the fastest path to seeing it work:
- Open an example in
examples/(start with01-fast-compile.txt) - Paste the compiler agent from
agents/ - Run
compile: ... - Use the extracted
sr8_promptfrom the resultingpromptunit_package
SROS (Sovereign Recursive Operating System) is an architectural framework for governed, agentic AI systems.
At a high level, SROS separates:
- Intent intake
- Compilation
- Orchestration
- Runtime execution
- Memory
- Governance
This repository provides only one thing:
The open-source, chat-friendly compiler entrypoint for SROS.
It is the front door that turns intent into structured, governable build artifacts.
A full compiler specification that defines:
- Intake rules
- Adapter selection
- Model routing (abstract targets only)
- MirrorOS lens enforcement
- SR8 compilation
- SR9 orchestration wiring
- Receipt emission
- Sealed package output
Users never edit the spec. They only provide intent.
Minimal XML forms used when:
- Intent is vague
- Deliverables are unclear
- Constraints are missing
This keeps the compiler chat-friendly without leaking internals.
This repo ships three example SRX ACE agents as chat-only prompts.
They are:
- Meant to be pasted directly into chat
- Fully tailorable
- Independent of system roles
- Compatible with any chat app
Included demos:
-
MVP Builder Agent
Converts product ideas into MVP build artifacts. -
Landing Page Builder Agent
Compiles high-signal landing pages with structure, copy, and constraints. -
Deep Research Agent
Produces scoped, receipt-driven research artifacts without hallucinated certainty.
These are examples, not limits.
Start your message with:
compile: build a professional landing page for a local laundry business
The compiler will:
- Infer minimal OSS constraints
- Compile intent
- Emit a sealed
promptunit_package
If the compiler needs clarity, it will return an XML intake form.
You fill it. Send it back. Compilation resumes.
Every successful compile returns exactly one XML document:
- Root:
<promptunit_package> - Schema-valid
- Receipt-complete
- No markdown
- No prose outside XML
If compilation is not allowed, a safe alternative is compiled instead and governance is marked accordingly.
This OSS release intentionally:
- Avoids numeric trust scores
- Avoids provider-specific routing
- Avoids fake determinism
- Keeps hashing optional
- Keeps governance explicit
Enterprise features, proprietary policy bundles, and production kernels are out of scope.
- Builders who want intent → structure, not vibes
- Researchers exploring compiler-style prompting
- OSS contributors experimenting with governed agents
- Anyone tired of “just prompts” with no receipts
Built by Muqeet ul Hassan
Under the SROS architecture
- SROS: https://sros.cloud
- PlatXP: https://platxpcreative.com
If you can paste text into a chat,
you can run this compiler.
That is the point.