mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
|
History
|
||
|---|---|---|
| .. | ||
| agent | ||
| agent-builder | ||
| durable-agents | ||
| evals-with-memory | ||
| inngest | ||
| mcp-events | ||
| oracledb | ||
| sandbox-deployer | ||
| voice | ||
| voice-agent | ||
| AGENTS.md | ||
| README.md | ||
How to run the examples
Navigate to the example directory you want to run. For example:
cd examples/agent
Install the packages:
pnpm install --ignore-workspace
The examples have a separate
package.jsonfile and are not part of the Mastra workspace. Most examples can usenpm install. If an example links local workspace packages, usepnpm install --ignore-workspacefrom that example directory instead.
Run the appropriate CLI command in your terminal (may vary by example). For example for the agent example:
pnpm mastra:dev