Terraphim is a privacy-first AI assistant that works for you under your complete control and is fully deterministic.
You can use it as a local search engine, configured to search for different types of content on StackOverflow, GitHub, and the local filesystem using a predefined folder, which includes your Markdown files.
Terraphim operates on local infrastructure and works exclusively for the owner's benefit.
https://github.com/terraphim/terraphim-ai/assets/175809/59c74652-bab4-45b2-99aa-1c0c9b90196b
There are growing concerns about the privacy of data and the sharing of individuals' data across an ever-growing list of services, some of which have questionable data ethics policies. 1,2,3,4
Individuals struggle to find relevant information in different knowledge repositories:
Terraphim aims to bridge this gap by providing a privacy-first AI assistant that operates locally on the user's hardware, enabling seamless access to various knowledge repositories without compromising privacy. With Terraphim, users can efficiently search personal, team-focused, and public knowledge sources, ensuring that their data remains under their control at all times.
In order to start a terraphim server, run the following command:
cargo run
This will start an API endpoint, which can be used to index and query documents.
To open the local web-frontend, open a new terminal and run:
cd desktop
yarn # Install dependencies
yarn run dev
Alternatively, you can use the Tauri-based desktop app by running:
cd desktop
# Install dependencies
yarn
# run the Tauri dev server
yarn run tauri dev
(See the desktop README for more details.)
When configuring or working on Terraphim, you will encounter the following terms and concepts:
The term is originally taken from the Relict series of science fiction novels by Vasiliy Golovachev. Terraphim is an artificial intelligence living inside a spacesuit (part of an exocortex), or inside your house or vehicle, and it is designed to help you with your tasks. You can carry it around with you. Similar entities now common in science fiction, for example Destiny 2 has entity called Ghost.
Or in Star Wars Jedi Survivor there is an AI assistant BD-1.
The compactness and mobility of such AI assistant drives the [[Design Decisions]] of Terraphim.
Terraphim is a trademark registered in the UK, US and internationally (WIPO). All other trademarks mentioned above are the property of their respective owners.
If you'd like to contribute to the project, please read our Contributing guide.
This project is licensed under the Apache license.