Build agentsAdvancedDocs-checked, not yet hands-on tested
Production agent in TypeScript
Build an agent with tools, memory and workflows you can deploy.
Starter prompt
Using Mastra, implement the agent in agent-plan.md with typed tools, a workflow with a human-approval step before any write action, and Langfuse tracing. Add the eval cases and a CI script.
Config
agent-plan.md
Agent: <name>
Tools: <3-5 tools>
Memory: per-user thread
Workflow: plan -> act -> verify -> report
Evals: 25 cases in evals/Setup steps
- Write the plan.
- Build tools first, then the workflow.
- Add evals before adding features.
Why this works
One TypeScript stack for agents, workflows and evals.
Watch out
Pick LangGraph instead if your team is Python-first.
Related loadouts
Compare the gear: Agent frameworks tier list · AI coding agents tier list · AI code review tier list