Skip to main content

Agent Framework

Overview

The Mastra Agent Framework is a Node.js-based AI orchestration platform designed to transform raw educational data into actionable insights through multi-agent collaboration. Built on the Mastra framework, it provides production-ready workflows for analyzing student wellbeing data, moderating educational content, and generating compassionate, evidence-based recommendations.

What It Does

The platform serves two primary domains:

  • K12 Safety Documentation — AI-powered editing and generation of Emergency Operation Plans (EOP) functional annexes and Quick Reference Guides (QRG) for K12 educational institutions, helping schools create and maintain critical safety documentation.

  • Content Moderation (TAP) — Analyzes text and image content for safety concerns using Azure AI Content Safety, performing automated batch tagging and content safety analysis for educational social media platforms.

  • Reasoning Engine — A shared, domain-agnostic analysis pipeline that accepts data from any source format (JSON, CSV, API payloads) and produces insights in any target format through pluggable intake/output adapters.

Key Capabilities

  • Multi-Agent Orchestration — Specialized AI agents collaborate through defined workflows, each contributing domain expertise (temporal analysis, pattern recognition, correlation detection, explanation generation, validation).

  • Production Database Integration — Full SQL Server persistence for workflow execution logs, agent outputs, prompt overrides, and large payload storage with content-addressable deduplication.

  • Format-Agnostic Design — Core reasoning logic remains unchanged while adapters handle source-specific data normalization and target-specific output formatting.

  • Azure Cloud Native — Deployed on Azure App Services with managed identity authentication, Key Vault secret management, and Azure AI Inference/Content Safety integration.

Getting started

Core areas

Common entry points

Browse all docs (with filters)

Use these filters to quickly narrow docs by domain and audience.

Domain
Audience