Skip to content

Repository files navigation

Storytime

A local-first, AI-powered dynamic storytelling platform built in C# / WinForms. Storytime uses a graph database to model narratives as a hierarchy of nodes, driven by a chain of specialized AI agents — each responsible for one layer of production.

Agent Hierarchy

Agent Responsibility
Development Manager Creates and organizes Projects
Story Writer Writes Stories within a Project
Scene Writer Breaks Stories into Scenes
Director Produces a CallSheet per Scene
Set Produces a Performance from a CallSheet
Observer Produces a Deliverable from a Performance

Node Hierarchy

Project
└── Story
    ├── Character
    ├── Location
    └── Beat
        └── Scene
            ├── Beat
            └── CallSheet
                ├── hasRole → Character
                └── Production
                    └── Deliverable

Tech Stack

  • C# / .NET — WinForms desktop application
  • MediatR — CQRS pattern for all commands and queries
  • Entity Framework Core — StorytimeDb (4-table graph: Item, ItemRelations, ItemTypes, ItemRelationTypes)
  • LM Studio — Local LLM inference
  • MCP Servers — storytime-mcp (graph read) + daemons3mcp (filesystem)
  • Claude — AI agent orchestration

Key Features

  • Drag and drop node re-parenting with type validation
  • Recursive export to Markdown (Obsidian compatible)
  • Extensible agent chain via MCP
  • Fully local — no cloud dependency required

Getting Started

See GETTING_STARTED.md to clone, configure, and run locally.

License

See LICENSE for details.

About

A local-first, AI-powered dynamic storytelling platform built in C# / WinForms. Storytime uses a graph database to model narratives as a hierarchy of nodes, driven by a chain of specialized AI agents — each responsible for one layer of production.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages