Narrative Intelligence Stack - A unified ecosystem for NCP-driven story analysis, agent coordination, and creative advancement.
Version: 1.0
Last Updated: 2025-12-31
Framework: RISE (Reverse-engineer β Intent-extract β Specify β Export)
Attribution: Based on RISE Framework v1.2 by Guillaume D.Isabelle
This stack evolved from the Indigenous-AI Collaborative Platform (IAIP) rispecs:
| IAIP Origin | Contribution to NarIntel |
|---|---|
four-directions.spec.md |
Three-Universe Model (East/South/West/North β Engineer/Ceremony/StoryEngine) |
ceremonial-technology.spec.md |
Five-Phase methodology, Sacred Pause, KβΓ© Protocol |
relational-science.spec.md |
Relational accountability, concentric values model |
iaip-holistic-reasoning-mcp.spec.md |
MCP tool patterns, holistic inquiry cycles |
continuous-companionship-architecture.spec.md |
Persistent context, session continuity |
See: /a/src/IAIP/rispecs/COORDINATION_TO_NARINTEL_CYCLE.md for full lineage
This stack enables creators to:
| Specification | Description |
|---|---|
| ncp-schema.rispec.md | Narrative Context Protocol - Core data model for all components |
| Specification | Package | Description | Status |
|---|---|---|---|
| narrative-intelligence.langgraph.rispec.md | langgraph/libs/narrative-intelligence |
Core NCP analysis toolkit with nodes and graphs | β 98% |
| Specification | Package | Description | Status |
|---|---|---|---|
| narrative-tracing.langchain.rispec.md | langchain/libs/narrative-tracing |
Narrative-aware Langfuse integration | β Complete |
| Specification | Package | Description | Status |
|---|---|---|---|
| agentic-flywheel.flowise.rispec.md | ava-Flowise |
Narrative intent classification and flow routing | π΄ Spec Only |
| universal-router.langflow.rispec.md | ava-langflow |
Three-universe handler and backend abstraction | π‘ ~70% |
| Specification | Package | Description | Status |
|---|---|---|---|
| storytelling-roles-tooling.rispec.md | storytelling |
Seven roles (ArchitectβWitness) and their tool needs | π‘ ~75% |
Every narrative event flows through three interpretive lenses:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β NARRATIVE EVENT β
β (Story beat, webhook, user query) β
ββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββΌββββββββββββββββ
βΌ βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β ENGINEER WORLD β β CEREMONY WORLD β β STORY ENGINE β
β (Mia) β β (Ava8) β β (Miette) β
βββββββββββββββββββ€ βββββββββββββββββββ€ βββββββββββββββββββ€
β - Schema valid? β β - K'Γ© honored? β β - Arc coherent? β
β - Types correct?β β - Sacred pause? β β - Theme threads?β
β - API callable? β β - Relations ok? β β - Beat sequence?β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βββββββββββββββββΌββββββββββββββββ
βΌ
βββββββββββββββββββββββ
β UNIFIED RESPONSE β
βββββββββββββββββββββββ
All specifications build upon the Narrative Context Protocol (NCP):
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β NARRATIVE INTELLIGENCE STACK β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Layer 4: CONSUMERS (Miadi-46, Webhooks) β β
β ββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ β
β β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Layer 3: ROUTING (ava-langflow + ava-Flowise) β β
β β - Three-universe handlers β β
β β - Narrative intent classification β β
β β - Dynamic flow selection β β
β ββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ β
β β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Layer 2: TRACING (langchain) β β
β β - Narrative-specific Langfuse events β β
β β - Cross-stack correlation β β
β β - Creative archaeology traces β β
β ββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ β
β β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Layer 1: ANALYSIS (langgraph/narrative-intelligence) β β
β β - NCP Loader + Validator β β
β β - Narrative Graph Traversal β β
β β - Character Arc Generator β β
β β - Thematic Tension Analyzer β β
β β - Emotional Beat Classifier β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| From Spec | Depends On | Nature of Dependency |
|---|---|---|
langchain tracing |
langgraph narrative-intelligence |
Traces NCP analysis operations |
flowise flywheel |
langgraph narrative-intelligence |
Uses NCP state for intent classification |
langflow router |
flowise flywheel + langgraph |
Routes to backends using NCP context |
| All specs | NCP Schema | Core data model |
/src/storytelling)The storytelling package is a primary consumer of the Narrative Intelligence Stack. Its rispecs coordinate with ours:
| Storytelling Rispec | Consumes From NarIntel |
|---|---|
Narrative_Intelligence_Integration_Specification.md |
StoryBeat, NCPState from langgraph toolkit |
Character_Arc_Tracking_Specification.md |
CharacterState patterns |
Emotional_Beat_Enrichment_Specification.md |
Emits events to langchain tracing |
Analytical_Feedback_Loop_Specification.md |
Uses gap routing, emits analysis events |
Narrative_Aware_Story_Graph_Specification.md |
Orchestration patterns |
Logging_And_Traceability_Specification.md |
Langfuse event taxonomy |
IAIP_Integration_Specification.md |
Ceremony World / KβΓ© alignment |
Coordination File: See /src/storytelling/rispecs/COORDINATION_FROM_NARINTEL_INSTANCE.md
These specifications enable:
| Pattern | Description | Enabled By |
|---|---|---|
| Arc Tracking | Character development monitored across beats | narrative-intelligence |
| Theme Threading | Thematic tensions traced through story | narrative-intelligence |
| Emotional Mapping | Emotional landscape visualized | narrative-intelligence |
| Narrative Routing | Flow selection based on story position | flowise + langflow |
| Creative Archaeology | Full trace of creative decisions | langchain tracing |
.rispec.md file is self-contained enough to re-implement the component from scratchGenerated following RISE Framework v1.2 - Creative Orientation Over Reactive Approaches