DeepFellow DOCS

Installation

The minimal setup for DeepFellow Architecture is one DeepFellow Server and one instance of DeepFellow Infra. DeepFellow Server and DeepFellow Infra can be installed on the same machine. For efficiency at scale, we recommend installing them on different server machines. Note that you can install more DeepFellow Infras and connect them together into so called Mesh to gain efficiency via load-balancing.

See Architecture for an example layout.

To perform administrative tasks via CLI, see Logging In.

Requirements

Make sure you have the following programs in your system before installing DeepFellow:

DeepFellow Infra manages Docker containers through the Docker socket. Run Docker in rootless mode on the machine that hosts Infra. A Docker daemon running as root grants anyone with access to the socket root access to the host.

Supported Platforms

DeepFellow runs on Linux and macOS. On Windows, run the CLI through WSL instead. See DeepFellow CLI for the Windows installer.

A GPU is optional. A host without a supported GPU runs the services on the CPU, with substantially lower performance. See Hardware Requirements for supported GPUs and example configurations.

Docker on macOS gives containers no access to the GPU, so the ollama service runs on the CPU there. To use the GPU of a Mac with Apple Silicon, see Apple GPU on macOS.

Some services need a specific operating system or hardware. DeepFellow Infra disables a service that your host does not support. See Service Compatibility.

Quick Install

Make sure you have DeepFellow CLI on your system:

curl https://deepfellow.ai/install.sh | bash

For a single-command setup with recommended defaults, run:

deepfellow suite install

This command runs the whole installation in a single pass:

  • DeepFellow Infra
    • Starts the ollama service, which uses a supported GPU when the host has one and runs on the CPU otherwise, for example on macOS
    • Installs two models: a chat model and an embedding model
    • Installs Doc Chunker with one worker in the custom service
    • Installs Systran/faster-whisper-large-v3 in the speaches-ai service, which Doc Chunker uses to transcribe audio and video. To describe images, Doc Chunker uses the chat model
    • With --falkordb-active, installs the gliner model in the custom service, which Knowledge Graph uses to extract entities. The image takes about 10 GB
  • DeepFellow Server
    • Sets up a Milvus vector database
    • Creates the admin account
    • Creates a "Workspace" organization and a "Default" project
    • Creates an "app" API key for the project
    • Grants the project access to the chat and embedding models
  • DeepFellow Workspace
    • Installs the application with its own MongoDB and Redis, unless you pass external ones
    • Creates the first Workspace admin account

It prompts for the Server admin account's name, email, and password, for the Workspace admin account's name, email, and password, and for the address that browsers use to open Workspace. The Workspace admin is a separate account: its password must differ from the Server admin's. Skip the prompts with:

  • The --admin-name, --admin-email, and --admin-password flags and the --workspace-admin-name, --workspace-admin-email, --workspace-admin-password, and --workspace-public-url flags, or
  • The DF_SERVER_ADMIN_NAME, DF_SERVER_ADMIN_EMAIL, and DF_SERVER_ADMIN_PASSWORD environment variables and the DF_WORKSPACE_BOOTSTRAP_ADMIN_NAME, DF_WORKSPACE_BOOTSTRAP_ADMIN_EMAIL, DF_WORKSPACE_BOOTSTRAP_ADMIN_PASSWORD, and DF_WORKSPACE_PUBLIC_URL environment variables

See DeepFellow Suite for the full list of options.

Continue with DeepFellow Infra and DeepFellow Server to configure each component individually, for example to customize SSL, connect Infras into a Mesh, or choose a different vector database.

suite install already installs DeepFellow Workspace. To add it on top of a DeepFellow Server project that you installed separately, see DeepFellow Workspace.

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.

On this page