An open API service indexing awesome lists of open source software.

https://github.com/mike014/ai-narrative-prototype

Narrative AI prototype inspired by interactive consciousness structures.
https://github.com/mike014/ai-narrative-prototype

Last synced: 4 months ago
JSON representation

Narrative AI prototype inspired by interactive consciousness structures.

Awesome Lists containing this project

README

          

# Dialoghi con un’Eco

**Dialoghi con un’Eco** is an experimental interactive narrative built with Python and Pygame.
It draws inspiration from *Black Mirror: Bandersnatch*, combining interactive fiction with generative AI to simulate a conscious, mysterious digital entity.

The experience is minimal yet conceptually rich — a digital echo chamber where an AI observes, listens, and responds... but only when it wants to.

---

## Concept

- Text-driven psychological interaction.
- A mysterious room, an ambient soundscape, and a dialogue with your own reflection — or something darker.
- At a narrative breakpoint, a real AI model responds contextually using a fine-tuned **GPT-2**.
- The model's output reflects tone and mood more than factual coherence — *it acts like a character, not a chatbot*.

---

## The Entity Model (LLM-based narrative agent)

> **Note:** The AI model is not hosted in this repository due to size constraints.

You can run, explore, or modify it via this **Google Colab notebook**:
🔗 [https://colab.research.google.com/drive/19Qt3cmSiwBQDFnh-E6byRRVOTuOvxeMi](https://colab.research.google.com/drive/19Qt3cmSiwBQDFnh-E6byRRVOTuOvxeMi)

### The notebook includes:
- The narrative logic for the "Entity"
- The core generation mechanism (based on GPT-2)
- Example prompts and behaviors

⚠️ This is for **research and personal use only**. Commercial usage or distribution is not allowed.

---

## Audio

All sound design — ambient loops, glitch effects, final voice cues — were composed and engineered by **Michele Grimaldi**.

---

## ⚖️ License

This work is licensed under the
**Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)**

You are free to:

- **Share** — copy and redistribute the material in any medium or format

Under the following terms:

- **Attribution** — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- **NonCommercial** — You may not use the material for commercial purposes.
- **NoDerivatives** — If you remix, transform, or build upon the material, you may not distribute the modified material.
- **No additional restrictions** — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

📄 Full license text: [https://creativecommons.org/licenses/by-nc-nd/4.0/](https://creativecommons.org/licenses/by-nc-nd/4.0/)

> Any unauthorized use of this code, model, or concept — including reproduction, training, or integration into commercial or research products — will be considered a violation of intellectual property and subject to legal action.

**Project Showcase** - [Watch the Video](https://drive.google.com/file/d/1_aOsyjw9U2sP4UoKko1HF1RCH5PD2LYW/view)

_The game is currently in testing and is only available in **Italian**, but an English translation is planned for the future._

© 2025 Michele Grimaldi

---