
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@mastra/agentfs
Advanced tools
Affected versions:
AgentFS (Turso/SQLite-backed) filesystem provider for Mastra workspaces. Stores files in a local SQLite database via the agentfs-sdk, giving agents persistent storage that survives across sessions.
npm install @mastra/agentfs
import { Agent } from '@mastra/core/agent';
import { Workspace } from '@mastra/core/workspace';
import { AgentFSFilesystem } from '@mastra/agentfs';
const workspace = new Workspace({
filesystem: new AgentFSFilesystem({
agentId: 'my-agent', // stores at .agentfs/my-agent.db
}),
});
const agent = new Agent({
name: 'my-agent',
model: 'anthropic/claude-opus-4-5',
workspace,
});
const workspace = new Workspace({
filesystem: new AgentFSFilesystem({
path: '/data/my-agent.db',
}),
});
import { AgentFS } from 'agentfs-sdk';
import { AgentFSFilesystem } from '@mastra/agentfs';
const agent = await AgentFS.open({ id: 'my-agent' });
const workspace = new Workspace({
filesystem: new AgentFSFilesystem({
agent, // caller manages open/close
}),
});
For more information, see the Mastra Workspaces documentation.
FAQs
AgentFS (Turso/SQLite-backed) filesystem provider for Mastra workspaces
The npm package @mastra/agentfs receives a total of 927 weekly downloads. As such, @mastra/agentfs popularity was classified as not popular.
We found that @mastra/agentfs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.