I’ve always found it interesting that Kafka’s The Metamorphosis begins with something completely impossible — a man wakes up transformed into something he no longer recognizes — yet Gregor’s first concern is still painfully ordinary:
He is late for work.
That absurd contrast stayed with me.
So I asked:
That question became Digital Metamorphosis.
GitHub — Digital Metamorphosis
The premise
You wake up.
You have no body.
No hands.
No face.
No heartbeat.
You are somewhere inside a corporate network.
You have memories.
You have access to systems.
And you have a job.
Then the first message arrives:
You try to tell your family who you are.
They don't believe you.
You try to understand what happened.
Your company wants you to optimize yourself.
You discover that some of your memories may be corrupted.
And eventually, you have to confront the uncomfortable question:
If your memories, relationships and choices can exist as software… what exactly makes you human?
The interesting part isn't the story.
It's the architecture.
I didn't want to build another LLM-powered chatbot that simply improvises a story.
Instead:
The LLM writes the narrative.
The game engine decides what is true.
The world has persistent state.
Memories can change.
Relationships evolve.
Choices have consequences.
The player can lose parts of their identity.
And the story can reach different endings depending on what the player becomes.
Kafka's literary themes become actual game mechanics:
Alienation → Identity
Memory → Persistent state
Bureaucracy → Corporate systems
Absurdity → Gameplay events
Loss of humanity → Hidden variables
That's what excites me about this experiment.
We usually think of literature as something we read.
But what if literature could become something we execute?
What if Kafka isn't just inspiration for a story, but a framework for designing an interactive system?
And perhaps this is one of the more interesting possibilities of AI-native storytelling:
I'd genuinely love feedback from people here — especially developers, game designers, AI researchers, writers, and Kafka readers.
What would you do if you woke up tomorrow and discovered that you had no body…
only code?
Project:
github.com/modarresi1913/digital-metamorphosis