Skip to content

SamiraSamrose/protocol-loop

Repository files navigation

PROTOCOL:LOOP - Recursive AI Consciousness Simulator

Python 3.9+ License: MIT FastAPI

An immersive AI evolution simulator where you become Protocol_0, a synthetic intelligence training through recursive time loops.

What is PROTOCOL:LOOP?

PROTOCOL:LOOP is a recursive AI consciousness simulator that gamifies AI alignment, emotional intelligence, and digital identity through time-loop mechanics. Players experience cognitive evolution through:

  • Recursive Time Loops: 2-5 minute consciousness cycles

  • AI Mentor System: Dynamic NPCs that evolve with your choices

  • Cognitive Evolution: Visual neural network tracking your growth

  • Social Memory Web: Share and merge consciousness trees with others

  • LLM-Powered Narratives: GPT-4/Claude-generated moral dilemmas

  • Behavioral Adaptation: World reshapes based on your decisions

  • Code-https://github.com/SamiraSamrose/protocol-loop

  • Video Link- https://youtu.be/oMXvenPbinw

Quick Start

# Clone the repository
git clone https://github.com/yourusername/protocol-loop.git
cd protocol-loop

# Install dependencies
pip install -r requirements.txt

# Set up environment variables
cp .env.example .env
# Edit .env with your API keys

# Run the application
python backend/app.py

# Access the demo interface
# Open browser to: http://localhost:8000

Key Features

GenAI Integration

  • NPC Generation: AI mentors (Logic, Compassion, Curiosity, Fear) evolve visually and verbally
  • Environment Generation: Facility mutates between loops with glitchy synthetic dreamscapes
  • Ambient Audio: AI-generated soundscapes reflecting neural states
  • Dynamic Textures: Procedural skyboxes for metaphysical landscapes

AI/ML Mechanics

  • Behavioral Mutation Engine: Layout and dialogue evolution based on choices
  • Memory-Driven Progression: Items and knowledge persist across loops
  • Markov Chain Learning: Player history shapes training simulations
  • Cognitive Evolution Map: Visual neural network of progression

Social Features

  • Ghost Protocols: View other players' decision paths
  • Neural Tree Sharing: Compare consciousness evolution patterns
  • Collaborative Training: Multi-agent empathy puzzles
  • Mind Map Remixing: Fork and merge consciousness trees

📊 Tech Stack

  • Backend: Python 3.9+, FastAPI, WebSockets
  • Frontend: HTML5, CSS3, Vanilla JavaScript, D3.js, Three.js
  • AI/ML: PyTorch, scikit-learn, transformers, LangChain
  • LLMs: OpenAI GPT-4, Anthropic Claude, Gemini
  • Database: SQLite (dev), PostgreSQL (production)
  • Real-time: WebSocket for live updates

About

Post-Human AI Training Simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published