Privacy-First AI Infrastructure Framework — deploy and manage private AI on your own infrastructure.
Docs · Quickstart · Architecture · License
deepfellow-cli is the command-line tool for installing, configuring, and managing DeepFellow — a framework for running AI models on your own infrastructure with full data control, an OpenAI-compatible API, and a modular plugin system for prompt filtering, anonymization, and response validation.
- Git ≥ 2.30.0
- Python ≥ 3.10
- Docker Engine ≥ 28.0.0
- Package manager: uv, pipx, or pip
curl https://deepfellow.ai/install.sh | bashVerify with deepfellow --help.
To uninstall:
uv tool uninstall deepfellow-cli # or pipx / pip3 uninstalldeepfellow infra install # interactive — configures API keys, Docker network, etc.
deepfellow infra startdeepfellow infra service install ollama
deepfellow infra model install ollama gemma3:1bPick a model that fits your VRAM — see our model recommendations and Supported Models for guidance.
deepfellow server install # interactive — configures MongoDB, Qdrant, DeepFellow Infra connection
deepfellow server startdeepfellow server create-admin
deepfellow server logindeepfellow server organization create "My Company"
export ORG_ID=u4hdn4uamdu4hs
deepfellow server project create $ORG_ID "My Project"
export PROJ_ID=amdu4hsu4hdn4u
deepfellow server project api-key create $ORG_ID $PROJ_ID "my-key"Done. Your private AI is running and accepting OpenAI-compatible API requests.
Majority of commands run interactively by default. For scripting and automation, pass --non-interactive with the required options:
export DF_INFRA_API_KEY=dfapi-u4hdn4u-amdu4hs-cbgurg-223hdgr
deepfellow --non-interactive infra install
deepfellow --non-interactive server install \
--infra-url https://infra.local:8086Every interactive prompt has a corresponding --flag. Run any command with --help to see all available options.
deepfellow infra install # Interactive setup
deepfellow infra start / stop # Start / stop DeepFellow Infra containers
deepfellow infra info # Show config & env vars
deepfellow infra ssl-on # Configure SSL
deepfellow infra service install # Add model backend (ollama, vllm, …)
deepfellow infra service uninstall # Remove backend + its models
deepfellow infra model install # Pull a model
deepfellow infra model uninstall # Remove a model
deepfellow infra connect # Attach to a multi-node Mesh
deepfellow infra disconnect # Disconnect from Mesh
deepfellow infra env set # Set / unset env variable
deepfellow infra uninstall # Full removaldeepfellow server install # Interactive setup
deepfellow server start / stop # Start / stop DeepFellow Server containers
deepfellow server info # Show config & env vars
deepfellow server create-admin # Create admin account
deepfellow server login # Authenticate for CLI admin tasks
deepfellow server password-reset # Reset user password
deepfellow server organization create # Create an organization
deepfellow server project create # Create a project
deepfellow server api-key create # Generate an API key
deepfellow server env set # Set / unset env variable
deepfellow server uninstall # Full removalAll state lives in ~/.deepfellow/ — env files, Docker Compose configs, secrets, and model storage. Use deepfellow infra info or deepfellow server info to inspect current settings, or env set to modify them. See Installation docs for the full list of environment variables.
- Architecture — Server, Infra, and Mesh topology
- Plugins — Prompt filtering, anonymization, response evaluation
- Integrations — LangChain, Sindri, vector stores, MCP toolbox
- Supported Models — Full list with VRAM requirements
- Security & Control — Data sovereignty, access management
- Running on AWS — Cloud deployment guide
- API Reference — OpenAI-compatible endpoints
DeepFellow Free License — free for personal use and organizational R&D. Commercial use requires a commercial license.