mastra-ai/mastra ? reverse-engineered prompt

Reverse engineered prompt

Build me a framework for creating AI-powered applications and agents using TypeScript. It should be a comprehensive, production-ready solution that works for both frontend and backend development.

I want it to be able to connect to lots of different LLM providers like OpenAI, Anthropic, and Gemini through a single, standard interface. It should support building autonomous agents that can reason and use tools to complete tasks. It also needs a way to create more structured, multi-step workflows where I can control the exact execution flow and even pause a process to wait for human input or approval.

Make sure to include features for context management, like conversation history and long-term memory for the agents. It should integrate easily with modern frameworks like React and Next.js. Finally, include built-in tools for observability and evaluations so I can monitor, test, and improve the AI models over time. Please base this on the Mastra project.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab