ragrails and writes .ragrails.toml; the workflow commands below use those saved defaults.
1. Install
2. Run the Setup Wizard
Runragrails with no subcommand to save CLI defaults in .ragrails.toml:
ragrails setup subcommand. The setup wizard is the bare ragrails command. After it writes .ragrails.toml, you can omit repeated flags such as --vector-db, --collection, --url, --provider, and --model.
For the quickstart stack, answer the wizard like this. Press Enter to accept blank defaults.
Ragrails setup
Configure project defaults for SDK-backed CLI commands.
1. Vector store
Vector database provider (qdrant, qdrant_cloud, pinecone, weaviate) [qdrant]:
Collection name [docs]: support
Vector database URL: http://localhost:6333
2. Embedding
Embedding provider [voyage]:
Embedding model [voyage-3]:
3. LLM
LLM provider (openai, anthropic, google) [openai]:
LLM model [package default]: gpt-4o-mini
LLM max tokens [1024]:
4. Reranking
Enable reranker? [y/N]:
Configure advanced defaults? [y/N]:
LLM model prompt; type gpt-4o-mini for this quickstart.
The wizard previews the config, writes .ragrails.toml, and prints the environment variables needed by the selected providers. With the answers above, the saved config is:
setup-url is separate browser setup:
3. Ingest
4. Query
5. Chat
ragrails chat with no question to start the interactive session.
Next
Ingest
Learn the full CLI ingest workflow.
Query
Search and chat over a stored collection.
Overview
See every CLI pipeline stage.
Doctor
Validate your environment.

