Fabric Studio · apps/studio

Local dev tool for Fabric integrations.

A Next.js admin app with eight tabs over your fabric instance. Inspect plugins, run operations, approve cautious-mode requests, browse the entity cache, and chat with Claude — all driven by the same primitives the SDK exposes. Loads from your project-local fabric.integrations.ts and live-reloads on edits.

# 1. Build the SDK once (or run --watch in another terminal)
pnpm --filter @fabricorg/integrations build

# 2. Point Studio at your config + start dev server
FABRIC_CONFIG_PATH=$(pwd)/fabric.integrations.ts \
  pnpm --filter @apps/studio dev

# 3. Open http://localhost:4317
# 4. Optional: set ANTHROPIC_API_KEY in env for the Chat tab

Eight tabs

Every tab is backed by an in-memory store (entity store, permission store, event logger, key store) — same shape as the production sinks the SDK exposes, so what you see in Studio is the same surface you'll wire to Prisma later.

Plugins

Browse registered plugins, drill into a detail view for credential CRUD, and start the OAuth flow for oauth_2 plugins.

Operations

Every endpoint across every plugin with risk badges. Run any operation with JSON args and an optional tenant id, see the result inline.

Data

Cascading tenant → plugin → entity type selectors over the entity cache. Search by id or payload contents.

Approvals

Pending / completed / expired board for cautious-mode permission requests. Approve or deny with one click.

Chat

Claude Haiku with four tools wired into your fabric (list_plugins, list_operations, run_operation, query_entity_cache). Streaming UI with collapsible tool calls.

Script

JS REPL with `fabric` in scope. Tenant selector threads through fabric.withTenant() so you can test per-tenant behavior.

Permissions

Read-only permission matrix per plugin. Shows mode (open/cautious/strict/readonly) and per-endpoint risk distribution.

Webhook events

In-memory event log seeded with sample deliveries. Fire synthetic events for demoing the events pipeline.

Companion

Fabric SDK

The plugin runtime under the hood — @fabricorg/integrations. 15 plugins, OAuth + webhook + permission lifecycles, multi-tenant entity storage, MCP server.

Open SDK docs →