mrs-core 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl
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.
- {mrs_core-0.1.0.dist-info → mrs_core-0.1.1.dist-info}/METADATA +28 -28
- {mrs_core-0.1.0.dist-info → mrs_core-0.1.1.dist-info}/RECORD +6 -6
- {mrs_core-0.1.0.dist-info → mrs_core-0.1.1.dist-info}/licenses/NOTICE +1 -1
- {mrs_core-0.1.0.dist-info → mrs_core-0.1.1.dist-info}/WHEEL +0 -0
- {mrs_core-0.1.0.dist-info → mrs_core-0.1.1.dist-info}/licenses/LICENSE +0 -0
- {mrs_core-0.1.0.dist-info → mrs_core-0.1.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mrs-core
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: MRS-Core: A deterministic modular reasoning engine.
|
|
5
5
|
Author: Ryan Sabouhi
|
|
6
6
|
License: Apache-2.0
|
|
@@ -24,10 +24,10 @@ License-File: LICENSE
|
|
|
24
24
|
License-File: NOTICE
|
|
25
25
|
Dynamic: license-file
|
|
26
26
|
|
|
27
|
-
# Modular Reasoning
|
|
27
|
+
# Modular Reasoning System (MRS-Core)
|
|
28
28
|
*A deterministic, operator-based reasoning engine for LLMs and autonomous agents.*
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
MRS-Core provides a transparent, modular, reproducible reasoning substrate built from a small set of reusable operators:
|
|
31
31
|
|
|
32
32
|
- Transform
|
|
33
33
|
- Reflect
|
|
@@ -37,11 +37,11 @@ MRF-Core provides a transparent, modular, reproducible reasoning substrate built
|
|
|
37
37
|
- Inspect
|
|
38
38
|
- Filter
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
MRS makes reasoning traceable, auditable, and deterministic all without requiring chain-of-thought exposure or hidden model internals.
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
44
|
-
# Why
|
|
44
|
+
# Why MRS-Core Exists
|
|
45
45
|
|
|
46
46
|
### Every agent framework today suffers from the same structural failures:
|
|
47
47
|
|
|
@@ -50,7 +50,7 @@ MRF makes reasoning traceable, auditable, and deterministic—without requiring
|
|
|
50
50
|
- No visibility into intermediate states
|
|
51
51
|
- No enforceable phases or operator logic
|
|
52
52
|
|
|
53
|
-
###
|
|
53
|
+
### MRS-Core solves this by introducing:
|
|
54
54
|
|
|
55
55
|
- Explicit operator-level reasoning
|
|
56
56
|
- Strict phase transition model
|
|
@@ -58,9 +58,9 @@ MRF makes reasoning traceable, auditable, and deterministic—without requiring
|
|
|
58
58
|
- Deterministic, reproducible outputs
|
|
59
59
|
- Plug-and-play integration for ANY agent system
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
###
|
|
61
|
+
MRS is **not** an alignment system.
|
|
62
|
+
MRS is **not** a sandbox.
|
|
63
|
+
### MRS is a *reasoning substrate*.
|
|
64
64
|
|
|
65
65
|
---
|
|
66
66
|
|
|
@@ -71,7 +71,7 @@ MRF is **not** a sandbox.
|
|
|
71
71
|
- Output is repeatable.
|
|
72
72
|
|
|
73
73
|
### Transparent Logs & History
|
|
74
|
-
|
|
74
|
+
MRS records:
|
|
75
75
|
- final text
|
|
76
76
|
- operator log
|
|
77
77
|
- phase trace
|
|
@@ -88,7 +88,7 @@ MRF records:
|
|
|
88
88
|
# Install
|
|
89
89
|
|
|
90
90
|
```bash
|
|
91
|
-
pip install
|
|
91
|
+
pip install mrs-core
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
---
|
|
@@ -96,13 +96,13 @@ pip install mrf-core
|
|
|
96
96
|
|
|
97
97
|
# Quick Start
|
|
98
98
|
```bash
|
|
99
|
-
from
|
|
100
|
-
from
|
|
99
|
+
from mrs.engine import MRSCoreEngine
|
|
100
|
+
from mrs.presets import get_preset
|
|
101
101
|
|
|
102
|
-
engine =
|
|
102
|
+
engine = MRSCoreEngine()
|
|
103
103
|
ops = get_preset("reasoning")
|
|
104
104
|
|
|
105
|
-
result = engine.run_chain(ops, "
|
|
105
|
+
result = engine.run_chain(ops, "MRS-Core is a modular deterministic reasoning pipeline.")
|
|
106
106
|
|
|
107
107
|
print(result["text"])
|
|
108
108
|
print(result["log"])
|
|
@@ -113,7 +113,7 @@ print(result["phase"])
|
|
|
113
113
|
# Example Output
|
|
114
114
|
```bash
|
|
115
115
|
[REFLECT] [TRANSFORM]
|
|
116
|
-
|
|
116
|
+
MRS-CORE IS A MODULAR DETERMINISTIC REASONING PIPELINE.
|
|
117
117
|
|
|
118
118
|
[EVAL CHARS=95 WORDS=14]
|
|
119
119
|
|
|
@@ -123,9 +123,9 @@ PHASE: rewrite
|
|
|
123
123
|
|
|
124
124
|
# Running a Manual Operator Chain
|
|
125
125
|
```bash
|
|
126
|
-
from
|
|
126
|
+
from mrs.engine import MRSCoreEngine
|
|
127
127
|
|
|
128
|
-
engine =
|
|
128
|
+
engine = MRSCoreEngine()
|
|
129
129
|
|
|
130
130
|
ops = [
|
|
131
131
|
("transform", {}),
|
|
@@ -143,20 +143,20 @@ print(result["history"])
|
|
|
143
143
|
|
|
144
144
|
# Using Presets
|
|
145
145
|
|
|
146
|
-
###
|
|
146
|
+
### MRS-Core includes preset chains:
|
|
147
147
|
- simple
|
|
148
148
|
- reasoning
|
|
149
149
|
- full_chain
|
|
150
150
|
|
|
151
151
|
```bash
|
|
152
|
-
from
|
|
153
|
-
from
|
|
152
|
+
from mrs.engine import MRSCoreEngine
|
|
153
|
+
from mrs.presets import get_preset
|
|
154
154
|
|
|
155
|
-
engine =
|
|
155
|
+
engine = MRSCoreEngine()
|
|
156
156
|
|
|
157
157
|
for name in ["simple", "reasoning", "full_chain"]:
|
|
158
158
|
ops = get_preset(name)
|
|
159
|
-
result = engine.run_chain(ops, "
|
|
159
|
+
result = engine.run_chain(ops, "MRS-Core preset test")
|
|
160
160
|
print(f"=== {name.upper()} ===")
|
|
161
161
|
print(result["text"])
|
|
162
162
|
```
|
|
@@ -186,7 +186,7 @@ class ReflectOperator(Operator):
|
|
|
186
186
|
|
|
187
187
|
# Project Structure
|
|
188
188
|
```bash
|
|
189
|
-
|
|
189
|
+
mrs-core/
|
|
190
190
|
engine.py
|
|
191
191
|
registry.py
|
|
192
192
|
state.py
|
|
@@ -206,15 +206,15 @@ examples/
|
|
|
206
206
|
```
|
|
207
207
|
---
|
|
208
208
|
|
|
209
|
-
# What
|
|
209
|
+
# What MRS-Core Is Not
|
|
210
210
|
|
|
211
|
-
###
|
|
211
|
+
### MRS-Core is **NOT**:
|
|
212
212
|
- an alignment system
|
|
213
213
|
- a safety guarantee
|
|
214
214
|
- a sandbox
|
|
215
215
|
- a replacement for secure execution layers
|
|
216
216
|
|
|
217
|
-
###
|
|
217
|
+
### MRS-Core **IS**:
|
|
218
218
|
- a deterministic reasoning layer
|
|
219
219
|
- an operator execution engine
|
|
220
220
|
- an audit-friendly cognition scaffold
|
|
@@ -240,7 +240,7 @@ Ryan Sabouhi
|
|
|
240
240
|
# Notice
|
|
241
241
|
|
|
242
242
|
This software contains original work developed as part of the
|
|
243
|
-
**Modular Reasoning
|
|
243
|
+
**Modular Reasoning System (MRS-Core)** by **Ryan Sabouhi**.
|
|
244
244
|
See the `NOTICE` file for attribution details.
|
|
245
245
|
|
|
246
246
|
#
|
|
@@ -16,9 +16,9 @@ mrs/operators/reflect.py,sha256=stlm4eeWRo50IQ1CAFB1Pk0KAkRRsGNTRFPJL9-huxo,299
|
|
|
16
16
|
mrs/operators/rewrite.py,sha256=UyyhkYeq1c1916Izh47YltjLJ-LRaYIP8Rw_ZfwXsyo,347
|
|
17
17
|
mrs/operators/summarize.py,sha256=Q-cMvU7Iu48kKi1RbggqItHSFqS6LFqf-qKJ5rlyenU,354
|
|
18
18
|
mrs/operators/transform.py,sha256=g5Aq2LeziG1Xeqncz053Xmv1SCS_d9Fq_Zsriiebd8A,368
|
|
19
|
-
mrs_core-0.1.
|
|
20
|
-
mrs_core-0.1.
|
|
21
|
-
mrs_core-0.1.
|
|
22
|
-
mrs_core-0.1.
|
|
23
|
-
mrs_core-0.1.
|
|
24
|
-
mrs_core-0.1.
|
|
19
|
+
mrs_core-0.1.1.dist-info/licenses/LICENSE,sha256=YhxJr-lCiJMIQLkwOsqof2ZhAr6cOMOnzKX_qOGWIwE,11489
|
|
20
|
+
mrs_core-0.1.1.dist-info/licenses/NOTICE,sha256=Gh8CDLuJ2Jgixu3sQ9PgTQv4nTLyNozncfw0wW3hl9U,132
|
|
21
|
+
mrs_core-0.1.1.dist-info/METADATA,sha256=qE1bBiGCyjivlRgfuswSFVaHcoVKjTKC6Tk5cNmDWww,5566
|
|
22
|
+
mrs_core-0.1.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
23
|
+
mrs_core-0.1.1.dist-info/top_level.txt,sha256=u-QA32S-jnY2FEXu4JwnPAZGDQdlPyQg2aCXHDAIjwY,4
|
|
24
|
+
mrs_core-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|