
Fabric
Open-source CLI of composable AI patterns — pipe anything through expert prompts.
About
Fabric is an open-source framework for augmenting humans with AI, built around hundreds of composable 'patterns' — curated, versioned prompts for tasks like summarizing, extracting claims, rating content, or writing. It's a Go CLI: you pipe text in (fabric -p summarize < article.txt) and get structured AI output back.
Patterns are plain markdown you can read, fork and customize, and there's a REST API server mode for wiring Fabric into other tools. It works with any model backend you configure. MIT licensed, huge community pattern library.
What it can do
- Hundreds of composable AI patterns
- Unix-pipe friendly CLI
- Custom patterns in plain markdown
- REST API server mode
- Works with any configured model
Setup
- Install with
brew install fabric-aiorgo install github.com/danielmiessler/fabric/cmd/fabric@latest. - Run
fabric --setupto configure your model provider and API key. - Try it:
echo "long text" | fabric -p summarize. - Browse and install community patterns with
fabric -u.
Prerequisites
Go or Homebrew for install; an API key for your chosen model provider (or a local endpoint).
Use cases
Works with
Trust score — 8/10
Scored 8/10 (verified tier, metrics-v1). Evidence: 44.2k stars — one of the most-starred AI CLI projects; pushed 2026-10-10 — active. Manual review: patterns-as-markdown is the right abstraction; Unix-pipe design plus REST API mode make it genuinely composable. License: MIT.
★ 44,242 GitHub stars
How the trust score is built
Full methodology →- Adoption · stars/downloads, log-scaled vs peers
- 8.0/10
- Maintenance · recency, releases, issue load
- 9.0/10
- Openness · license + docs
- 9.0/10
- Manual review · sanity read + red-flag check
- 8.0/10
- · 44.2k stars — one of the most-starred AI CLI projects
- · pushed 2026-10-10 — active
- · manual review: patterns-as-markdown is the right abstraction; Unix-pipe design plus REST API mode make it genuinely composable
Sources
Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.