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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
-
|
| 6 |
-
This engine is designed to operate in tandem with the **[Vitalis_Core](https://huggingface.co/FerrellSyntheticIntelligence/Vitalis_Core)** base model. While Vitalis_Core provides the cognitive reasoning, Vitalis_Devcore provides the execution layer that allows the model to interact with the IDE, validate code, and manage production deployments.
|
| 7 |
|
| 8 |
-
|
| 9 |
-
1. **Clone the repository:**
|
| 10 |
-
`git clone https://huggingface.co/FerrellSyntheticIntelligence/Vitalis_Devcore`
|
| 11 |
-
2. **Install dependencies:**
|
| 12 |
-
`pip install -r requirements.txt`
|
| 13 |
-
3. **Configure:** Ensure your local environment is linked to your **Vitalis_Core** inference path.
|
| 14 |
|
| 15 |
-
|
| 16 |
-
- **Zero-Trust:** All autonomous intents require cryptographic token validation.
|
| 17 |
-
- **Quality Gates:** Policy-enforced unit testing (Pytest) with 80% coverage requirements.
|
| 18 |
-
- **Immutable Audit:** Every production merge is SHA-256 hashed into an append-only ledger (`production_ledger.json`).
|
| 19 |
|
| 20 |
*License: GPL-3.0*
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: gpl-3.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
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*
|