aicoolies logo
Fabric logo
Fabric logo

Fabric

Modular AI prompt framework for everyday tasks

open sourceupdated Jul 7, 2026

Fabric is an open-source framework that organizes AI prompts into reusable patterns for solving everyday tasks like summarizing content, explaining code, extracting insights from videos, and generating social media posts. Written in Go with support for 20+ AI providers including OpenAI, Claude, Gemini, and Ollama, it runs from the command line and can serve as a REST API. With 40,000+ GitHub stars, Fabric bridges the gap between AI capabilities and practical workflow automation.

Fabric takes a fundamentally different approach to AI integration by treating prompts as modular, reusable patterns rather than one-off conversations. Created by Daniel Miessler, the framework has amassed over 40,000 GitHub stars by providing a crowdsourced library of battle-tested prompt patterns for real-world tasks. Each pattern is a carefully crafted system prompt optimized for a specific purpose — from extracting wisdom from podcast transcripts to analyzing security vulnerabilities in code.

The tool runs as a CLI application written in Go, making it fast and easy to integrate into existing terminal workflows. Users can pipe content through patterns using standard Unix commands, chain multiple patterns together, and create shell aliases for frequently used operations. Fabric supports over 20 AI providers natively, including OpenAI, Anthropic Claude, Google Gemini, Ollama for local models, Groq, Mistral, DeepSeek, and Azure OpenAI. It can also run as a REST API server for integration with other applications and services.

Beyond the built-in pattern library, Fabric encourages users to create and share custom patterns tailored to their specific workflows. The framework supports speech-to-text transcription, interactive HTML output generation, and internationalization across 10+ languages. For developers and power users who want to systematically apply AI to their daily tasks without switching between chat interfaces, Fabric provides a scriptable, composable approach to leveraging large language models.

Pricing

Free and open-source (MIT license)

full pricing breakdown →

Platforms

CLI (Windows, macOS, Linux), REST API server

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Claude Code logo

Claude Code

Top Pick

Anthropic's agentic coding CLI

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

paid
Ghostty logo

Ghostty

Top Pick

Fast, native terminal emulator

GPU-accelerated terminal emulator written in Zig by Mitchell Hashimoto (HashiCorp co-founder). Native UI rendering on macOS and Linux. Supports ligatures, true color, Kitty graphics protocol, and splits/tabs. Configurable via a simple key-value file with sensible defaults. Open-source with 20K+ GitHub stars and a focus on correctness, speed, and minimal resource usage. Growing as a modern alternative to iTerm2, Alacritty, and WezTerm.

Open Source
Grok logo

Grok Build

Top Pick

xAI's terminal coding agent with parallel subagents and worktree-aware automation

Grok Build is xAI's terminal-first coding agent for planning, editing, testing, and reviewing code from a local CLI. The early beta exposes subagent controls, worktree mode, headless JSON output, best-of-N parallel attempts, sandbox profiles, and experimental memory. It fits developers comparing Claude Code, Codex, and Gemini CLI for local agentic workflows with deeper parallel execution.

paid
Codex logo

Codex

Top Pick

OpenAI coding agent for app, editor, terminal, and cloud work

Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.

freemium
GitHub logo

GitHub MCP Server

Official MCP server for GitHub repo operations

GitHub MCP Server is the official Model Context Protocol server from GitHub that connects AI assistants to repositories, issues, pull requests, workflows, and code search. It exposes 100+ operations with toolset filtering, permission scoping, and audit logging, available in both remote-hosted and self-hosted Docker deployment modes.

Open Source
Context7 logo

Context7

Up-to-date docs for AI code editors via MCP

Context7 is an MCP server developed by Upstash that injects up-to-date, version-specific documentation directly into AI code editors and coding assistants. By typing 'use context7' in prompts, developers get accurate library documentation instead of hallucinated or outdated API references. It pulls from official source documentation and serves it through the Model Context Protocol, solving the common problem of LLMs generating code with incorrect or nonexistent API calls.

Open Source

FAQ

What is Fabric?

Fabric is an open-source framework that organizes AI prompts into reusable patterns for solving everyday tasks like summarizing content, explaining code, extracting insights from videos, and generating social media posts. Written in Go with support for 20+ AI providers including OpenAI, Claude, Gemini, and Ollama, it runs from the command line and can serve as a REST API. With 40,000+ GitHub stars, Fabric bridges the gap between AI capabilities and practical workflow automation.

Is Fabric free?

Yes — Fabric is open source and free to use. Free and open-source (MIT license)

Is Fabric open source?

Yes — Fabric is open source.

What are the best Fabric alternatives?

The top editor-verified Fabric alternatives are AIChat, ShellGPT, Aider.