{"library":"mastra","title":"Mastra CLI","description":"The `mastra` package provides the command-line interface (CLI) for the Mastra AI platform, enabling development, deployment, and management of AI agents, LLMs, and related services. It is currently at version 1.6.0. While the CLI itself might have a slower release pace, its core library (`@mastra/core`), which it depends on, is under active and rapid development, seeing multiple releases per month, indicating a quickly evolving ecosystem of features.","language":"javascript","status":"active","last_verified":"Sat Apr 18","install":{"commands":["npm install mastra"],"cli":{"name":"mastra","version":null}},"imports":["import { run } from 'mastra'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { Agent } from '@mastra/core';\n\nconst agent = new Agent({ name: 'MyFirstAgent', model: 'gpt-4o' });\n\n// To run a command via the CLI (most common usage):\n// npx mastra deploy MyFirstAgent --env production","lang":"typescript","description":"Demonstrates initializing an agent with @mastra/core and how to use the 'mastra' CLI to deploy it. Note: replace 'gpt-4o' with a valid model.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}