FerrellSyntheticIntelligence commited on
Commit
41762bb
·
1 Parent(s): cf9c488

[VITALIS] Complete README

Browse files
Files changed (1) hide show
  1. README.md +139 -92
README.md CHANGED
@@ -6,161 +6,208 @@ tags:
6
  - code
7
  - autonomous
8
  - self-healing
9
- - agent
10
- - code-generation
11
- - software-engineering
12
- - agentic
13
- - devops
14
  library_name: custom
15
  pipeline_tag: text-generation
16
  ---
17
 
18
  # Ferrell Synthetic Intelligence (FSI): Vitalis_Devcore
19
 
20
- > **Vitalis is a self-evolving digital engineer that lives inside your computer capable of writing, testing, and fixing its own code to build whatever software you can dream up, without you doing the manual heavy lifting.**
21
-
22
- Built entirely by one developer. No team. No funding. Four years of self-taught work.
23
 
24
  ---
25
 
26
  ## What Is This?
27
 
28
- Most AI coding tools are assistants they wait for you to ask, then suggest. Vitalis is different.
 
 
 
 
 
 
29
 
30
- Vitalis_Devcore is an **autonomous execution engine**. It receives an intent, writes the code, runs the tests, and if something breaks, it heals itself and tries again — all without human intervention. It is the "hands" of the FSI ecosystem, designed to operate alongside **[Vitalis_Core](https://huggingface.co/FerrellSyntheticIntelligence/Vitalis_Core)**, which provides the cognitive reasoning layer.
 
 
 
 
 
 
31
 
32
  ---
33
 
34
- ## Core Architecture
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
 
36
  | Component | Role |
37
  |---|---|
38
- | `SovereignKernel` | Writes and scaffolds code to disk |
39
- | `KernelDaemon` | Watches for tasks, executes them, validates results |
40
- | `SelfHealingLoop` | Detects failures and autonomously attempts recovery |
41
- | `KernelValidator` | Runs pytest against generated code |
42
- | `ProjectLedger` | Immutable append-only audit log of every action |
43
- | `InferenceEngine` | Confidence-gated response generation with RAG augmentation |
44
- | `ConfidenceBridge` | Autonomously re-queries when confidence is in the hypothesis zone (0.45–0.65) |
45
- | `Hippocampus` | Memory-mapped binary vector store for long-term recall |
46
- | `ResonanceEngine` | Continual learning — adjusts kernel weights from interaction history |
47
- | `ContextSerializer` | Serializes full project state for agent context windows |
48
 
49
  ---
50
 
51
  ## How It Works
52
 
53
- ```
54
- You give Vitalis an intent
55
-
56
- CognitionEngine generates a plan
57
-
58
- KernelDaemon picks up the task
59
-
60
- SovereignKernel writes the code
61
-
62
- KernelValidator runs the tests
63
-
64
- Pass ProjectLedger logs success
65
- Fail → SelfHealingLoop attempts autonomous recovery
66
-
67
- Pass Recovered and logged
68
- Fail → Failure report generated for review
69
- ```
 
 
 
 
 
70
 
71
  ---
72
 
73
- ## Getting Started
 
 
 
 
74
 
75
- ### 1. Clone the repository
76
- ```bash
77
- git clone https://huggingface.co/FerrellSyntheticIntelligence/Vitalis_Devcore
78
- cd Vitalis_Devcore
79
- ```
80
 
81
- ### 2. Install dependencies
82
- ```bash
83
- pip install -r requirements.txt
84
- ```
85
 
86
- ### 3. Start the Kernel Daemon
87
- ```bash
88
- python3 -m src.ide_kernel.daemon
89
- ```
90
 
91
- ### 4. Send your first task
92
- ```bash
93
- python3 -m src.ide_kernel.client scaffold my_module
94
- ```
95
 
96
- Vitalis will scaffold a full module structure under `app/modules/my_module/`, generate a test file, run it, and log the result — all automatically.
97
 
98
  ---
99
 
100
- ## REST Gateway (Optional)
101
 
102
- Start the Flask gateway to send tasks over HTTP:
 
 
 
103
 
104
- ```bash
105
- python3 src/ide_kernel/gateway.py
106
- ```
107
 
108
- Then POST to it:
 
 
109
 
110
- ```bash
111
- curl -X POST http://127.0.0.1:5001/execute \
112
- -H "Content-Type: application/json" \
113
- -d '{"intent": "scaffold", "module_name": "my_module"}'
114
- ```
115
 
116
  ---
117
 
118
- ## Self-Healing Demo
119
 
120
- ```bash
121
- # Start the self-healing monitor in a separate terminal
122
- python3 -m src.loop.self_healing
123
 
124
- # Trigger a task that fails — Vitalis will detect the failure
125
- # and autonomously attempt recovery without you touching anything
126
- ```
127
 
128
  ---
129
 
130
- ## Technical Highlights
131
 
132
- - **Custom HDC Engine** — A compiled C extension (`hdc_engine.so`) for hyperdimensional computing operations including vector binding and bundling
133
- - **Memory-Mapped Neural Store** — `Hippocampus` uses `numpy.memmap` for persistent binary vector storage across sessions
134
- - **Confidence-Gated Inference** The `InferenceEngine` uses a `ConfidenceBridge` to autonomously augment prompts when confidence falls in the hypothesis zone
135
- - **Temporal Knowledge Retrieval** `train_self.py` supports querying memory nodes that were alive at a specific Unix timestamp
136
- - **Hot-Ingestion Daemon** `watcher.py` monitors the knowledge directory and re-ingests new documents in real time
 
 
137
 
138
  ---
139
 
140
- ## Governance & Integrity
141
 
142
- - **Quality Gates** All autonomous actions require passing pytest before being committed to the ledger
143
- - **Immutable Audit** Every action is SHA-recorded in `project_ledger.json`
144
- - **Failure Transparency** All failures are written to `failure_report.json` before recovery is attempted
 
145
 
146
  ---
147
 
148
  ## Roadmap
149
 
150
- - [ ] Connect Vitalis_Core LLM as the live reasoning backend
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  - [ ] HuggingFace Space interactive demo
152
- - [ ] Natural language task input via CLI
153
- - [ ] Multi-agent coordination between Devcore instances
154
- - [ ] Web UI dashboard for ledger and task visualization
155
 
156
  ---
157
 
158
  ## About the Developer
159
 
160
- FSI (Ferrell Synthetic Intelligence) is an independent AI research project built by a single self-taught developer over four years — no formal education, no team, no funding. Just a vision, a tablet, and a GPU.
 
 
161
 
162
- If this project resonates with you, a star goes a long way.
163
 
164
  ---
165
 
166
- *License: GPL-3.0*
 
6
  - code
7
  - autonomous
8
  - self-healing
9
+ - hyperdimensional-computing
10
+ - cognitive-architecture
 
 
 
11
  library_name: custom
12
  pipeline_tag: text-generation
13
  ---
14
 
15
  # Ferrell Synthetic Intelligence (FSI): Vitalis_Devcore
16
 
17
+ Built by one person. Laptop and a tablet. No degree. No team. A self-healing, self-learning, sovereign AI development system using Hyperdimensional Computing as the reasoning substrate. Benchmarked 3/3. Ships with biological memory decay, idle-time dream consolidation, resonance-based weight learning, emergent reasoning modes, and a cognitive identity layer. Runs offline. Forever.
 
 
18
 
19
  ---
20
 
21
  ## What Is This?
22
 
23
+ Most AI coding tools are wrappers around someone elses model. Vitalis FSI is not.
24
+
25
+ It is a fully sovereign, self-contained autonomous development system built from the ground up using Hyperdimensional Computing as the reasoning substrate. No OpenAI. No Anthropic. No cloud. No subscription. It runs on your hardware. It learns from your work. It gets smarter every day it runs without sending a single byte to an external server.
26
+
27
+ ---
28
+
29
+ ## Benchmark Results
30
 
31
+ | Test | Score | Status |
32
+ |---|---|---|
33
+ | Vectorization Speed | 0.28ms avg | FAST |
34
+ | Semantic Similarity related | 0.833 | PASS |
35
+ | Semantic Separation unrelated | 0.126 | PASS |
36
+ | Reasoning Mode Accuracy | 3/3 | PASS |
37
+ | Pattern Retrieval | 0.429 similarity | PASS |
38
 
39
  ---
40
 
41
+ ## Full Architecture
42
+
43
+ ### Execution Layer
44
+ | Component | Role |
45
+ |---|---|
46
+ | SovereignKernel | Writes and scaffolds code to disk |
47
+ | KernelDaemon | Watches for tasks, executes, validates, learns |
48
+ | SelfHealingLoop | Detects failures, attempts autonomous recovery |
49
+ | KernelValidator | Runs pytest against every generated output |
50
+ | ProjectLedger | Append-only audit log of every action |
51
+ | TaskPipeline | Chains multiple operations in sequence |
52
+ | Gateway Flask | REST API at localhost:5001 |
53
+ | ContextSerializer | Serializes full project state |
54
+
55
+ ### Cognitive Layer
56
+ | Component | Role |
57
+ |---|---|
58
+ | VitalisMind | Unified cognitive orchestrator |
59
+ | IdentityCore | Permanent sovereign identity hypervector |
60
+ | PersonalityMatrix | 5 traits that evolve from accumulated experience |
61
+ | ReasoningEngine | Emergent mode selection EXECUTION RECOVERY EXPLORATORY ANALYTICAL |
62
+ | MetaRulesEngine | Crystallizes and prunes its own decision rules |
63
+ | AbstractionEngine | Forms concepts from clusters of experience |
64
+
65
+ ### Memory Layer
66
+ | Component | Role |
67
+ |---|---|
68
+ | Hippocampus | Temporal vector memory with Ebbinghaus forgetting curve |
69
+ | PatternLibrary | Stores successful code as HDC vectors |
70
+ | ResonanceEngine | Weights that strengthen from success, weaken from failure |
71
+ | DreamEngine | Idle-time memory consolidation and concept formation |
72
+ | SelfTrainer | Learns from every ledger success automatically |
73
 
74
+ ### Intelligence Layer
75
  | Component | Role |
76
  |---|---|
77
+ | VitalisKernel HDC | Trigram-encoded hyperdimensional reasoning engine |
78
+ | InferenceEngine | HDC-based intent detection and routing |
79
+ | CodeGenerator | Generates code from pattern retrieval and templates |
80
+ | SemanticDiff | Understands meaning changes not just text changes |
 
 
 
 
 
 
81
 
82
  ---
83
 
84
  ## How It Works
85
 
86
+ You give Vitalis an intent
87
+ |
88
+ VitalisMind processes context
89
+ -> detects reasoning mode EXECUTION RECOVERY EXPLORATORY ANALYTICAL
90
+ -> checks identity alignment
91
+ -> queries crystallized meta-rules
92
+ |
93
+ KernelDaemon picks up the task
94
+ |
95
+ SovereignKernel writes the code
96
+ |
97
+ KernelValidator runs the tests
98
+ |
99
+ Pass -> Ledger logs success, Resonance strengthens, Pattern stored
100
+ Fail -> SelfHealingLoop attempts recovery
101
+ |
102
+ Pass -> Recovered, logged, learned from
103
+ Fail -> Failure report generated for review
104
+ |
105
+ DreamEngine idle -> consolidates memory
106
+ -> prunes weak patterns
107
+ -> forms abstract concepts
108
 
109
  ---
110
 
111
+ ## What Makes It Different
112
+
113
+ Normal AI tools send your code to someone elses server. Vitalis FSI does not.
114
+
115
+ Emergent reasoning - The system detects its own context and shifts reasoning modes automatically. No prompt engineering. It reads the context and changes how it thinks on its own.
116
 
117
+ Biological memory - Memories strengthen with use and decay without use following the Ebbinghaus forgetting curve. Exactly like a real brain.
 
 
 
 
118
 
119
+ Dream consolidation - While idle the system merges similar patterns, prunes weak memories, and forms higher-order abstract concepts. The system thinks while it sleeps.
 
 
 
120
 
121
+ Personality evolution - Five measurable traits drift over time based on accumulated experience. The system develops a character.
 
 
 
122
 
123
+ Self-modifying rules - Decision rules crystallize from repeated successful action sequences and are pruned when they stop working. The system rewrites its own logic.
 
 
 
124
 
125
+ Semantic understanding - The diff engine understands what a change means not just what text changed.
126
 
127
  ---
128
 
129
+ ## Quick Start
130
 
131
+ git clone https://github.com/AnonymousNomad/Vitalis_Devcore
132
+ cd Vitalis_Devcore
133
+ pip install -r requirements.txt
134
+ ./start.sh
135
 
136
+ Dashboard live at http://localhost:5001
 
 
137
 
138
+ ---
139
+
140
+ ## CLI Usage
141
 
142
+ python3 -m vitalis_ide.cli.main scaffold my_module
143
+ python3 -m vitalis_ide.cli.main write src/my_module/main.py "def run(): pass"
144
+ python3 -m vitalis_ide.cli.main status
 
 
145
 
146
  ---
147
 
148
+ ## REST API
149
 
150
+ python3 -m flask --app src.ide_kernel.gateway run --port 5001
 
 
151
 
152
+ curl -X POST http://localhost:5001/execute
153
+ curl http://localhost:5001/status
 
154
 
155
  ---
156
 
157
+ ## System Requirements
158
 
159
+ | Requirement | Minimum |
160
+ |---|---|
161
+ | Python | 3.10+ |
162
+ | RAM | 2GB recommended 4GB |
163
+ | Storage | 500MB |
164
+ | GPU | Not required |
165
+ | Internet | Not required |
166
 
167
  ---
168
 
169
+ ## Security
170
 
171
+ - Zero external API calls during operation
172
+ - All data stored locally under ~/.vitalis_workspace/
173
+ - Superuser token loaded from environment variable only
174
+ - Full security audit included: python3 audit.py
175
 
176
  ---
177
 
178
  ## Roadmap
179
 
180
+ - [x] Execution framework daemon gateway kernel
181
+ - [x] Self-healing recovery loop
182
+ - [x] HDC-based Hippocampus memory
183
+ - [x] Pattern learning from experience
184
+ - [x] Resonance weight learning
185
+ - [x] Semantic diff engine
186
+ - [x] Live web dashboard
187
+ - [x] CLI tool
188
+ - [x] Auto git commits on every success
189
+ - [x] Task pipelines
190
+ - [x] Cognitive identity layer
191
+ - [x] Emergent reasoning modes
192
+ - [x] Evolving personality matrix
193
+ - [x] Meta-rules engine
194
+ - [x] Dream mode consolidation
195
+ - [x] Abstraction engine
196
+ - [ ] Mobile app frontend
197
+ - [ ] VSCode extension
198
+ - [ ] Multi-agent coordination
199
  - [ ] HuggingFace Space interactive demo
 
 
 
200
 
201
  ---
202
 
203
  ## About the Developer
204
 
205
+ FSI Ferrell Synthetic Intelligence is an independent AI research project built by a single self-taught developer. No formal education. No team. No funding. Just a vision, a laptop, and a Samsung tablet.
206
+
207
+ Four years of work. One sovereign system.
208
 
209
+ If this project resonates with you, a star goes a long way.
210
 
211
  ---
212
 
213
+ License: GPL-3.0