> ## Documentation Index
> Fetch the complete documentation index at: https://ttrpg.docs.kitefrost.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TTRPG GM API

> AI-powered encounter generation, session planning, and living project management for tabletop RPG game masters.

Never lose the thread of your campaign. Every NPC, promise, and plot thread from session 1 to session 47 is recalled the moment it matters - so you spend less time digging through notes and more time running the game.

The **KiteFrost TTRPG GM API** plugs into your VTT and gives you a campaign memory that spans 50+ sessions with 80+ named NPCs. Generate balanced encounters and coherent session plans from a short prompt, and every result respects the lore you already defined - monsters stay consistent with your bestiary, factions remember their alliances and betrayals, and the timeline stays coherent.

## Who is it for?

* **Solo GMs** who want a co-pilot that handles project-tracking while they focus on improvisation
* **VTT platform builders** adding AI-assisted prep tools to their software
* **Campaign tool developers** building apps for DMs running long-form campaigns
* **Designers** prototyping adventure modules and needing rapid iteration on encounter balance

## Core capabilities

<CardGroup cols={2}>
  <Card title="Encounter Generation" icon="sword">
    Generate balanced, flavourful encounters from a short prompt. Output includes stat blocks, tactics, and read-aloud boxed text.
  </Card>

  <Card title="Session Planning" icon="scroll">
    Produce a full session plan - hooks, scenes, contingencies, and pacing notes - in seconds.
  </Card>

  <Card title="Living Project State" icon="globe">
    Track faction standings, NPC status, and project events across sessions with automatic continuity.
  </Card>

  <Card title="Ruleset Adapters" icon="book">
    Built-in adapters for D\&D 5e, Pathfinder 2e, and generic OSR. Custom rulesets via JSON schema.
  </Card>
</CardGroup>

## Core entities

Every campaign is built from eight first-class entities. Each gets its own page in the dashboard, its own create form, and its own REST endpoint.

<CardGroup cols={2}>
  <Card title="NPCs" icon="user">
    Named characters - patrons, villains, merchants, allies - with relationships, dispositions, and recall across sessions.
  </Card>

  <Card title="Places" icon="map">
    Locations the players visit. Hierarchical (region → city → tavern) with their own NPC populations and events.
  </Card>

  <Card title="Factions" icon="shield">
    Organizations and groups. Track alliances, hostilities, and reputation changes triggered by player actions.
  </Card>

  <Card title="Sessions" icon="scroll">
    Full session plans with scenes, pacing, contingencies, and post-session outcomes that update the campaign state.
  </Card>

  <Card title="Encounters" icon="sword">
    Combat and skill-challenge setups with stat blocks, tactics, and read-aloud text. Reusable across sessions.
  </Card>

  <Card title="Items" icon="treasure-chest">
    Treasures, gear, set pieces, and macguffins. Tag with rarity and item type; surface in quest rewards or location loot.
  </Card>

  <Card title="Quests" icon="flag">
    Multi-step adventure threads with objectives, status tracking (offered → active → completed), and quest-giver links.
  </Card>

  <Card title="Notes" icon="notebook">
    Free-form lore, rumours, house rules, and recap notes. Markdown body, type tags, and pin-to-top for what matters most.
  </Card>
</CardGroup>

## Plans and pricing

Free to start; paid tiers add campaign persistence, VTT export, and BYOK. See [Billing](_shared/core-concepts/billing) for the current tiers and Story Unit quotas.
