Skip to main content
Give your AI agent a persistent workspace scoped per user and org. Files, state, and context are automatically saved and restored — no setup needed.

How It Works

  1. You call chat() with a query, user ID, and org ID
  2. Raysurfer restores the workspace — all files from prior calls for that user+org are mounted automatically
  3. Claude executes the task with full tool access (Read, Write, Bash, etc.)
  4. Raysurfer persists the workspace — any files created or modified are saved for next time

Usage

Parameters

Response

Workspace Scoping

Workspaces are scoped by (org, user):
  • Same user + same org = same workspace (state persists)
  • Different user or different org = separate workspace
Use this to give each of your end users their own persistent agent workspace.

Multi-Turn Example

Each call builds on the previous workspace — the agent sees all files from prior turns.

Skill Document

AI agents can read the full API reference at:
Point your agent’s system prompt or skill loader at this URL for self-serve integration.