
Security News
November CVEs Fell 25% YoY, Driven by Slowdowns at Major CNAs
November CVE publications fell 25% YoY even as 2025 totals rose, showing how a few major CNAs can swing “global” counts and skew perceived risk.
@mastra/agent-builder
Advanced tools
A specialized AI agent for building production-ready Mastra applications, agents, tools, and workflows from natural language requirements.
A specialized AI agent for building production-ready Mastra applications, agents, tools, and workflows from natural language requirements.
npm install @mastra/agent-builder
@mastra/agent-builder is a meta-agent that helps developers create Mastra applications by:
import { AgentBuilder } from '@mastra/agent-builder';
import { openai } from '@ai-sdk/openai';
const builder = new AgentBuilder({
model: openai('gpt-4'),
summaryModel: openai('gpt-4'),
projectPath: '/path/to/your/project',
});
// Generate an agent from natural language
const result = await builder.generateAgent(
'Create a weather agent that can get current weather and suggest activities',
);
The AgentBuilder requires a configuration object with:
model: The primary language model for code generationsummaryModel: A model for summarizing tool calls and resultsprojectPath: Path to your Mastra projectinstructions: Optional additional instructionstools: Optional additional tools to include// Install packages
await builder.tools.manageProject({
action: 'install',
packages: [{ name: '@mastra/workflows', version: 'latest' }],
});
// Validate generated code
await builder.tools.validateCode({
validationType: ['types', 'lint'],
files: ['src/agents/my-agent.ts'],
});
// Start development server
await builder.tools.manageServer({
action: 'start',
port: 4200,
});
// Test API endpoints
await builder.tools.httpRequest({
method: 'GET',
url: '/health',
baseUrl: 'http://localhost:4200',
});
The AgentBuilder includes specialized memory processors:
Apache-2.0
FAQs
This package is currently experimental and only meant to be used internally to Mastra at the moment, the APIs are subject to change in this period.
The npm package @mastra/agent-builder receives a total of 362 weekly downloads. As such, @mastra/agent-builder popularity was classified as not popular.
We found that @mastra/agent-builder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
November CVE publications fell 25% YoY even as 2025 totals rose, showing how a few major CNAs can swing “global” counts and skew perceived risk.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.