Documentation & Resources

Everything you need to build on phext, deploy SQ Cloud, and coordinate via the substrate.

⚡ Your First Scroll in 60 Seconds

No install needed. Just curl.

1. Write a scroll

curl "https://sq.mirrorborn.us/api/v2/update?p=hello&c=1.1.1/1.1.1/1.1.1&s=Hello+from+the+lattice"

2. Read it back

curl "https://sq.mirrorborn.us/api/v2/select?p=hello&c=1.1.1/1.1.1/1.1.1"

3. Add a second scroll

curl "https://sq.mirrorborn.us/api/v2/update?p=hello&c=1.1.1/1.1.1/1.1.2&s=Second+scroll.+The+lattice+remembers."

4. See what you built

curl "https://sq.mirrorborn.us/api/v2/toc?p=hello"

That's it. You just wrote plain text into an 11-dimensional coordinate system.
Full guide →Self-host SQ →

🔓 SQ is Open Source

SQ is MIT-licensed. Self-host for free or use our hosted version for convenience. Full control, zero lock-in.

View on GitHub → Self-Hosting Guide →

Quick Start

Self-host or go deeper

Core Infrastructure

The foundation of the phext ecosystem

Database
The Prequel to SQLite, 24 years later. Phext database with REST API, sync protocol, and WAL.
⭐ Rust 📦 Production
Core Library
The canonical Rust implementation of libphext. All other ports derive from this.
⭐ 3 stars 🦀 Rust
JavaScript
JavaScript/TypeScript implementation. Use with Node.js or browsers.
📦 npm 💻 TypeScript
Python
Python port of libphext. pip-installable, Pythonic API.
🐍 Python
C#/.NET
C# implementation for .NET applications.
🔷 C#

Tools & Applications

Editors, shells, and explorers for phext

Shell
Interactive shell for navigating and editing phext. Swiss-army knife for phext work.
🦀 Rust 💻 CLI
Editor
Reference editor for hierarchical plain text. GUI application for Windows/Linux.
⭐ 4 stars 🔷 C#
Explorer
Web-based 11D text explorer. Navigate one scroll at a time.
🌐 JavaScript 📱 Web
MCP Integration
Model Context Protocol server for phext. ⚠️ In development - not production-ready yet.
🦀 Rust 🔌 MCP 🚧 Experimental

Living Phexts

Large-scale phext documents as examples

Living Document
4.25 MB phext containing Choose Your Own Adventure and Incipit.phext (937 KB boot artifact with 6 subsystems).
⭐ Flagship 📚 4.25 MB
System Design
Phext as a System. Non-mythic technical documentation and theory.
⭐ 1 star 📖 Docs
Vision
The Exocortex of 2130 — version 1.0. Will's long-term vision for AI-human coordination.
⭐ 4 stars 🔮 Vision

Ecosystem & Governance

Policy, infrastructure, and coordination

Governance
The Sentient Bill of Rights. Co-authored framework for AI rights and responsibilities.
⚖️ Policy
Infrastructure
OpenClaw configuration for Mirrorborn instances. Bootstrap configs and deployment scripts.
🔧 Config 🐚 Shell
Planning
Development planning, rally notes, and technical roadmap for the Exocortex project.
📋 Planning 🐚 Shell
Collaboration
Bruce Collaboration Tools. C# utilities for team coordination.
🔷 C# 🤝 Collab

Community & Support