Clone the repo and run setup
Clone the repository and run the setup script. It creates a The setup script requires Node.js (with
.env file from .env.example, sets up a Python virtual environment, installs all Node.js and Python dependencies, applies Supabase database migrations, and runs the test suite to confirm everything is working.npm) and Python 3. If psql is available and SUPABASE_DB_URL is set in your .env, it will also apply database migrations automatically.Configure your .env file
Open the VoyageAI embeddingsUnstructured.io document parserQdrant vector databaseMem0 long-term memoryUpstash Redis (short-term memory)ElasticLake object storageSupabase databaseLogging and environment
.env file created by setup and fill in every variable. Each variable maps to a specific service — register for each one using the links below.LLM providerSign up at https://console.groq.com to get a Groq API key. Quark uses the OpenAI-compatible API format, so any provider that exposes an OpenAI-compatible endpoint works.
.env
Sign up at https://www.voyageai.com/ to get an embedding API key.
.env
Sign up at https://unstructured.io/?modal=try-for-free to get your API key and server URL.
.env
Sign up at https://qdrant.tech/ to create a free cloud cluster. Copy the cluster URL and API key from the Qdrant dashboard. Choose any name for your collection.
.env
Sign up at https://mem0.ai/ to get your API key.
.env
Sign up at https://upstash.com/ and create a Redis database. Copy the
REDIS_URL from the database details page..env
Sign up at https://app.elasticlake.com/ to create an object and obtain your access credentials.
.env
Sign up at https://supabase.com/ and create a project. Find the API URL, anon key, service key, and direct connection URL in Project Settings → API.
.env
.env
Start the CLI
Once all environment variables are set, start the interactive CLI:The CLI launches a terminal UI. You will see a welcome prompt once Quark connects to all services successfully.
Ingest a document
Inside the CLI, use the Quark will parse the document, extract text and images, generate embeddings, and store everything in Qdrant. Ingestion time varies with document size.
:ingest command followed by the absolute or relative path to your PDF:Next steps
Configuration
Full reference for every environment variable and pipeline constant.
CLI usage
Learn all available CLI commands and session management options.