Skip to main content

Learning Paths

Two structured tracks through the documentation. Pick the one that matches your goal.

Track 1: Narrative AI Developer

Build a narrative sifting and scoring pipeline for games or simulations.

Total time: ~2.5 hours

#PageTimeWhat you learn
1Getting Started10 minBuild and evaluate your first pattern in batch and incremental mode.
2What is Sifting10 minThe concept of sifting and why it matters across domains.
3Patterns from First Principles15 minMental model: stages, clauses, variables, joins, negation.
4Sifting by Example15 minThe same pattern across 4 domains, with interactive playgrounds.
5Pattern Cookbook20 minWorked recipes for common pattern types.
6Scoring and Surprise15 minInformation theory for ranking matches by rarity.
7Incremental Integration15 minWire fabula into a simulation loop.
8Narrative Quality15 minThreads, tension, pivots, and composite scoring for MCTS.
9Scoring Matches15 minFull observe → score → rank workflow.
10Forking for MCTS15 minClone the engine, speculate, score, select.

After completing this track, you can detect narrative patterns in a running simulation, rank them by surprise, and use scoring to drive an AI director.

Track 2: Engine Integrator

Integrate fabula into an existing system as a temporal pattern detection engine.

Total time: ~90 minutes

#PageTimeWhat you learn
1Getting Started10 minBuild and evaluate your first pattern in batch and incremental mode.
2Sifting by Example10 minThe same pattern concept across 4 domains.
3How the Engine Works15 minThe 4-phase incremental algorithm, forking, deduplication.
4Incremental Integration15 minWire fabula into your event loop.
5DSL in Rust10 minParse, compile, and evaluate DSL patterns in Rust.
6Debugging Patterns10 minTroubleshoot unmatched patterns with gap analysis.
7Custom Adapter15 minImplement DataSource for your graph store.
8Design Decisions10 minWhy fabula is built the way it is — tradeoffs and alternatives.

After completing this track, you can integrate fabula into any event-producing system, define patterns in Rust or DSL, debug failures, and write a custom graph adapter.

Choosing a track

Pick Track 1 if you're building a game, simulation, or interactive narrative system and want to detect and score narrative events.

Pick Track 2 if you're integrating fabula into an existing system (monitoring, compliance, process mining) and need to understand the engine's behavior and integration points.

Both tracks start with Getting Started. You can switch tracks at any point -- the pages are self-contained.