Fabric collects and runs crowdsourced AI Patterns for real-world tasks. Use them from the command line, a REST API, or helper tools, with many model backends.
Overview
Fabric is a modular system for augmenting everyday work with AI. It treats reusable prompts as Patterns grouped by task, so you can apply the same solution across different tools instead of hunting through one-off chats.
Patterns cover activities such as summarizing long content, extracting highlights from media transcripts, drafting in a personal voice, explaining code, and turning rough notes into clearer documentation. You can use built-in Patterns, add custom ones, and map different models to specific Patterns through configuration.
The primary interface is a command-line program available on Linux, macOS, and Windows, installable via package managers, binaries, or container images. It can expose a REST API with interactive OpenAPI documentation, supports speech-to-text flags, streaming output, shell aliases, and optional web-oriented companion apps.
Provider integration is broad: native support includes major cloud LLM APIs, local Ollama, Azure and Vertex routes, and many OpenAI-compatible gateways. Setup walks you through choosing vendors, environment variables, and migration from older Python-based installs.
Key features
- Crowdsourced Patterns organized by task
- Command-line interface with pattern aliases
- REST API with OpenAPI documentation
- Many LLM vendor backends and local models
- Custom Patterns and per-pattern model mapping
- Speech-to-text input options
- Docker images for containerized runs
- Internationalized setup prompts
Use cases
- Summarize articles, papers, or transcripts
- Draft essays or social posts from short inputs
- Chain CLI steps into personal AI workflows
- Centralize vetted prompts for a team