1. Start Here (Cloud & COSS)
AI-Agent-First Documentation
Raw .md/SKILL.md
Prompt your Agent: "Read https://developers.valstorm.com/SKILL.md and https://developers.valstorm.com/llms.txt, then help me build a Valstorm integration using the 1:1 PlatformContext API."

5-Minute AI Agent & Developer Quickstart

Welcome to Valstorm Developer Documentation — covering both Valstorm Cloud and Open Valstorm (COSS).

Valstorm is built around a single 1:1 mental model (PlatformContext) shared across:

  1. In-Process Server Triggers & Functions (platform.records, platform.query, platform.vfs, platform.<plugin>)
  2. Python Client SDK (valstorm-client) (client.records, client.query, client.vfs, client.schemas)
  3. Native Go Worker (apps/open-worker/pkg/platform) (platformCtx.ForOrg(orgID, userID).Records.*)
  4. Model Context Protocol (valstorm-mcp-server) & Agent Runtime (vsagent)

⚡ Step 1: Teach Your AI Agent Valstorm in 10 Seconds

Whether you use Valstorm Agent (vsagent), Claude Code, Cursor, or Windsurf, point your agent to our machine-readable skill and corpus endpoints:

ResourceURLPurpose
Agent Skill Ruleset (SKILL.md)/SKILL.mdComplete coding rules: PlatformContext syntax, ANSI SQL macros, Base62 IDs, plain-string lookup rules, and plugin patterns. Drop into CLAUDE.md or .cursorrules.
LLM Index (llms.txt)/llms.txtStructured index of all guides, 20 plugins, 41 core schemas, and 416 API operations.
Full Corpus (llms-full.txt)/llms-full.txtSingle-file concatenated Markdown of the entire Open Valstorm developer documentation.
Unified OpenAPI 3.1 Spec/openapi.jsonMerged OpenAPI 3.1 JSON across open-api (Python :8010), open-worker (Go :8080), open-agent-runtime (:8660), and open-web-scraper (:8661).
bash
# Download the Valstorm Developer Skill directly into your repo for Claude Code / Cursor / vsagent
curl -fsSL https://developers.valstorm.com/SKILL.md -o VALSTORM_SKILL.md

☁️ Option A: Start on Valstorm Cloud (Zero Infrastructure)

  1. Generate a Personal Access Token (PAT) (vst_pat_...) or Service Key (vst_sk_...) in your Valstorm Workspace Settings.
  2. Connect via MCP Server (valstorm-mcp-server):

``json { "mcpServers": { "valstorm": { "url": "https://mcp.valstorm.com/mcp", "headers": { "Authorization": "Bearer vst_pat_your_token_here" } } } } ``

  1. Or install the Python SDK (valstorm-client) & CLI (valstorm):

``bash uv add "valstorm-client @ git+https://github.com/Valstorm-Corp/valstorm-client-python.git" uv tool install git+https://github.com/Valstorm-Corp/valstorm-cli ``


🐳 Option B: Self-Host Open Valstorm (COSS Docker Stack)

Open Valstorm consolidates MongoDB, Qdrant, and ClickHouse into PostgreSQL 16 + pgvector with dedicated database-per-tenant isolation (CREATE DATABASE org_xyz) and Valkey 7.2.

bash
# 1. Start the full 1:1 Open Valstorm stack
docker compose -f docker-compose.open.yaml up -d

# 2. Seed the central directory DB, Admin Org, Support User, and Client Workspace
cd apps/open-api
uv sync
uv run python app/seed.py

The 8-Container 1:1 Open Valstorm Topology (docker-compose.open.yaml)

ServicePortRuntimeRole
open-postgres:5432pgvector:pg16Central valstorm_directory DB + isolated per-tenant databases (org_*), pgvector + tsvector hybrid RRF search, and unified log telemetry.
open-valkey:6379valkey:7.2L1 schema/session cache, WebSocket Pub/Sub channels, and background task queues (default, low, critical, video).
open-api:8010Python 3.13 (FastAPI)Core REST & GraphQL API, sqlglot ANSI SQL compiler, dynamic DDL compiler, PyMuPDF engine, and Python plugin routers (DISABLE_BACKGROUND_WORKER=true).
open-worker:8080Go 1.23 (pgx/v5)Real-time WebSocket Hub (/v1/ws/*), CUD broadcaster, Cron Scheduler, valstorm:queue:critical consumer, Fleet DDL deployer, and Go plugins.
open-worker-p1—Python 3.13Dedicated high-priority background worker (valstorm:queue:default, concurrency 50).
open-worker-p2—Python 3.13Dedicated low-priority & scheduled-item worker (valstorm:queue:low, concurrency 25).
open-agent-runtime:8660Python 3.13Stateful multi-turn Cloud ReAct Agent Runtime (/v1/runs + SSE streaming).
open-web-scraper:8661Python 3.14 (zstd)3-Tier Waterfall Web Scraper (HTTP/2 -> Stealth Playwright Chromium -> Firecrawl) + domain crawler & Postgres zstd diff engine.
open-video-worker:8089Python + FFmpegAsynchronous FFmpeg H.264 MP4 transcoder, thumbnail extractor, and Deepgram/AI video chapter processor (valstorm:queue:video).