# danielmiessler/Fabric

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/danielmiessler-fabric).**

39,184 stars · 3,908 forks · Go · mit

## Links

- GitHub: https://github.com/danielmiessler/Fabric
- Homepage: https://danielmiessler.com/p/fabric-origin-story
- awesome-repositories: https://awesome-repositories.com/repository/danielmiessler-fabric.md

## Topics

`ai` `augmentation` `flourishing` `life` `work`

## Description

Fabric is a command-line orchestrator designed to automate complex data processing and content generation tasks by chaining artificial intelligence models with modular prompt templates. It functions as a terminal-based tool that utilizes standard input and output streams, allowing users to pipe data directly into predefined reasoning strategies. By providing a model-agnostic abstraction layer, the system decouples execution logic from specific artificial intelligence vendors, normalizing requests and responses across different service providers.

The platform distinguishes itself through its pattern-based orchestration, which enables the organization, storage, and reuse of custom prompt collections for consistent task execution. It includes a built-in server component that exposes these local prompt workflows as standard web endpoints, allowing external software and graphical interfaces to interact with custom logic as if it were a native model. Users can manage these interactions through a dedicated directory for private templates or via a graphical web dashboard, providing flexibility in how automated workflows are configured and monitored.

Beyond its core orchestration capabilities, the tool offers a suite of utilities for development tasks, including document analysis, code context generation, and system interaction. It supports advanced reasoning techniques, such as chain-of-thought processing, and allows for specific model-to-pattern mapping to balance performance and operational costs. The system maintains state and configuration through local filesystem storage, ensuring portability across different operating environments.

## Tags

### Artificial Intelligence & ML

- [AI Command-Line Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-command-line-interfaces.md) — Provides a terminal-based interface for chaining AI models and prompt templates to automate complex data and content tasks.
- [Model Abstraction Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/model-abstraction-layers.md) — Decouples execution logic from specific AI vendors by normalizing requests and responses across different service providers.
- [Terminal AI Automation](https://awesome-repositories.com/f/artificial-intelligence-ml/terminal-ai-automation.md) — Executes complex artificial intelligence tasks directly from the command line by piping data through reusable prompt templates.
- [Prompt Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-orchestration.md) — Executes predefined text templates by injecting user input into structured instructions before sending them to external models.
- [AI Service Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-service-integrations.md) — Connects local development environments to multiple artificial intelligence providers while exposing custom logic as standard API endpoints.
- [Prompt Engineering Workflows](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-engineering-workflows.md) — Organizes and manages collections of custom instructions to ensure consistent outputs across automated tasks.
- [Prompt Management](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-management.md) — Provides a dedicated directory for storing private prompt templates to keep personal workflows organized. ([source](https://cdn.jsdelivr.net/gh/danielmiessler/Fabric@main/README.md))
- [AI Service Emulators](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-service-emulators.md) — Exposes local patterns as standard API endpoints, allowing existing software tools to interact with custom logic as if they were native models. ([source](https://cdn.jsdelivr.net/gh/danielmiessler/Fabric@main/README.md))
- [AI Service Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-service-gateways.md) — Exposes custom prompt workflows as standard web endpoints for integration with external software and graphical interfaces.
- [Prompt Libraries](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-libraries.md) — Enables the organization and reuse of prompt template collections to simplify complex tasks. ([source](https://cdn.jsdelivr.net/gh/danielmiessler/Fabric@main/README.md))
- [Prompting Strategies](https://awesome-repositories.com/f/artificial-intelligence-ml/prompting-strategies.md) — Supports advanced reasoning techniques like chain-of-thought within system instructions to improve response quality. ([source](https://cdn.jsdelivr.net/gh/danielmiessler/Fabric@main/README.md))
- [Model Routing](https://awesome-repositories.com/f/artificial-intelligence-ml/model-routing.md) — Maps specific artificial intelligence models to individual task patterns to balance processing performance and operational costs. ([source](https://cdn.jsdelivr.net/gh/danielmiessler/Fabric@main/README.md))

### Development Tools & Productivity

- [Terminal Automation](https://awesome-repositories.com/f/development-tools-productivity/terminal-automation.md) — Facilitates running automated tasks from the terminal by selecting templates and piping data directly into the processing engine. ([source](https://cdn.jsdelivr.net/gh/danielmiessler/Fabric@main/README.md))
- [Command Line Utilities](https://awesome-repositories.com/f/development-tools-productivity/command-line-utilities.md) — Enables chaining terminal commands into automated text processing tasks via standard input and output streams.
- [Terminal Workflow Utilities](https://awesome-repositories.com/f/development-tools-productivity/terminal-workflow-utilities.md) — Streamlines development workflows by automating document analysis, code context generation, and system interaction tasks via command-line utilities.

### Web Development

- [API Proxies](https://awesome-repositories.com/f/web-development/api-proxies.md) — Exposes local prompt execution logic as standard web endpoints to allow external software to interact with custom workflows.
- [REST APIs](https://awesome-repositories.com/f/web-development/rest-apis.md) — Provides a built-in REST API server to expose core functionality over HTTP for remote access. ([source](https://cdn.jsdelivr.net/gh/danielmiessler/Fabric@main/README.md))
- [Service Hosting](https://awesome-repositories.com/f/web-development/service-hosting.md) — Exposes core functionality over network protocols to enable remote access and integration with graphical user interfaces.
