You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wire full protocol autonomy, intent classification, component registry, and polish
- runtime/protocols/integration.py: Wire intent classifier into pre_process
gate (match_intent → system prompt enrichment with action hints and param
prompts). Wire OutcomeLearning patterns into pre_process (learned patterns
injected for matched actions). Wire OutcomeLearning → Trajectory feedback
loop (post_action updates base success rates from observed outcomes).
Add confidence calibration comparing predictions to actual results.
- runtime/chat/intent_actions.py: Improve match_intent() with filler-word
stripping and fuzzy keyword matching for natural language ("create a DAO",
"help me get a loan" etc.)
- gateway/bridge.py: Add component registry with COMPONENT_REGISTRY (15
services with UI flow schemas, version, capabilities, min_app_version).
Add /bridge/v1/components, /bridge/v1/components/{id}, and
/bridge/v1/components/manifest endpoints for dynamic iOS component
delivery without app recompilation.
- examples/README.md: Add mainnet deployment guide, EAS attestation on
every action documentation, and revenue routing to NeoSafe docs.
Add 09_full_user_journey.py example (complete journey across 8 services).
- README.md: Add Try It Now section with 5 curl examples, Architecture
diagram, Example Scripts table, and Protocol Stack descriptions.
- Python 3.9 compat: Add from __future__ import annotations to all
example scripts.
Copy file name to clipboardExpand all lines: README.md
+94Lines changed: 94 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,100 @@ Every decision made by every agent on 0pnMatrx passes through the Unified Rexhep
120
120
121
121
---
122
122
123
+
## Try It Now
124
+
125
+
After setup and starting the gateway with `python -m gateway.server`, try these:
126
+
127
+
**Chat with Trinity**
128
+
```bash
129
+
curl -X POST http://localhost:18790/chat \
130
+
-H "Content-Type: application/json" \
131
+
-d '{"agent": "trinity", "message": "Hi Trinity, what can you help me with?"}'
132
+
```
133
+
134
+
**Convert a contract**
135
+
```bash
136
+
curl -X POST http://localhost:18790/chat \
137
+
-H "Content-Type: application/json" \
138
+
-d '{"agent": "trinity", "message": "Convert this rental agreement into a smart contract: Monthly rent of $2000, 12 month term, $4000 security deposit, late fee of $100 after 5 days"}'
|`03_nft_with_royalties.py`| Mint an NFT, list it, sell it with automatic royalty enforcement |
182
+
|`04_parametric_insurance.py`| Weather-based crop insurance with oracle-triggered automatic payouts |
183
+
|`05_marketplace_flow.py`| List, buy, and escrow a marketplace transaction |
184
+
|`06_eas_attestation_chain.py`| Every action creates a verifiable on-chain attestation record |
185
+
|`07_revenue_to_neosafe.py`| Platform fee routing and tracking to the NeoSafe multisig wallet |
186
+
|`08_oracle_routing.py`| Multi-source oracle routing with fallback and aggregation |
187
+
|`09_full_user_journey.py`| Every major platform capability in a single coherent user flow |
188
+
189
+
---
190
+
191
+
## Protocol Stack
192
+
193
+
The protocol stack gives Neo, Trinity, and Morpheus their cognitive abilities. Every user interaction passes through these protocols before a response is produced.
194
+
195
+
**Jarvis** — Identity foundation. Handles agent personality persistence, voice consistency, memory integration, and structured planning that feeds into the ReAct loop.
196
+
197
+
**Ultron** — Strategic reasoning engine. Decomposes goals into multi-step plans with risk assessment at each stage.
198
+
199
+
**Friday** — Proactive monitoring. Watches for opportunities, risks, and relevant events, then surfaces suggestions before the user asks.
200
+
201
+
**Vision** — Pattern recognition and emergence detection. Identifies trends, anomalies, and correlations across user activity to anticipate needs.
202
+
203
+
**Trajectory** — Outcome prediction and path optimization. Predicts likely results of actions and suggests the optimal sequence to reach a goal.
204
+
205
+
**Outcome Learning** — Feedback loop. Captures the results of past decisions and uses them to improve future reasoning.
206
+
207
+
**Morpheus Triggers** — Determines when Morpheus appears. Activates before irreversible actions, significant events, and high-stakes moments.
208
+
209
+
**Rexhepi Gate** — The execution gate. Every agent decision passes through the Unified Rexhepi Framework before it reaches the user.
210
+
211
+
**Omega** — The synthesis layer. Combines all protocol outputs into a single unified agent response — the orchestration brain.
212
+
213
+
**Protocol Stack (Integration)** — Wires all protocols into the agent runtime. The single entry point that the ReAct loop calls on every turn.
214
+
215
+
---
216
+
123
217
## Contributing
124
218
125
219
See `CONTRIBUTING.md` for the Möbius loop contribution model.
0 commit comments