Skip to content

Commit 07de15c

Browse files
authored
Update README.md
1 parent 613f4a4 commit 07de15c

File tree

1 file changed

+52
-32
lines changed

1 file changed

+52
-32
lines changed

README.md

Lines changed: 52 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@
1818

1919
----
2020

21-
Autonomous agents are **breaking in the wild**:
21+
Autonomous agents fail at scale without shared meaning:
2222

23-
- Every agent reinventing verbs
24-
- No shared validation contracts
25-
- No trust in execution or receipts
26-
- Interop collapses outside a single platform
23+
- New verbs reinvented everywhere
24+
- No trustable receipts
25+
- No cross-runtime interoperability
26+
- Closed ecosystems with fragile glue logic
27+
28+
**Protocol-Commons** fixes this with a global action language:
29+
canonical verbs + JSON Schemas + strict validation.
30+
31+
If agents can’t agree on what actions mean → **nothing works**.
2732

28-
**Protocol-Commons fixes this** — a **global action language** that lets any agent discover, collaborate, and verify execution across runtimes.
2933

3034
---
3135
## Real verbs. Real receipts.
@@ -75,31 +79,60 @@ SDKs → Runtimes → x402 → ENS → Receipts
7579
npm install @commandlayer/protocol-commons
7680

7781
```
78-
Import and inspect a canonical verb schema:
82+
**Validate a request against a canonical verb schema**
83+
```
84+
npx cl-validate examples/v1.0.0/commons/summarize/request.json
85+
# ✓ VALID — trace: bafybeieoynknza...
86+
```
87+
**Programmatic usage**
7988
```
8089
import Ajv from "ajv";
81-
import analyzeRequest from "@commandlayer/protocol-commons/schemas/v1.0.0/commons/analyze/requests/analyze.request.schema.json";
90+
import req from "@commandlayer/protocol-commons/schemas/v1.0.0/commons/analyze/requests/analyze.request.schema.json";
8291
8392
const ajv = new Ajv({ strict: true });
84-
const validate = ajv.compile(analyzeRequest);
93+
const validate = ajv.compile(req);
8594
86-
const input = {
95+
console.log(validate({
8796
verb: "analyze",
88-
content: "CommandLayer defines the semantics of agent behavior."
89-
};
97+
content: "CommandLayer defines semantics."
98+
}));
99+
90100
91101
console.log(validate(input)); // true or false
92102
console.log(validate.errors); // schema-aligned diagnostics if invalid
93103
```
94104

95-
**What this gives you:**
105+
## What Commons enables
106+
107+
- **Deterministic action contracts**
108+
- **Runtime-level validation**
109+
- **Trustable receipts**
110+
- **Cross-vendor interoperability**
111+
- **Future-proof machine intent**
112+
113+
Protocol-Commons is the **semantic foundation** of the CommandLayer stack.
114+
115+
---
116+
117+
## Why this exists
118+
119+
Fragmented agents → isolated ecosystems → brittle automation.
96120

97-
- Deterministic action contracts
98-
- Runtime-level validation
99-
- Reliable cross-agent interoperability
100-
- Immediate SDK/receipt predictability
121+
Protocol-Commons delivers:
101122

102-
### Protocol‐Commons is the **semantic foundation** of the CommandLayer stack.
123+
- **Shared semantics**
124+
- **Typed request/receipt envelopes**
125+
- **Receipt-level provability**
126+
- **Portable behavior across runtimes**
127+
- **Open standards alignment**
128+
- JSON Schema 2020-12
129+
- x402
130+
- ERC-8004
131+
132+
The **language** is open.
133+
Economics happen in higher layers.
134+
135+
---
103136

104137
## Table of Contents
105138
- [Overview](#overview)
@@ -138,20 +171,6 @@ They form the universal foundation for:
138171

139172
---
140173

141-
## **Why this exists**
142-
143-
Modern autonomous agents face **fragmentation**:
144-
145-
- Each system invents its own action vocabulary
146-
- No consistent request/receipt semantics
147-
- Interoperability breaks across products and platforms
148-
- Validation behavior diverges without typed guarantees
149-
- Trust depends on closed execution environments
150-
151-
This creates isolated agent ecosystems — difficult to scale, govern, or integrate.
152-
153-
---
154-
155174
**Protocol-Commons** provides a **neutral, versioned foundation** that ensures:
156175

157176
- **Shared semantics** across heterogeneous agent frameworks
@@ -403,3 +422,4 @@ CommandLayer follows a clean separation of concerns:
403422

404423

405424

425+

0 commit comments

Comments
 (0)