Skip to content

Quick Start

Terminal window
brew install just protobuf

You also need Rust stable (1.75+) and Docker installed.

Terminal window
# Start Postgres + Ollama + Whisper
just infra-up
# Build Docker tool images (ffmpeg, whisper, yt-dlp, python-ml)
just docker-build-tools
# Configure environment
cp .env.example .env
Terminal window
just run

The server starts on 127.0.0.1:3001.

Terminal window
just executor

The executor connects to Postgres and begins claiming workflow steps for execution.

import { FabricClient } from "@fabric-platform/sdk";
const fabric = new FabricClient();
// List available AI providers
const providers = await fabric.listProviders();
console.log(providers);
const org = await fabric.createOrganization({
slug: "acme",
name: "Acme Corp",
});
const job = await fabric.createJob({
modality: "text",
input: { prompt: "Hello from Fabric" },
organizationId: org.id,
});
console.log("Job:", job.id, job.status);
await fabric.streamEvents((event) => {
console.log(event.kind, event.payload);
});
  • Configuration — Learn about all CLI flags, environment variables, and Docker profiles
  • Local Models — Set up Ollama, Whisper, and OpenAI-compatible servers
  • API Examples — Explore the full API with curl examples
  • Architecture Overview — Understand the control plane and execution plane