121XML: Vendor-neutral, self-describing data format that enables perfect portability across all AI platforms, protocols, and schemas
Works with REST, gRPC, GraphQL, WebSocket, SOAP, and unlimited custom protocols. One codebase, all protocols.
Supports JSON Schema, XSD, Protobuf, GraphQL, and custom formats. Lossless translation between any schemas.
Immutable SHA256-based addressing enables perfect caching, cross-platform references, and token efficiency.
Data stays encrypted with user-held keys. Only references shared. Instant revocation. Complete audit trails.
Export agents as 121XML profiles. Work on Claude, GPT, Gemini, Llama without modification.
Add protocols and schemas via plugins. Plugin framework with sandboxing ensures safety and isolation.
No class hierarchies. All structure via nested maps. Enables representation in Rust, Go, C++, Python, JS, Java without inheritance mechanisms.
Polymorphic fields MUST have explicit type markers. Enables schema-free parsing at receiver (no schema fetch needed).
All array elements MUST be same type. Enables pre-allocation without knowing content.
All map keys sorted by Unicode code point → Deterministic byte order → Stable SHA256 hashing
Three states: value (set), null (known but empty), absent (key never set) → No ambiguity
All objects declare schema via URI (urn:121xml:type/1.0) → Schema discovered at receiver
Immutable address: data://sha256:ABC123:type → Tamper detection and content addressing
Data lives where the user decides, secured by the user. Three-layer model:
User EXPLICITLY decides: "Grant Claude access to my data" + Set expiration + Choose permission type
Before ANY access: Check permission_grant (valid? not expired? not revoked?) → ALLOWED or DENIED + Log access
Raw data encrypted with user-held keys. Only references (data://sha256:...) leave this layer. User chooses location (local/AWS/Azure/GCP)
Every 121XML object gets an immutable address based on its content:
Key Benefits:
Axioms, Rules, and Definitions
System design and components
User control and encryption
Vendor portability explained
Complete platform overview
AI operating system
This simple structure combines all three axioms and four rules. The profile URI tells any receiver how to interpret this object. The content address (SHA256) is immutable and unique.
Build AI agents that work across any protocol, any schema, any platform.
Help shape the future of 121XML. Vote on features, suggest improvements, and help prioritize development.
Contribute to the 121XML standard, SDK, and implementation. Star the repository and join development.
View RepositoryComplete guides, API references, and implementation examples for building with 121XML.
Read DocsJoin conversations about features, architecture decisions, and use cases.
Start Discussion