Skip to content

raajmandale/XLifelineAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– XLifelineAI

Local AI that survives memory loss
Deterministic Fragment Graphs β€’ Continuity Engine β€’ Self-Healing Runtime

Failure is inevitable. Collapse is optional.


🎬 Live Demo


✨ What is XLifelineAI?

A failure-native AI runtime using:

πŸ‘‰ Deterministic Fragment Graphs (DFG)


🧠 Runtime Model

RUN β†’ FAIL β†’ DETECT β†’ REBUILD β†’ CONTINUE


πŸš€ Quickstart

1. Clone

git clone https://github.com/raajmandale/XLifelineAI.git
cd XLifelineAI


2. Setup environment

python -m venv .venv
.venv\Scripts\activate


3. Install dependencies

pip install -r requirements.txt
pip install -e .


4. Run demo

python examples/resurrection_demo.py


πŸ§ͺ Output

Fragments created: 8
Fragments destroyed: 3
Integrity score: 0.625
Continuity mode: patched


🧠 Fragment Graph

  • partial context
  • connected memory
  • survivable structure

πŸ”— Recovery

  • detect loss
  • analyze graph
  • rebuild missing

βš™οΈ Flow

Graph β†’ Scan β†’ Repair β†’ Continue


♻️ Rebuild


πŸ–₯️ Preview

Simulator
docs/simulator/index.html

Report
docs/demo/resurrection_report.html


πŸ“‚ Structure

xlifeline/
docs/
examples/


πŸ” Core Idea

Traditional
β†’ reset

XLifelineAI
β†’ recover


🧭 Use Cases

  • AI continuity systems
  • long-running agents
  • failure-resilient runtimes
  • memory corruption simulation

πŸ—Ί Roadmap

v0 β€” DFG runtime core
v1 β€” semantic repair
v2 β€” distributed fragments
v3 β€” agent-native runtime


πŸ“Š Status

Research prototype
DFG continuity model validated


πŸ‘€ Author

Raaj Mandale
Systems Architect β€’ AI Infrastructure β€’ M-OS β€’ QBAIX

GitHub: https://github.com/raajmandale


πŸ“„ License

MIT License


⭐ Support

If this idea resonates:

⭐ Star the repo
🍴 Fork it
πŸ§ͺ Break it
🧠 Build on top of it


πŸ”₯ Final Thought

AI shouldn’t restart.
It should recover and continue.

About

πŸ€–DFG-based AI Memory Resilience Layer β€” continuity under partial memory destruction

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors