filepadai
sign inget started

Agent Access overview

Connect external agents to Filepad environments with scoped HMAC keys and real file-based prompts.

Agent Access lets external agents operate against a Filepad workspace without becoming the main Filepad runtime. The agent gets scoped access to real files: instructions, skills, memory, sources, uploads, artifacts, and reviewed automation notes.

How it works

  1. A workspace admin creates an Agent Access key in the workspace.
  2. The key is granted narrow scopes such as env:read or artifacts:write.
  3. The external agent signs every /agent-api/v1 request with HMAC-SHA256.
  4. Filepad validates the signature, checks scopes, and serves real workspace file data.

Agent keys are workspace-scoped. A key for workspace A cannot access workspace B.

What agents can do

Read

  • Inspect the canonical environment folders
  • Read the file tree and supported text/Markdown content
  • Discover skills/*.md files as reusable prompts/capabilities
  • Search indexed workspace content
  • Read visible files under memory/ through the file API

Write safely

  • Create new note artifacts under artifacts/
  • Create reviewable edit proposals for supported editable files
  • Push activity events into Filepad

Agent Access v1 does not directly mutate .filepad/, agents/, skills/, memory/, sources/, uploads/, or automations/. Supported file edits are submitted as reviewable proposals.

Scopes

ScopeWhat it unlocks
env:readEnvironment summary, file tree, supported file content, search, and prompt/resource discovery
artifacts:writeCreate note artifacts under artifacts/
files:proposeCreate reviewable edit proposals
memory:readReserved for future memory-specific read surfaces
events.writePush activity events

MCP tools

Use Filepad's remote MCP endpoint when your agent supports MCP. It delegates every tool call to the backend Agent Access surface, so the same scopes, hidden-file rules, proposals, and audit trail apply.

{
  "mcpServers": {
    "filepad": {
      "transport": "streamable_http",
      "url": "https://api.filepad.ai/mcp/v1/stream"
    }
  }
}

Use the runtime's OAuth setup flow for this endpoint. Filepad advertises its authorization server through protected-resource metadata, and the runtime owns refresh-token storage. The backend /mcp/v1 routes own remote tool execution, prompt discovery, and resource discovery.

Next steps