Skip to content

Commit fb2c4fe

Browse files
Update README.md
1 parent 676ac41 commit fb2c4fe

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Jellyfish is a lightweight, portable AI library written in pure C with no external dependencies, purpose-built for embedded environments and trust-critical systems. Its architecture centers around transparent AI principles, using blockchain-inspired techniques to make all learning, memory, and reasoning fully auditable. Every interaction—input, decision, or output—is recorded as a cryptographically hashed block, creating an immutable, traceable chain of logic that preserves the system’s decision lineage. This enables developers to inspect exactly how and why the system reached a conclusion, down to the model, token, and rule used. The engine supports memory-based reasoning, adaptive learning from prior inputs, and automatic pruning of obsolete or conflicting knowledge, ensuring the system evolves without accumulating contradiction or noise. These features make Jellyfish a foundation for AI systems where verifiability, traceability, and long-term ethical transparency are non-negotiable.
44

5+
## 🧠 `.jellyfish` File Example
6+
7+
This file defines a **Jellyfish mindset**, mapping named personalities to model chains (`.fish` files):
8+
59
```meson
610
# This is the primary logic bundle for TAI personality
711
@@ -30,6 +34,42 @@ mindset('persona_trump') {
3034
}
3135
```
3236

37+
* `mindset(name)` declares a named personality or capability.
38+
* `models` list refers to one or more `.fish` model files.
39+
* Optional attributes like `tags`, `priority`, and `activation_condition` allow selective and conditional loading.
40+
41+
---
42+
43+
## 🧠 `.fish` File Example
44+
45+
A `.fish` file stores learned associations (called *thought blocks*) in JSON format:
46+
47+
```json
48+
{
49+
"signature": "JFS1",
50+
"blocks": [
51+
{
52+
"input": "fire",
53+
"output": "hot",
54+
"timestamp": 1620000000
55+
},
56+
{
57+
"input": "ice",
58+
"output": "cold",
59+
"timestamp": 1620001000
60+
},
61+
{
62+
"input": "wind",
63+
"output": "fast",
64+
"timestamp": 1620002000
65+
}
66+
]
67+
}
68+
```
69+
70+
* `signature`: Identifies the file format version (`JFS1`).
71+
* Each `block` represents a learned input → output association, optionally timestamped for ordering or pruning.
72+
3373
## Key Features
3474

3575
- **Cross-Platform**: Runs consistently on Windows, macOS, and Linux.

0 commit comments

Comments
 (0)