
Fabric
Open-source Go tool that runs shared AI prompt patterns from your command line or other tools.
- Stars
- 44.5k
- Forks
- 4.3k
- Licence
- MIT
- Language
- Go
- Last update
- 4 days ago
- Type
- CLI
What it is
Fabric is an open-source framework for using AI through a library of reusable prompts it calls patterns, each built for a specific real-world task. You can run a pattern on your own text from the command line, and the README says the prompts can be used in other tools as well. It is aimed at people who want AI to fit into their daily work instead of switching between separate chat apps.
- Summarize a long article or video transcript by running a summarize pattern on it
- Create and store your own prompt patterns for tasks you repeat
- Transcribe audio files using the speech-to-text flags described in the README
- Generate an interactive HTML concept map with the create_conceptmap pattern
- Expose patterns through the REST API server for use in other software
Great for
- Command-line users who want to run AI prompts on files or piped text
- People who want to collect and reuse their own prompts for recurring tasks
- Users who work with several AI providers and want one interface across them
- Developers who want a REST API server built on the same patterns
Not ideal for
- People who want a point-and-click chat app; the README centers on the command line and configuration
- Anyone who cannot use or pay for an AI provider account, since Fabric connects to model backends rather than supplying its own
- Users expecting a fully documented beginner guide; the README points to separate docs and DeepWiki for internals
How to get it
- 1
Install with a package manager
Clone the repository
git clone https://github.com/danielmiessler/Fabric.git - 2
Run it
- Install Fabric using the current install instructions in the README's Installation section
- Run the setup so Fabric can connect to your chosen AI provider
- Pick a pattern from the built-in library and run it on a text input
- Check the Usage section of the README for the exact command syntax
- 3
Get the most out of it
- Create your own patterns and store them in one place, as the README describes
- Use the REST API server to connect patterns to other software
- Try the speech-to-text flags for audio transcription
- Use the Swagger/OpenAPI interface at /swagger/index.html when the API server is running, per the update notes
Downloads
Strengths
- Open source under the MIT license with a large community, about 44,000 GitHub stars at time of capture
- Supports many AI providers, including Anthropic, OpenAI, Azure, and others listed in the release notes
- Pre-built binaries are published for Linux, macOS (Darwin), and Windows
Trade-offs
- The README is truncated and many setup details are not visible here, so exact steps may differ
- Users must bring their own provider accounts or keys, and costs depend on those providers
- The README notes that older intro videos show the earlier Python version, so tutorials may be outdated
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| Fabric (this) | 44.5k | CLI | intermediate | 4 days ago | Command-line users who want to run AI prompts on files or piped text |
| langchain | 149k | Framework | intermediate | 4 days ago | Python developers building LLM-powered applications |
| LifeOS | 19.7k | AI model / agent | intermediate | 9 days ago | People already using an AI coding harness who want it to remember their goals and context |
| albumentations | 15.3k | Library | beginner | 1.4 years ago | Machine learning engineers training image classification or segmentation models with limited data |
| imgaug | 14.7k | Library | intermediate | 2.3 years ago | Machine learning engineers training image models on a limited dataset |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.