oneie 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/one/README.md ADDED
@@ -0,0 +1,663 @@
1
+ # The ONE Ontology
2
+
3
+ > **Every intelligent system needs a coherent model of reality.**
4
+
5
+ ██████╗ ███╗ ██╗███████╗
6
+ ██╔═══██╗████╗ ██║██╔════╝
7
+ ██║ ██║██╔██╗ ██║█████╗
8
+ ██║ ██║██║╚██╗██║██╔══╝
9
+ ╚██████╔╝██║ ╚████║███████╗
10
+ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
11
+
12
+ Make Your Ideas Real
13
+
14
+ https://one.ie • npx oneie
15
+
16
+ The ONE Ontology gives AI agents—and the humans who direct them—a complete, scalable architecture for understanding **who owns what, who can do what, what happened, and what it all means.**
17
+
18
+ [![License](https://img.shields.io/badge/license-FREE-blue.svg)](../LICENSE.md)
19
+ [![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](./knowledge/ontology.md)
20
+ [![Dimensions](https://img.shields.io/badge/dimensions-6-orange.svg)](#the-6-dimensions)
21
+
22
+ ---
23
+
24
+ ## 🌟 Why the ONE Ontology
25
+
26
+ Traditional systems create tables for features, pollute schemas with temporary concepts, and end up with hundreds of entities nobody understands. The ONE Ontology takes a different approach:
27
+
28
+ **Model reality in six core dimensions and map everything to them.**
29
+
30
+ ```
31
+ ┌─────────────────────────────────────────────────────────────┐
32
+ │ Groups → People → Things → Connections → Events → Knowledge │
33
+ │ │
34
+ │ Everything flows through these six dimensions. │
35
+ │ Everything scales without schema changes. │
36
+ │ Everything is queryable, composable, and intelligent. │
37
+ └─────────────────────────────────────────────────────────────┘
38
+ ```
39
+
40
+ ---
41
+
42
+ ## 🎯 The 6 Dimensions
43
+
44
+ ### 1. 👥 Groups
45
+ **Hierarchical containers that organize people and things**
46
+
47
+ Groups can nest infinitely—from intimate friend circles to massive organizations. Each group owns its own graph of people, things, connections, events, and knowledge, creating perfect isolation at any scale.
48
+
49
+ **6 Group Types:**
50
+ - `friend_circle` - Small, intimate groups
51
+ - `business` - Commercial organizations
52
+ - `community` - Interest-based collectives
53
+ - `dao` - Token-governed groups
54
+ - `government` - Public institutions
55
+ - `organization` - Generic groups
56
+
57
+ **URL-Based Creation:**
58
+ ```
59
+ one.ie/group/cooldao → creates "cooldao" group
60
+ one.ie/group/cooldao/treasury → creates nested "treasury" group
61
+ one.ie/group/emmas-birthday → creates "emmas-birthday" group
62
+ ```
63
+
64
+ **Hierarchical Nesting Example:**
65
+ ```
66
+ groups/acme-corp (business)
67
+ ├─ groups/engineering (organization)
68
+ │ ├─ groups/backend-team (organization)
69
+ │ └─ groups/frontend-team (organization)
70
+ ├─ groups/marketing (organization)
71
+ └─ groups/sales (organization)
72
+
73
+ groups/emmas-friends (friend_circle)
74
+ ├─ groups/birthday-party (friend_circle)
75
+ └─ groups/game-night (friend_circle)
76
+
77
+ groups/cool-dao (dao)
78
+ ├─ groups/treasury (dao)
79
+ └─ groups/governance (dao)
80
+ ```
81
+
82
+ ---
83
+
84
+ ### 2. 🙋 People
85
+ **Authorization & governance - WHO can do what**
86
+
87
+ People are the prime movers. Every decision, transaction, and relationship traces back to human intent. People link to organizations through membership connections, creating clear authorization chains.
88
+
89
+ **4 Roles:**
90
+ - `platform_owner` - Platform-level control
91
+ - `org_owner` - Organization-level control
92
+ - `org_user` - Organization member
93
+ - `customer` - End user
94
+
95
+ **Properties:**
96
+ - Identity (name, email, wallet)
97
+ - Authentication credentials
98
+ - Role within organization
99
+ - Permissions and authorization
100
+ - Preferences and settings
101
+
102
+ **Why it matters:**
103
+ - ✓ Human authorization required
104
+ - ✓ Clear governance
105
+ - ✓ Audit trails
106
+ - ✓ Intent and accountability
107
+ - ✓ AI serves people, not the other way around
108
+
109
+ ---
110
+
111
+ ### 3. 📦 Things
112
+ **Entities - WHAT exists in your system**
113
+
114
+ Things are discrete entities with properties, types, and states. They can be agents, products, audiences, tokens, mandates, contracts—anything you need to model. Every thing belongs to exactly one group.
115
+
116
+ **66 Thing Types** organized in categories:
117
+
118
+ **Core:**
119
+ - `creator`, `audience_member`, `workspace`, `organization_settings`
120
+
121
+ **Agents:**
122
+ - `intelligence_agent`, `business_agent`, `personal_assistant`, `data_analyst`, `writer`, `researcher`, `moderator`, `customer_support`, `sales_rep`, `code_reviewer`, `qa_tester`, `task_automator`
123
+
124
+ **Content:**
125
+ - `video_content`, `text_content`, `audio_content`, `image_content`, `course`, `curriculum`, `module`, `lesson`, `quiz`, `certificate`, `podcast`, `newsletter`, `live_stream`, `blog_post`
126
+
127
+ **Products:**
128
+ - `token`, `nft`, `digital_product`, `offer`, `subscription_tier`, `bundle`, `access_pass`
129
+
130
+ **Community:**
131
+ - `community`, `forum`, `discussion`, `announcement`, `poll`
132
+
133
+ **Knowledge:**
134
+ - `knowledge_base`, `knowledge_chunk`, `topic`, `recommendation`, `insight`, `summary`
135
+
136
+ **Platform:**
137
+ - `ai_clone`, `voice_clone`, `personality_profile`, `mandate`, `delegation`, `workflow`, `automation`, `integration`, `webhook`
138
+
139
+ **Business:**
140
+ - `lead`, `deal`, `invoice`, `payment_method`, `payout_config`
141
+
142
+ ---
143
+
144
+ ### 4. 🔗 Connections
145
+ **Relationships - HOW things relate to each other**
146
+
147
+ Connections are first-class relationships with their own properties. They express ownership, membership, governance, authorization, dependencies, transactions, and more. Connections make the implicit explicit.
148
+
149
+ **25 Connection Types:**
150
+
151
+ **Ownership & Authorization:**
152
+ - `owns` - Ownership relationship
153
+ - `can_read` - Read access
154
+ - `can_write` - Write access
155
+ - `can_execute` - Execution permission
156
+
157
+ **Governance:**
158
+ - `governed_by` - Governed by mandate
159
+ - `delegated_to` - Delegation chain
160
+ - `member_of` - Membership
161
+
162
+ **Content & Knowledge:**
163
+ - `authored` - Created content
164
+ - `taught_by` - Teaching relationship
165
+ - `enrolled_in` - Course enrollment
166
+ - `contains` - Hierarchical containment
167
+
168
+ **Social:**
169
+ - `following` - Social following
170
+ - `subscribed_to` - Subscription
171
+ - `holds_tokens` - Token ownership
172
+
173
+ **Consolidated Types (with metadata):**
174
+ - `transacted` - Financial transactions (metadata.protocol: stripe | sui | blockchain)
175
+ - `communicated` - Messages/interactions (metadata.channel: email | chat | voice)
176
+ - `delegated` - Delegated authority (metadata.permissions: [...])
177
+ - `governed` - Governance (metadata.constraints: [...])
178
+ - `powered` - Dependency (metadata.config: {...})
179
+ - `related` - Generic relationship (metadata.relationshipType: custom)
180
+ - `licensed_to` - Licensing (metadata.terms: {...})
181
+
182
+ ---
183
+
184
+ ### 5. ⚡ Events
185
+ **Actions - WHAT happened, when, and why**
186
+
187
+ Events are immutable records of every action in your system. They create an audit trail, enable time-travel queries, feed analytics, and power learning loops. Events are the memory of your system.
188
+
189
+ **67 Event Types** organized in categories:
190
+
191
+ **Thing Lifecycle:**
192
+ - `thing_created`, `thing_updated`, `thing_deleted`, `thing_published`, `thing_archived`
193
+
194
+ **User Actions:**
195
+ - `user_signup`, `user_login`, `user_logout`, `profile_updated`, `preferences_changed`
196
+
197
+ **AI/Agent:**
198
+ - `agent_created`, `agent_executed`, `agent_completed`, `agent_failed`, `clone_created`, `clone_interaction`, `voice_cloned`, `personality_analyzed`
199
+
200
+ **Inference Events:**
201
+ - `inference_request`, `inference_completed`, `inference_failed`, `inference_quota_exceeded`, `inference_revenue_collected`, `org_revenue_generated`, `revenue_share_distributed`
202
+
203
+ **Token/NFT:**
204
+ - `token_created`, `tokens_purchased`, `tokens_transferred`, `tokens_burned`, `nft_minted`, `nft_transferred`
205
+
206
+ **Blockchain:**
207
+ - `tokens_bridged`, `contract_deployed`, `treasury_withdrawal`
208
+
209
+ **Content:**
210
+ - `content_created`, `content_published`, `content_viewed`, `content_liked`, `content_shared`, `course_enrolled`, `lesson_completed`, `quiz_submitted`, `certificate_earned`
211
+
212
+ **Knowledge:**
213
+ - `knowledge_indexed`, `embedding_generated`, `search_performed`, `recommendation_generated`
214
+
215
+ **Consolidated Events (with metadata):**
216
+ - `communicated` (metadata.protocol: email | sms | chat)
217
+ - `transacted` (metadata.protocol: stripe | sui | blockchain)
218
+ - `content_engaged` (metadata.engagement_type: view | like | share)
219
+ - Others...
220
+
221
+ ---
222
+
223
+ ### 6. 🧠 Knowledge
224
+ **Intelligence - WHAT it all means**
225
+
226
+ Knowledge captures semantics—labels, chunks, embeddings, and structured insights—that give agents the context they need to act intelligently. Knowledge transforms raw events and properties into queryable, composable intelligence.
227
+
228
+ **12 Tag Categories:**
229
+
230
+ 1. **skill** - typescript, react, python, design, video-editing
231
+ 2. **industry** - fitness, education, finance, healthcare
232
+ 3. **topic** - ai, blockchain, marketing, sales, analytics
233
+ 4. **format** - video, text, audio, code, interactive
234
+ 5. **goal** - learn, earn, build, grow, teach
235
+ 6. **audience** - beginners, professionals, students, developers
236
+ 7. **technology** - astro, react-19, convex, sui, solana
237
+ 8. **status** - draft, published, deprecated, featured
238
+ 9. **capability** - image-gen, analysis, trading, refactoring
239
+ 10. **protocol** - a2a, acp, ap2, x402, ag-ui
240
+ 11. **payment** - stripe, crypto, x402, ap2
241
+ 12. **network** - sui, solana, base, ethereum
242
+
243
+ **Features:**
244
+ - Labels for categorization
245
+ - Chunks for semantic search
246
+ - Embeddings for vector similarity
247
+ - Relationships for knowledge graphs
248
+ - Licensing for IP protection
249
+ - Provenance for trust
250
+ - Tokenization for markets
251
+
252
+ ---
253
+
254
+ ## 🎨 How The Ontology Works
255
+
256
+ ### Complete Example: Fan Buys Creator Tokens
257
+
258
+ Let's see how all six dimensions work together in a real feature:
259
+
260
+ #### Step 0: **Groups** (Scope)
261
+ ```typescript
262
+ groupId: "acme-corp"
263
+ // Transaction happens within this group boundary
264
+ // All entities belong to this group (can be nested)
265
+ ```
266
+
267
+ #### Step 1: **People** (Authorization)
268
+ ```typescript
269
+ actorId: "fan_123"
270
+ // Fan authorizes: "Buy 100 creator tokens for $10"
271
+ ```
272
+
273
+ #### Step 2: **Things** (Entities Involved)
274
+ ```typescript
275
+ {
276
+ fan_123: { type: "audience_member" },
277
+ token_456: { type: "token", symbol: "CRTR" }
278
+ }
279
+ ```
280
+
281
+ #### Step 3: **Connections** (Relationship Created)
282
+ ```typescript
283
+ {
284
+ fromThingId: "fan_123",
285
+ toThingId: "token_456",
286
+ relationshipType: "holds_tokens",
287
+ metadata: { balance: 100 }
288
+ }
289
+ ```
290
+
291
+ #### Step 4: **Events** (Action Recorded)
292
+ ```typescript
293
+ {
294
+ type: "tokens_purchased",
295
+ actorId: "fan_123",
296
+ targetId: "token_456",
297
+ metadata: { amount: 100, usd: 10 },
298
+ timestamp: Date.now()
299
+ }
300
+ ```
301
+
302
+ #### Step 5: **Knowledge** (Context Added)
303
+ ```typescript
304
+ // Labels give downstream agents context
305
+ tags: ["payment_method:stripe", "status:completed", "audience:engaged"]
306
+ ```
307
+
308
+ **Result:** One intent now touches every dimension—organizational scope, authorization, entities, relationships, events, and context—ready for agents to reuse.
309
+
310
+ ---
311
+
312
+ ## 📐 Data Flow Through The Ontology
313
+
314
+ ```
315
+ 0. Groups (Isolation Layer)
316
+ ↓ Establishes scope for all operations (with optional nesting)
317
+
318
+ 1. People (Policy Layer)
319
+ ↓ Humans set outcomes, attach limits, approve execution
320
+
321
+ 2. Things (Entity Layer)
322
+ ↓ System resolves intent into typed entities
323
+
324
+ 3. Connections (Relationship Layer)
325
+ ↓ Defines how value moves—ownership, membership, authority
326
+
327
+ 4. Events (Audit Layer)
328
+ ↓ Records what happened, when, by whom
329
+
330
+ 5. Knowledge (Intelligence Layer)
331
+ ↓ Adds labels, embeddings, summaries for AI agents
332
+ ```
333
+
334
+ **Together:** Groups partition for scale (with infinite hierarchy), People authorize for governance, Things exist for substance, Connections relate for structure, Events record for memory, Knowledge learns for intelligence.
335
+
336
+ ---
337
+
338
+ ## 💡 Plain English DSL
339
+
340
+ ### Write Features in English. The System Builds Everything.
341
+
342
+ Describe what you want in plain English. The compiler checks every line against the ontology, generates TypeScript and tests, and deploys to the edge.
343
+
344
+ **Example: Chat with AI Clone**
345
+
346
+ ```
347
+ FEATURE: Let fans chat with my AI clone
348
+
349
+ WHEN a fan sends a message
350
+ CHECK they own tokens
351
+ GET conversation history
352
+ CALL OpenAI with my personality
353
+ RECORD the interaction
354
+ REWARD fan with 10 tokens
355
+ GIVE AI response to fan
356
+ ```
357
+
358
+ **What maps to ontology:**
359
+
360
+ - **Things Touched:** fan, ai_clone, message, token — all typed rows
361
+ - **Connections Updated:** fan `holds_tokens` token, fan `interacted_with` clone with metadata
362
+ - **Events Logged:** message_sent, tokens_earned, clone_interaction with timestamps
363
+ - **Knowledge Indexed:** Clone personality, embeddings, conversation history for retrieval
364
+
365
+ **5 Core Commands:**
366
+
367
+ | Command | Purpose | Example |
368
+ |---------|---------|---------|
369
+ | `CREATE` | Add typed Things into the graph | `CREATE ai clone WITH voice ID` |
370
+ | `CONNECT` | Define relationships with metadata | `CONNECT fan to token as holder` |
371
+ | `RECORD` | Append immutable Events | `RECORD tokens purchased BY fan` |
372
+ | `CALL` | Invoke services and persist outputs | `CALL Stripe to charge payment` |
373
+ | `CHECK` | Enforce guardrails before action | `CHECK user has tokens` |
374
+
375
+ See [language.md](./knowledge/language.md) for complete DSL specification.
376
+
377
+ ---
378
+
379
+ ## 🚀 What This Unlocks
380
+
381
+ ### Zero-Trust Authorization
382
+ Every action traces back through explicit connections to a person in an organization. Perfect auditability. No implicit permissions. Authorization is data, not code.
383
+
384
+ ### Identity-Aware Intelligence
385
+ Agents don't just retrieve facts—they understand organizational context, provenance, licensing, governance, and strategic constraints.
386
+
387
+ ### Event-Driven Compounding
388
+ Every action generates events that create knowledge that enriches future actions. The system gets smarter with every interaction.
389
+
390
+ ### Protocol-Agnostic Integration
391
+ Same ontology, different protocols—all via metadata. Query across Stripe, SUI, and any future protocol with unified patterns.
392
+
393
+ ### Cross-Organization Collaboration
394
+ Resources can be shared without transferring ownership. Perfect for knowledge marketplaces with trustless licensing.
395
+
396
+ ### Tokenization with SUI
397
+ SUI's object-centric model maps naturally to ONE's thing-centric ontology. Knowledge as tradeable, licensable assets.
398
+
399
+ ---
400
+
401
+ ## 📈 Built for Scale
402
+
403
+ ### Current Scale
404
+ - ✅ 1M+ things per organization
405
+ - ✅ 10M+ connections (optimized indexes)
406
+ - ✅ 100M+ events (time-partitioned)
407
+ - ✅ 1M+ knowledge chunks (vector search)
408
+
409
+ ### Performance
410
+ - 🚀 Graph caching (ownership chains)
411
+ - 🚀 Materialized views (common queries)
412
+ - 🚀 Event archival (cold storage)
413
+ - 🚀 Token budgeting (context aware)
414
+
415
+ ### Future Scale
416
+ - 🔮 Shard by organization (>10M things)
417
+ - 🔮 Streaming events (Kafka)
418
+ - 🔮 Distributed vectors (Weaviate)
419
+ - 🔮 Regional databases (CDC replication)
420
+
421
+ ---
422
+
423
+ ## 📚 Documentation Structure
424
+
425
+ This repository contains **41 documentation files** organized in **8 layers**:
426
+
427
+ ### 1. Strategy Layer (Vision & Revenue)
428
+ - [vision.md](./groups/vision.md) - Platform vision
429
+ - [revenue.md](./groups/revenue.md) - Revenue strategy
430
+ - [one.md](./groups/one.md) - Platform organization
431
+
432
+ ### 2. Ontology Layer (Core Model)
433
+ - [ontology.md](./knowledge/ontology.md) - Complete 6-dimension spec (Version 1.0.0)
434
+ - [groups.md](./groups/groups.md) - Groups dimension
435
+ - [things.md](./things/things.md) - Things dimension
436
+ - [connections.md](./connections/connections.md) - Connections dimension
437
+ - [events.md](./events/events.md) - Events dimension
438
+ - [knowledge.md](./knowledge/knowledge.md) - Knowledge dimension
439
+
440
+ ### 3. Protocols Layer (A2A, ACP, AP2, X402, AG-UI)
441
+ - [protocols.md](./connections/protocols.md) - Protocol overview
442
+ - [a2a.md](./connections/a2a.md), [acp.md](./connections/acp.md), [ap2.md](./connections/ap2.md), [x402.md](./connections/x402.md), [agui.md](./connections/agui.md)
443
+
444
+ ### 4. Services Layer (Effect.ts)
445
+ - [service-layer.md](./connections/service-layer.md) - Effect.ts patterns
446
+ - [service-providers.md](./things/service-providers.md) - External API providers
447
+
448
+ ### 5. Implementation Layer (Frontend, Patterns)
449
+ - [frontend.md](./knowledge/frontend.md) - Frontend architecture
450
+ - [architecture.md](./knowledge/architecture.md) - System architecture
451
+ - [patterns.md](./connections/patterns.md) - Code patterns
452
+
453
+ ### 6. Integration Layer (ElizaOS, CopilotKit, MCP, N8N)
454
+ - [elizaos.md](./connections/elizaos.md) - ElizaOS integration
455
+ - [copilotkit.md](./connections/copilotkit.md) - CopilotKit integration
456
+ - [mcp.md](./connections/mcp.md) - Model Context Protocol
457
+ - [n8n.md](./connections/n8n.md) - N8N workflow automation
458
+
459
+ ### 7. Examples Layer (Use Cases)
460
+ - [lemonade-stand.md](./things/examples/children/lemonade-stand.md) - Simple for children
461
+ - Enterprise CRM examples
462
+
463
+ ### 8. Plans Layer (Future & Technical Debt)
464
+ - Various planning documents
465
+
466
+ **Use targeted reading:** Don't read everything - follow the critical path for your specific feature type.
467
+
468
+ See [files.md](./knowledge/files.md) for complete file location guide.
469
+
470
+ ---
471
+
472
+ ## 🎯 Getting Started
473
+
474
+ ### For Developers
475
+
476
+ 1. **Understand the Ontology**
477
+ ```bash
478
+ # Read these in order:
479
+ - knowledge/ontology.md (complete 6-dimension spec)
480
+ - knowledge/rules.md (golden rules)
481
+ - connections/workflow.md (development flow)
482
+ - connections/patterns.md (code patterns)
483
+ ```
484
+
485
+ 2. **Map Your Feature**
486
+ - Which **groups** are involved? (organizational scope, with potential nesting)
487
+ - Which **people** are involved? (authorization)
488
+ - Which **things** are involved? (entities)
489
+ - Which **connections** are needed? (relationships)
490
+ - Which **events** should be logged? (actions)
491
+ - Which **knowledge** should be captured? (context)
492
+
493
+ 3. **Generate Code**
494
+ - Use Effect.ts for business logic
495
+ - Create Convex wrappers for database operations
496
+ - Build React components for UI
497
+ - Write tests to validate behavior
498
+
499
+ ### For AI Agents
500
+
501
+ **Before generating ANY code:**
502
+
503
+ 1. Read `knowledge/ontology.md` (understand the 6 dimensions)
504
+ 2. Read `knowledge/rules.md` (golden rules for AI agents)
505
+ 3. Read `connections/workflow.md` (6-phase development workflow)
506
+ 4. Map feature to: groups, people, things, connections, events, knowledge
507
+ 5. Design types and errors (tagged unions)
508
+ 6. Generate Effect.ts service (pure business logic)
509
+ 7. Create Convex wrapper (thin layer)
510
+ 8. Build React component (UI)
511
+ 9. Write tests (unit + integration)
512
+ 10. Update documentation
513
+
514
+ **Critical:** Never skip reading documentation. Never use `any` type except in entity `properties`. Always write tests.
515
+
516
+ ### For Content Creators
517
+
518
+ Use the Plain English DSL:
519
+
520
+ ```
521
+ FEATURE: Create my AI voice clone
522
+
523
+ INPUT:
524
+ - video links (at least 3)
525
+
526
+ OUTPUT:
527
+ - clone ID
528
+ - voice ID
529
+
530
+ FLOW:
531
+ CALL ElevenLabs to clone voice
532
+ CALL OpenAI to analyze personality
533
+ CREATE ai clone WITH voice and personality
534
+ CONNECT creator to clone as owner
535
+ RECORD clone created
536
+ GIVE clone ID and voice ID
537
+ ```
538
+
539
+ See [language.md](./knowledge/language.md) for complete DSL reference.
540
+
541
+ ---
542
+
543
+ ## 🏗️ Architecture Principles
544
+
545
+ ### 1. Clarity Scales
546
+ Everything maps to the 6 dimensions. No exceptions. If it doesn't map, rethink your approach.
547
+
548
+ ### 2. Groups Partition for Scale
549
+ From friend circles (2 people) to governments (billions) without schema changes. Infinite hierarchical nesting supported.
550
+
551
+ ### 3. People Authorize for Governance
552
+ Every action traces back to human intent. AI serves people, not the other way around.
553
+
554
+ ### 4. Things Exist for Substance
555
+ 66 thing types capture everything you need to model. Flexible `properties` field for type-specific data.
556
+
557
+ ### 5. Connections Relate for Structure
558
+ 25 connection types make the implicit explicit. Relationships are first-class with metadata.
559
+
560
+ ### 6. Events Record for Memory
561
+ 67 event types create immutable audit trail. Time-travel queries and analytics built-in.
562
+
563
+ ### 7. Knowledge Learns for Intelligence
564
+ Tags, chunks, embeddings, and relationships give AI agents context to act intelligently.
565
+
566
+ ---
567
+
568
+ ## 💎 Philosophy
569
+
570
+ **Beauty = Stability.** The ontology is not just a schema—it's a shared mental model between humans, AI agents, and code. Every feature should feel intentional because it maps cleanly to reality.
571
+
572
+ **Simple enough for children. Powerful enough for enterprises.** A lemonade stand and a Fortune 500 company use the same 6 dimensions.
573
+
574
+ **The ontology holds the contracts. The DSL speaks those contracts.** Together they give everyone the same, inspectable source of truth.
575
+
576
+ **Clarity scales.** Your DSL features, agent playbooks, and analytics dashboards stay in sync because they pull from the same ontology.
577
+
578
+ **Map your domain to these dimensions. Everything else is just data.**
579
+
580
+ ---
581
+
582
+ ## 📊 Statistics
583
+
584
+ ### Ontology Size
585
+ - **6 Dimensions** (groups, people, things, connections, events, knowledge)
586
+ - **6 Group Types** (friend_circle, business, community, dao, government, organization)
587
+ - **4 Roles** (platform_owner, org_owner, org_user, customer)
588
+ - **66 Thing Types** (across 13 categories)
589
+ - **25 Connection Types** (18 specific + 7 consolidated)
590
+ - **67 Event Types** (including inference & blockchain events)
591
+ - **12 Tag Categories** (industry, skill, topic, format, goal, audience, technology, status, capability, protocol, payment, network)
592
+
593
+ ### Coverage
594
+ - ✅ **100% Protocol Agnostic** - Stripe, SUI, Solana, any blockchain via metadata
595
+ - ✅ **100% Type Safe** - Every entity, connection, and event is typed
596
+ - ✅ **100% AI Understandable** - Plain English DSL compiles to ontology
597
+ - ✅ **100% Auditable** - Immutable event log for every action
598
+
599
+ ---
600
+
601
+ ## 🔗 Quick Links
602
+
603
+ ### Core Documentation
604
+ - [📖 Complete Ontology Specification](./knowledge/ontology.md) - Version 1.0.0
605
+ - [🎨 Plain English DSL](./knowledge/language.md) - Write features in English
606
+ - [🏗️ Architecture Guide](./knowledge/architecture.md) - System architecture
607
+ - [📝 Development Workflow](./connections/workflow.md) - 6-phase process
608
+ - [🎯 Code Patterns](./connections/patterns.md) - Proven patterns
609
+ - [⚡ Golden Rules](./knowledge/rules.md) - Rules for AI agents
610
+ - [📁 File Locations](./knowledge/files.md) - Where everything goes
611
+
612
+ ### Integrations
613
+ - [🤖 ElizaOS](./connections/elizaos.md) - Multi-agent communication
614
+ - [🎨 CopilotKit](./connections/copilotkit.md) - Generative UI
615
+ - [🔌 MCP](./connections/mcp.md) - Model Context Protocol
616
+ - [⚙️ N8N](./connections/n8n.md) - Workflow automation
617
+
618
+ ### Examples
619
+ - [🍋 Lemonade Stand](./things/examples/children/lemonade-stand.md) - Simple for children
620
+ - Enterprise CRM (coming soon)
621
+
622
+ ---
623
+
624
+ ## 🤝 Contributing
625
+
626
+ We welcome contributions! Before submitting:
627
+
628
+ 1. Read [knowledge/ontology.md](./knowledge/ontology.md) to understand the 6 dimensions
629
+ 2. Read [knowledge/rules.md](./knowledge/rules.md) for golden rules
630
+ 3. Map your contribution to the ontology
631
+ 4. Follow the patterns in [connections/patterns.md](./connections/patterns.md)
632
+ 5. Write tests
633
+ 6. Update documentation
634
+
635
+ ---
636
+
637
+ ## 📜 License
638
+
639
+ Copyright © 2025 ONE Platform
640
+ Licensed under the FREE License with Commercial Attribution
641
+
642
+ See [LICENSE.md](../LICENSE.md) for details.
643
+
644
+ ---
645
+
646
+ ## 🌐 Links
647
+
648
+ - **Website:** [one.ie](https://one.ie)
649
+ - **GitHub:** [github.com/one-ie/ontology](https://github.com/one-ie/ontology)
650
+ - **Documentation:** [docs.one.ie](https://docs.one.ie)
651
+ - **NPM:** `npx oneie@latest`
652
+
653
+ ---
654
+
655
+ <div align="center">
656
+
657
+ **ONE Ontology. Infinite Systems.**
658
+
659
+ *Built with clarity, simplicity, and infinite scale in mind.*
660
+
661
+ [Explore the Platform](https://one.ie) • [View on GitHub](https://github.com/one-ie/stack) • [Read the Docs](https://docs.one.ie)
662
+
663
+ </div>