p4n4.com

p4n4 - Persistent Autonomous Narrative Architecture

“Your story never ends”

License: MIT Letta

Overview

p4n4 is a revolutionary open-source Agentic AI Game Engine that creates persistent, autonomous narrative experiences. Unlike traditional games that pause when you’re away, p4n4 features a self-sustaining simulation where your world continues to evolve, characters develop relationships, and stories unfold—even when you’re not actively playing.

Built on the powerful Letta framework with advanced memory block architecture, p4n4 enables truly autonomous AI agents that remember, learn, and grow over time.

Key Features

Quick Start

Try it Now!

Telegram: Start chatting with your persistent world immediately!

Email Integration

Architecture

p4n4 is built on a sophisticated agentic architecture:

graph TD
    A[User Interaction] -->|Telegram, Email, SMS| B[Communication Adapters]
    B --> C[World Engine]
    C --> D[Autonomous Agents]
    D --> E[Letta Memory Blocks]
    E --> F[Core Memory]
    E --> G[Archival Memory]
    E --> H[Recall Memory]
    E --> I[Working Memory]
    D --> J[Narrative Engine]
    J --> C
    C --> K[Persistent World State]
    K --> C

Letta Integration

p4n4 leverages Letta’s revolutionary memory architecture:

Use Cases

p4n4’s agentic architecture enables countless possibilities for persistent, evolving experiences. Here are some compelling examples:

Floridamen: Post-Apocalyptic Survival

Imagine Florida gets hit by an eternal storm. The land becomes desolate and mysterious after several years. In seek of adventures, people start venturing into the Stormlands. Those fortunate enough to return alive tell tales about mysterious tribes who call themselves… The Floridamen.

What makes this unique in p4n4:

Example Interaction:

Telegram (Day 1): "You meet Zeke, a weathered Floridaman who eyes you suspiciously..."
Email (Day 5): "Zeke sends word through a messenger bird - the tribe has voted you worthy of learning their sacred storm-calling ritual"
Telegram (Day 10): "The ritual you learned from Zeke saved another settlement. Your reputation as a Storm-Walker spreads..."

Living Language Academy

An immersive language learning experience where you’re a foreign exchange student in a persistent virtual city. AI characters remember your progress, adjust their speech complexity, and develop personal relationships with you.

Persistent Features:

Example Journey:

Week 1: Maria the baker speaks slowly, using simple words
Week 4: Maria starts telling you local gossip, testing your comprehension
Week 8: Maria invites you to her daughter's wedding, introducing complex family terminology
Week 12: You're giving a speech at Maria's nephew's graduation - full circle fluency

Corporate Negotiation Simulator

A persistent business world where you’re climbing the corporate ladder. AI executives, colleagues, and competitors remember every deal, favor, and betrayal.

Agentic Advantages:

Example Scenario:

Email: "Hi, remember when you helped me with the Peterson account last year? I'm now VP of Sales and have a proposition..."
Meeting: That small favor has opened doors to a major client you never could have reached otherwise
Result: Your persistent relationship-building strategy pays dividends in unexpected ways

Installation & Development

TODO

Documentation

Core Concepts

API Reference

TODO

Contributing

We welcome contributions to p4n4! Here’s how you can help:

  1. Report Bugs: Open an issue with detailed reproduction steps
  2. Suggest Features: Share ideas for new communication channels or gameplay mechanics
  3. Documentation: Help improve our documentation and examples
  4. Code Contributions: Submit pull requests for bug fixes and new features

Development Workflow

TODO

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Support & Community