A modular agent-based D&D loot assistant built with the Mastra framework. This project demonstrates how to create AI agents that leverage SRD data and LLM generation for creating treasure.
- Uses OpenAI GPT for natural language understanding and loot generation
- Utilizes SRD (System Reference Document) data for D&D content
- Persistent memory with LibSQL (if applicable, otherwise remove)
- Extensible tool and agent architecture
src/mastra/agents/— Agent definitionssrc/mastra/tools/— Tool definitionssrc/mastra/index.ts— Mastra instance setup and configuration
- Node.js (v18+ recommended)
- npm or yarn
npm installnpm run devnpm run builddev: Start the Mastra development serverbuild: Build the project