selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Fabric logo

Self-host Fabric

v1.4.576

AI augmentation framework with crowdsourced prompt patterns

ReleaseOpen SourceMIT
Updated15 hours ago
LanguageGo
Setup difficultyModerate
Stars
44 647
Rating
5.0 (1)
Port
8080 (REST API server)
Docker
kayvan/fabric
Install with Docker
Fabric screenshot 1

What is Fabric?

This open-source framework extends human capabilities with AI by organizing prompts (called Patterns) into practical tasks. Users collect and run AI solutions through a command-line tool, a built-in REST API server, and a Svelte-based web interface. The software works with many AI providers including OpenAI, Anthropic, Google Gemini, Ollama for running models locally, Azure OpenAI, Amazon Bedrock, and numerous OpenAI-compatible APIs. People run patterns for summarization, analysis, content extraction, code explanation, and more. Installation options include binary downloads, package managers (Homebrew, AUR, Winget, Scoop), Docker, or building from Go source. The REST API server defaults to port 8080 and includes an Ollama-compatible mode. Development is active with frequent releases.

Fabric alternatives

Should you self-host Fabric?

Fabric scores 81/100 on selfhost.directory (how scoring works) and ranks #3 of 120 in AI Assistant. It has 44 647 GitHub stars, +408 in the last 30 days.

It shipped 131 stable releases in the past year. The latest, v1.4.576, came out on 15 November 2026.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is hermes-agent (89/100, 263 714 stars). It scores higher overall, so compare the two before you pick. See Fabric vs hermes-agent side by side.

Features

  • Command Line Interface
  • Custom patterns
  • Helper apps
  • Image Generation
  • Internationalization
  • Multi-Provider Support
  • Pattern chaining
  • Prompt pattern library
  • Prompt strategies
  • REST API server
  • Shell completions
  • Speech-to-Text
  • Web Interface
  • Website scraping
  • YouTube transcript extraction

Fabric README

How to install Fabric

Install Fabric with Docker

docker run --rm -it kayvan/fabric:latest --version

Run setup

docker run --rm -it -v $HOME/.fabric-config:/home/appuser/.config/fabric kayvan/fabric:latest --setup

Run REST API server

docker run --rm -it -p 8080:8080 -v $HOME/.fabric-config:/home/appuser/.config/fabric kayvan/fabric:latest --serve

Images available on Docker Hub (kayvan/fabric) and GHCR (ghcr.io/ksylvan/fabric)

Fabric releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in AI Assistant

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…