@mastra/agent-builder 0.0.0-experimental-agent-builder-20250815195917 → 0.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+
2
+ > @mastra/agent-builder@0.0.1-alpha.1 build /home/runner/work/mastra/mastra/packages/agent-builder
3
+ > pnpm run check && tsup --silent src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
+
5
+
6
+ > @mastra/agent-builder@0.0.1-alpha.1 check /home/runner/work/mastra/mastra/packages/agent-builder
7
+ > tsc --noEmit
8
+
9
+ Analysis will use the bundled TypeScript version 5.8.3
10
+ Writing package typings: /home/runner/work/mastra/mastra/packages/agent-builder/dist/_tsup-dts-rollup.d.ts
11
+ Analysis will use the bundled TypeScript version 5.8.3
12
+ Writing package typings: /home/runner/work/mastra/mastra/packages/agent-builder/dist/_tsup-dts-rollup.d.cts
package/CHANGELOG.md CHANGED
@@ -1,21 +1,12 @@
1
1
  # @mastra/agent-builder
2
2
 
3
- ## 0.0.0-experimental-agent-builder-20250815195917
3
+ ## 0.0.1-alpha.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [8e59433]
8
- - Updated dependencies [49281f5]
9
- - Updated dependencies [6faaee5]
10
- - Updated dependencies [4232b14]
11
- - Updated dependencies [6720c51]
12
- - Updated dependencies [2256977]
13
- - Updated dependencies [c597dc5]
14
- - Updated dependencies [a722c0b]
15
- - Updated dependencies [c30bca8]
16
- - Updated dependencies [7444737]
17
- - Updated dependencies [83d180b]
18
- - Updated dependencies [3b5fec7]
19
- - @mastra/core@0.0.0-experimental-agent-builder-20250815195917
20
- - @mastra/mcp@0.0.0-experimental-agent-builder-20250815195917
21
- - @mastra/memory@0.0.0-experimental-agent-builder-20250815195917
7
+ - [#7135](https://github.com/mastra-ai/mastra/pull/7135) [`48b9e55`](https://github.com/mastra-ai/mastra/commit/48b9e553a39528dcc20fbbeb798c3b1a1961468e) Thanks [@NikAiyer](https://github.com/NikAiyer)! - Add Agent Builder package with template installation workflow
8
+
9
+ Introduces a new package for programmatically building and managing Mastra agents with intelligent template merging capabilities. Features include automated dependency resolution, file conflict handling, and validation fixes.
10
+
11
+ - Updated dependencies [[`aedbbfa`](https://github.com/mastra-ai/mastra/commit/aedbbfa064124ddde039111f12629daebfea7e48), [`f643c65`](https://github.com/mastra-ai/mastra/commit/f643c651bdaf57c2343cf9dbfc499010495701fb), [`fef7375`](https://github.com/mastra-ai/mastra/commit/fef737534574f41b432a7361a285f776c3bac42b), [`e3d8fea`](https://github.com/mastra-ai/mastra/commit/e3d8feaacfb8b5c5c03c13604cc06ea2873d45fe), [`3412597`](https://github.com/mastra-ai/mastra/commit/3412597a6644c0b6bf3236d6e319ed1450c5bae8)]:
12
+ - @mastra/core@0.15.3-alpha.3
package/README.md CHANGED
@@ -60,33 +60,20 @@ The AgentBuilder requires a configuration object with:
60
60
 
61
61
  ```typescript
62
62
  // Install packages
63
- await builder.tools.manageProject({
64
- action: 'install',
65
- packages: [{ name: '@mastra/workflows', version: 'latest' }],
66
- });
63
+ const result = await builder.generate('Install @mastra/workflows package with latest version');
67
64
 
68
65
  // Validate generated code
69
- await builder.tools.validateCode({
70
- validationType: ['types', 'lint'],
71
- files: ['src/agents/my-agent.ts'],
72
- });
66
+ const validation = await builder.generate('Validate the TypeScript types and linting for src/agents/my-agent.ts');
73
67
  ```
74
68
 
75
69
  ### Server Management
76
70
 
77
71
  ```typescript
78
72
  // Start development server
79
- await builder.tools.manageServer({
80
- action: 'start',
81
- port: 4200,
82
- });
73
+ const serverResult = await builder.generate('Start the development server on port 4200');
83
74
 
84
75
  // Test API endpoints
85
- await builder.tools.httpRequest({
86
- method: 'GET',
87
- url: '/health',
88
- baseUrl: 'http://localhost:4200',
89
- });
76
+ const testResult = await builder.generate('Test the /health endpoint at http://localhost:4200');
90
77
  ```
91
78
 
92
79
  ## Memory and Processing