Language: English | 中文 | Italiano | 日本語 | Français | Deutsch
This repository is the demo version of the Selfware Protocol, providing draft protocol templates and a runnable template.self workspace scaffold.
template.self/selfware-zh.md: protocol draft (Chinese edition)template.self/selfware.md: protocol draft (English edition)template.self/manifest.md: instance manifest and pack plantemplate.self/content/**: canonical data scope and memory filestemplate.self/runtime/server.py: minimal local runtime servertemplate.self/entrypoint/**: action scripts, forms, and prompts
Current protocol version: v0.1.0 (Draft)
Selfware aims to define a unified file protocol for the Agent era:
- A file is an app. Everything is a file.
- Data, logic, and views can be optionally bundled in one distributable unit (single file or
.selfcontainer). - Collaboration is decentralized across human↔Agent and Agent↔Agent workflows.
- Canonical Data Authority: every instance must define a source of truth.
- Write Scope Boundary: writes should be restricted to
content/(or an equivalent declared canonical scope). - No Silent Apply: updates must not be applied without user disclosure and confirmation.
- View as Function:
View = f(Data, Intent, Rules); views are not the source of truth.
For a quick hands-on experience, try this demo: https://github.com/awesome-selfware/openoffice.self
- Read the Chinese draft:
template.self/selfware-zh.md - Read the English draft:
template.self/selfware.md - Use
template.self/entrypoint/scripts/run-app.ps1to start the local runtime. - Build your own instance protocol file from these templates, then extend runtime modules as needed (API, packaging, collaboration, Memory, Discovery, etc.).
- This repository now includes a minimal runnable template runtime and governance scaffold.
- The current runtime is intentionally simple and local-first.
- This repo is under intensive development.
- IACT Protocol - An ultra-lightweight inline interaction protocol designed for AI Agents, enabling clickable interactive elements embedded in natural language conversations
The protocol text declares an optional MIT license (see the protocol files for details).