images | ||
infrastructure | ||
patterns | ||
LICENSE.txt | ||
README.md |
fabric
fabric
is an open-source framework for augmenting humans using AI.
Description • Naming • Structure • Functionality • Installation • Usage • Examples • Meta
👋This is a very early release and lots more documentation and functionality is currently being added.
Description
Since the end of 2023 we've seen a massive number of different AI applications for accomplishing tasks. The problem is that it's not easy to integrate them with our lives.
Perhaps the greatest example is the number of AI prompts out there. We all have prompts that are useful, but it's hard to manage them, discover new ones, and track the different versions of the ones we like.
One of fabric
's main features is helping people collect and integrate modular AI functionality, which we call Patterns, into various parts of their lives.
There are patterns for all sorts of life and work activities, including:
- Extracting the most interesting parts of YouTube videos and podcasts
- Summarizing opaque academic papers
- Creating perfectly matched AI art prompts for a piece of writing
- Rating the quality of content to see if you want to read/watch the whole thing
- Getting summaries of long, boring content
- Write a full essay in a particular voice, given an idea as input
- Create social media posts from any content input
- And a million more…
Naming
fabric
is themed off of, um…fabric. So, think blankets, quilts, patterns, etc. Here's the structure:
- The project itself is called Fabric, and it's the parent concept.
- Individual AI modules (think prompts) are called Patterns.
- Chaining together Patterns to create advanced functionality is called a Stitch.
- The optional server-side functionality of
fabric
is called the Mill. - The optional client-side scripts within
fabric
are called Looms.
Functionality
fabric
's main function is to make Patterns available to everyone in an open ecosystem, i.e., to allow people to share and fork prompts in a transparent, scalable, and dependable way.
But it also includes two other components that make it possible for AI enthusiasts and developers to build your own Personal AI Ecosystem.
In other words you can have your own server, with your own copy of fabric
, running your own specific combination of Patterns for your specific use cases.
Here are the three fabric
ecosystem pieces, and how they work together.
- The Mill is the (optional) server that makes Patterns available.
- Patterns are the actual AI use cases.
- Looms are the modular, client-side apps that call a specific Pattern hosted by a **Mill**.
Usage
One key feature of fabric
and its Markdown-based format is the ability to reference (and edit) individual patterns directly—on their own—without surrounding code.
As an example, heres how to call the direct location of the system prompt for the extractwisdom
pattern.
https://github.com/danielmiessler/fabric/blob/main/patterns/extract_wisdom/system.md
This means you can cleanly, and directly reference any pattern within fabric
, for use in a web-based AI app, your own programming, or wherever!
Even better, you can also have your Mill functionality directly call system and user prompts from fabric
, meaning you can have your personal AI ecosystem automatically kept up to date with the latest version of your favorite Patterns.
Examples
Here's an abridged output example from the extractwisdom
pattern (limited to only 10 items per section).
## SUMMARY:
The content features a conversation between two individuals discussing various topics, including the decline of Western culture, the importance of beauty and subtlety in life, the impact of technology and AI, the resonance of Rilke's poetry, the value of deep reading and revisiting texts, the captivating nature of Ayn Rand's writing, the role of philosophy in understanding the world, and the influence of drugs on society. They also touch upon creativity, attention spans, and the importance of introspection.
## IDEAS:
1. Western culture is perceived to be declining due to a loss of values and an embrace of mediocrity.
2. Mass media and technology have contributed to shorter attention spans and a need for constant stimulation.
3. Rilke's poetry resonates due to its focus on beauty and ecstasy in everyday objects.
4. Subtlety is often overlooked in modern society due to sensory overload.
5. The role of technology in shaping music and performance art is significant.
6. Reading habits have shifted from deep, repetitive reading to consuming large quantities of new material.
7. Revisiting influential books as one ages can lead to new insights based on accumulated wisdom and experiences.
8. Fiction can vividly illustrate philosophical concepts through characters and narratives.
9. Many influential thinkers have backgrounds in philosophy, highlighting its importance in shaping reasoning skills.
10. Philosophy is seen as a bridge between theology and science, asking questions that both fields seek to answer.
## QUOTES:
1. "You can't necessarily think yourself into the answers. You have to create space for the answers to come to you."
2. "The West is dying and we are killing her."
3. "The American Dream has been replaced by mass packaged mediocrity porn, encouraging us to revel like happy pigs in our own meekness."
4. "There's just not that many people who have the courage to reach beyond consensus and go explore new ideas."
5. "I'll start watching Netflix when I've read the whole of human history."
6. "Rilke saw beauty in everything... He sees it's in one little thing, a representation of all things that are beautiful."
7. "Vanilla is a very subtle flavor... it speaks to sort of the sensory overload of the modern age."
8. "When you memorize chapters [of the Bible], it takes a few months, but you really understand how things are structured."
9. "As you get older, if there's books that moved you when you were younger, it's worth going back and rereading them."
10. "She [Ayn Rand] took complicated philosophy and embodied it in a way that anybody could resonate with."
## HABITS:
1. Avoiding mainstream media consumption for deeper engagement with historical texts and personal research.
2. Regularly revisiting influential books from youth to gain new insights with age.
3. Engaging in deep reading practices rather than skimming or speed-reading material.
4. Memorizing entire chapters or passages from significant texts for better understanding.
5. Disengaging from social media and fast-paced news cycles for more focused thought processes.
6. Walking long distances as a form of meditation and reflection.
7. Creating space for thoughts to solidify through introspection and stillness.
8. Embracing emotions such as grief or anger fully rather than suppressing them.
9. Seeking out varied experiences across different careers and lifestyles.
10. Prioritizing curiosity-driven research without specific goals or constraints.
## FACTS:
1. The West is perceived as declining due to cultural shifts away from traditional values.
2. Attention spans have shortened due to technological advancements and media consumption habits.
3. Rilke's poetry emphasizes finding beauty in everyday objects through detailed observation.
4. Modern society often overlooks subtlety due to sensory overload from various stimuli.
5. Reading habits have evolved from deep engagement with texts to consuming large quantities quickly.
6. Revisiting influential books can lead to new insights based on accumulated life experiences.
7. Fiction can effectively illustrate philosophical concepts through character development and narrative arcs.
8. Philosophy plays a significant role in shaping reasoning skills and understanding complex ideas.
9. Creativity may be stifled by cultural nihilism and protectionist attitudes within society.
10. Short-term thinking undermines efforts to create lasting works of beauty or significance.
## REFERENCES:
1. Rainer Maria Rilke's poetry
2. Netflix
3. Underworld concert
4. Katy Perry's theatrical performances
5. Taylor Swift's performances
6. Bible study
7. Atlas Shrugged by Ayn Rand
8. Robert Pirsig's writings
9. Bertrand Russell's definition of philosophy
10. Nietzsche's walks
Meta
fabric
was created by Daniel Miessler.
Special thanks to the following people for inspiration and contributions.
- Caleb Sima for pushing me over the edge of whether to make this a public project or not.
- Joel Parish for super useful input on the project's Github directory structure.
- Jonathan Dunn for spectacular work on the soon-to-be-released standalone client.