Fabric is an open-source framework for augmenting humans using AI. It provides a modular system for solving specific problems using a crowdsourced set of AI pro
Fabric is an open-source framework for augmenting humans using AI. It provides a modular system for solving specific problems using a crowdsourced set of AI pro
English · 中文
[Updates](#updates) • [What and Why](#what-and-why) • [Philosophy](#philosophy) • [Installation](#installation) • [Usage](#usage) • [REST API](#rest-api-server) • [Examples](#examples) • [Just Use the Patterns](#just-use-the-patterns) • [Custom Patterns](#custom-patterns) • [Helper Apps](#helper-apps) • [Meta](#meta) ## What and why Since the start of modern AI in late 2022 we've seen an **_extraordinary_** number of AI applications for accomplishing tasks. There are thousands of websites, chat-bots, mobile apps, and other interfaces for using all the different AI out there. It's all really exciting and powerful, but _it's not easy to integrate this functionality into our lives._ **Fabric was created to address this by creating and organizing the fundamental units of AI—the prompts themselves!** Fabric organizes prompts by real-world task, allowing people to create, collect, and organize their most important AI solutions in a single place for use in their favorite tools. And if you're command-line focused, you can use Fabric itself as the interface! ## Updates For a deep dive into Fabric and its internals, read the documentation in the [docs folder](https://github.com/danielmiessler/Fabric/tree/main/docs). There is also the extremely useful and regularly updated [DeepWiki](https://deepwiki.com/danielmiessler/Fabric) for Fabric. Click to view recent updates Dear Users, We've been doing so many exciting things here at Fabric, I wanted to give a quick summary here to give you a sense of our development velocity! Below are the **new features and capabilities** we've added (newest first): ### Recent Major Features - [v1.4.447](https://github.com/danielmiessler/fabric/releases/tag/v1.4.447) (April 16, 2026) — **Claude Opus 4.7**: Updates the Anthropic SDK to v1.37.0 and adds the new [Claude Opus 4.7](https://www.anthropic.com/news/claude-opus-4-7) to the available models, including 1M-token context window support. - [v1.4.437](https://github.com/danielmiessler/fabric/releases/tag/v1.4.437) (March 16, 2026) — **OpenAI Codex PLugin**: Fabric now supports using OpenAI Codex (with your OpenAI subscription) as a backend! - [v1.4.417](https://github.com/danielmiessler/fabric/releases/tag/v1.4.417) (Feb 21, 2026) — **Azure AI Gateway Plugin**: Added Azure AI Gateway plugin supporting multiple backends (AWS Bedrock, Azure OpenAI, Google Vertex AI) through a unified Azure APIM Gateway with shared subscription key authentication. - [v1.4.416](https://github.com/danielmiessler/fabric/releases/tag/v1.4.416) (Feb 21, 2026) — **Azure Entra ID Authentication**: Added Azure Entra ID authentication plugin with shared Azure utilities, Entra ID/MSAL support, and extracted common Azure logic into a reusable `azurecommon` package. - [v1.4.380](https://github.com/danielmiessler/fabric/releases/tag/v1.4.380) (Jan 15, 2026) — **Microsoft 365 Copilot Integration**: Added support for corporate Microsoft 365 Copilot, enabling enterprise users to leverage AI grounded in their organization's Microsoft 365 data (emails, documents, meetings. - [v1.4.378](https://github.com/danielmiessler/fabric/releases/tag/v1.4.378) (Jan 14, 2026) — **Digital Ocean GenAI Support**: Added support for Digital Ocean GenAI, along with a [guide for how to use it](./docs/DigitalOcean-Agents-Setup.md). - [v1.4.356](https://github.com/danielmiessler/fabric/releases/tag/v1.4.356) (Dec 22, 2025) — **Complete Internationalization**: Full i18n support for setup prompts across all 10 languages with intelligent environment variable handling—making Fabric truly accessible worldwide while maintaining configuration consistency. - [v1.4.350](https://github.com/danielmiessler/fabric/releases/tag/v1.4.350) (Dec 18, 2025) — **Interactive API Documentation**: Adds Swagger/OpenAPI UI at `/swagger/index.html` with comprehensive REST API documentation, enhanced developer guides, and improved endpoint discoverability for easier integration. - [v1.4.338](https://github.com/danielmiessler/fabric/releases/tag/v1.4.338) (Dec 4, 2025) — Add Abacus vendor support for Chat-LLM models (see [RouteLLM APIs](https://abacus.ai/app/route-llm-apis)). - [v1.4.337](https://github.com/danielmiessler/fabric/releases/tag/v1.4.337) (Dec 4, 2025) — Add "Z AI" vendor support. See the [Z AI overview](https://docs.z.ai/guides/overview/overview) page for more details. - [v1.4.334](https://github.com/danielmiessler/fabric/releases/tag/v1.4.334) (Nov 26, 2025) — **Claude Opus 4.5**: Updates the Anthropic SDK to the latest and adds the new [Claude Opus 4.5](https://www.anthropic.com/news/claude-opus-4-5) to the available models. - [v1.4.331](https://github.com/danielmiessler/fabric/releases/tag/v1.4.331) (Nov 23, 2025) — **Support for GitHub Models**: Adds support for using GitHub Models. - [v1.4.322](https://github.com/danielmiessler/fabric/releases/tag/v1.4.322) (Nov 5, 2025) — **Interactive HTML Concept Maps and Claude Sonnet 4.5**: Adds `create_conceptmap` pattern for visual knowledge representation using Vis.js, introduces WELLNESS category with psychological analysis patterns, and upgrades to Claude Sonnet 4.5 - [v1.4.317](https://github.com/danielmiessler/fabric/releases/tag/v1.4.317) (Sep 21, 2025) — **Portuguese Language Variants**: Adds BCP 47 locale normalization with support for Brazilian Portuguese (pt-BR) and European Portuguese (pt-PT) with intelligent fallback chains - [v1.4.314](https://github.com/danielmiessler/fabric/releases/tag/v1.4.314) (Sep 17, 2025) — **Azure OpenAI Migration**: Migrates to official `openai-go/azure` SDK with improved authentication and default API version support - [v1.4.311](https://github.com/danielmiessler/fabric/releases/tag/v1.4.311) (Sep 13, 2025) — **More internationalization support**: Adds de (German), fa (Persian / Farsi), fr (French), it (Italian), ja (Japanese), pt (Portuguese), zh (Chinese) - [v1.4.309](https://github.com/danielmiessler/fabric/releases/tag/v1.4.309) (Sep 9, 2025) — **Comprehensive internationalization support**: Includes English and Spanish locale files. - [v1.4.303](https://github.com/danielmiessler/fabric/releases/tag/v1.4.303) (Aug 29, 2025) — **New Binary Releases**: Linux ARM and Windows ARM targets. You can run Fabric on the Raspberry PI and on your Windows Surface! - [v1.4.294](https://github.com/danielmiessler/fabric/releases/tag/v1.4.294) (Aug 20, 2025) — **Venice AI Support**: Added the Venice AI provider. Venice is a Privacy-First, Open-Source AI provider. See their ["About Venice"](https://docs.venice.ai/overview/about-venice) page for details. - [v1.4.291](https://github.com/danielmiessler/fabric/releases/tag/v1.4.291) (Aug 18, 2025) — **Speech To Text**: Add OpenAI speech-to-text support with `--transcribe-file`, `--transcribe-model`, and `--split-media-file` flags. These features represent our commitment to making Fabric the most powerful and flexible AI augmentation framework available! ## Intro videos Keep in mind that many of these were recorded when Fabric was Python-based, so remember to use the current [install instructions](#installation) below. - [Network Chuck](https://www.youtube.com/watch?v=UbDyjIIGaxQ) - [David Bombal](https://www.youtube.com/watch?v=vF-MQmVxnCs) - [My Own Intro to the Tool](https://www.youtube.com/watch?v=wPEyyigh10g) - [More Fabric YouTube Videos](https://www.youtube.com/results?search_query=fabric+ai) ## Navigation - [`fabric`](#fabric) - [What and why](#what-and-why) - [Updates](#updates) - [Recent Major Features](#recent-major-features) - [Intro videos](#intro-videos) - [Navigation](#navigation) - [Changelog](#changelog) - [Philosophy](#philosophy) - [Breaking problems into components](#breaking-problems-into-components) - [Too many prompts](#too-many-prompts) - [Installation](#installation) - [One-Line Install (Recommended)](#one-line-install-recommended) - [Manual Binary Downloads](#manual-binary-downloads) - [Using package managers](#using-package-managers) - [macOS (Homebrew)](#macos-homebrew) - [Arch Linux (AUR)](#arch-linux-aur) - [Windows](#windows) - [Windows (Scoop)](#windows-scoop) - [From Source](#from-source) - [Docker](#docker) - [Environment Variables](#environment-variables) - [Setup](#setup) - [Supported AI Providers](#supported-ai-providers) - [Per-Pattern Model Mapping](#per-pattern-model-mapping) - [Add aliases for all patterns](#add-aliases-for-all-patterns) - [Save your files in markdown using aliases](#save-your-files-in-markdown-using-aliases) - [Migration](#migration) - [Upgrading](#upgrading) - [Shell Completions](#shell-completions) - [Quick install (no clone required)](#quick-install-no-clone-required) - [Zsh Completion](#zsh-completion) - [Bash Completion](#bash-completion) - [Fish Completion](#fish-completion) - [Usage](#usage) - [Debug Levels](#debug-levels) - [Dry Run Mode](#dry-run-mode) - [Extensions](#extensions) - [REST API Server](#rest-api-server) - [Ollama Compatibility Mode](#ollama-compatibility-mode) - [Our approach to prompting](#our-approach-to-prompting) - [Examples](#examples) - [Just use the Patterns](#just-use-the-patterns) - [Prompt Strategies](#prompt-strategies) - [Available Strategies](#available-strategies) - [Custom Patterns](#custom-patterns) - [Setting Up Custom Patterns](#setting-up-custom-patterns) - [Using Custom Patterns](#using-custom-patterns) - [How It Works](#how-it-works) - [Helper Apps](#helper-apps) - [`to_pdf`](#to_pdf) - [`to_pdf` Installation](#to_pdf-installation) - [`code2context`](#code2context) - [`generate_changelog`](#generate_changelog) - [pbpaste](#pbpaste) - [Web Interface (Fabric Web App)](#web-interface-fabric-web-app) - [Meta](#meta) - [Primary contributors](#primary-contributors) - [Contributors](#contributors) - [💜 Support This Project](#-support-this-project)