•
By Paul Scanlon Announcing Workspaces: Safe, Controlled Environments for Mastra Agents
Workspaces give your agents a place to actually do work, letting them read and write files, execute commands, search content, and follow reusable skills from configured environments. It’s the difference between an agent that can only talk about tasks and one that can get sh*t done!
The best part is, you get fine-grained control over exactly what your agents can and can’t do. Grant filesystem access but block deletes. Allow command execution but require approval. Share skills between agents with different permission levels for each.
The core concept
A Workspace can have up to four capabilities: filesystem access, command execution, search, and skills, but you only need to configure the ones your agent needs