Skip to content

Latest commit

 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dme-mastra

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.

Features

  • 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

Project Structure

  • src/mastra/agents/ — Agent definitions
  • src/mastra/tools/ — Tool definitions
  • src/mastra/index.ts — Mastra instance setup and configuration

Getting Started

Prerequisites

  • Node.js (v18+ recommended)
  • npm or yarn

Installation

npm install

Development

npm run dev

Build

npm run build

Scripts

  • dev: Start the Mastra development server
  • build: Build the project

About

A modular agent-based D&D loot and npc generator built with the Mastra framework. This project demonstrates how to create AI agents that leverage SRD data and LLM generation for creating treasure and NPCs.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages