Documentation Index
Fetch the complete documentation index at: https://docs.helix-db.com/llms.txt
Use this file to discover all available pages before exploring further.
For the complete documentation index optimized for AI agents, see llms.txt.
Agent quickstart
If you are starting a new project inside a coding-agent environment, usehelix chef:
helix chef asks what you want to build, then lets you choose automatic or manual setup. Automatic setup installs the Helix skills, connects the Helix docs MCP at https://docs.helix-db.com/mcp, creates ~/my-first-helix-project, starts dev, writes starter dynamic query files, seeds example data, and opens the dashboard.
To skip prompts and run the automatic flow directly:
HELIX_CHEF_PROMPT.md into the new project. This is a placeholder for the active coding agent to replace the starter JSON requests with app-specific Helix queries based on your build idea.
Local quickstart
Install the Helix CLI
helix update.Create a new project
helix init scaffolds:helix.tomlwith a single[local.dev]instance..helix/workspace state (added to.gitignore).examples/request.json— a runnable read request you can send straight away.
helix init prompts you to pick local or enterprise. Pass the subcommand directly to skip the prompt: helix init local.Run the local dev runtime
helix run pulls ghcr.io/helixdb/database-dev:latest, starts a background container named helix-<project>-dev, publishes port 8080, and waits until the local gateway accepts POST /v1/query before returning.To stream logs in the foreground instead, use helix run dev --foreground and stop the container with Ctrl-C.For persistent local data, use helix run dev --disk. Disk mode starts a CLI-managed MinIO sidecar and keeps data across helix stop.Send a dynamic query
User nodes. Pass --compact to print on a single line, or --warm to populate caches without printing a response body.examples/request.json (or write your own JSON files) and run helix query dev --file … again to iterate. See the helix query reference for the request shape and validation rules.
V2 Cloud quickstart
To query a V2 Cloud cluster from the CLI:Tips
Iterating on queries
Iterating on queries
- Edit
examples/request.json(or any other file) and runhelix query dev --file …again. - Read requests can be replayed with
--warmto pre-populate caches without printing output. - Every dynamic query must start with a source step (for example
NWhere) before a terminal step likeCount.
Scripting and CI
Scripting and CI
- Pass subcommands explicitly (
helix init local …,helix add enterprise …) — the CLI never prompts when stdin is not a TTY. - Use
--yesfor destructive operations in non-interactive contexts:helix delete <INSTANCE> --yes,helix prune --all --yes. helix stopexits cleanly when the instance is not running, so it is safe to call unconditionally in teardown.
Cleaning up
Cleaning up
helix stop <instance>stops a running container.helix pruneremoves Helix-owned containers, workspace state, and disk-mode volumes. It never runs a broaddocker system prune.helix delete <instance>removes the instance fromhelix.tomland cleans up local runtime state.
Version control
Version control
- Commit
helix.tomland any*.jsonrequest files you author. .helix/,target/, and*.logare added to.gitignorebyhelix init.- Credentials in
~/.helix/credentialsare user-global and should never be committed.
Next Steps
Local workflow
The full local init/run/query loop with iteration tips
V2 Cloud workflow
Authenticate, link a project, and query a V2 Cloud cluster
CLI Command Reference
Every command, subcommand, and flag
Troubleshooting
Solutions to common issues