Fabric organizes crowdsourced AI prompts called Patterns for real-world tasks and runs them through a CLI, REST API, or your own tools. It connects many AI providers behind one workflow layer.
Overview
Fabric is an open-source framework for augmenting humans with AI. It treats prompts as reusable units, grouped by task, so people can collect and run solutions in one place instead of scattered chat apps and sites.
Patterns cover activities such as summarizing long content, explaining code, turning documentation into clearer text, and creating social posts from inputs. Users can add custom patterns, map models per pattern via environment variables, and alias patterns as shell commands. Optional helper apps and a web interface extend how outputs are produced or saved.
Installation paths include one-line installers on Unix and Windows, Homebrew, Arch AUR, Winget, Scoop, Go builds, and pre-built Docker images. Setup configures supported providers ranging from OpenAI and Anthropic to Ollama, Azure, and many OpenAI-compatible routers. A REST API server exposes patterns remotely, with Swagger UI for discovery.
Many capable AI interfaces exist, but wiring them into daily work is hard. Fabric focuses on organizing prompts and making them callable from the command line or API while remaining provider-agnostic.
Key features
- Task-organized AI Patterns library
- CLI with pattern aliases
- REST API server
- Wide AI provider integrations
- Per-pattern model mapping
- Custom patterns support
- Docker image deployment
- Speech-to-text transcription flags
Use cases
- Summarizing videos, podcasts, or papers
- Reusable personal AI command shortcuts
- Self-hosted pattern API for tools
- Collecting and versioning prompt sets