graphstore-cli
The official CLI for Graphstore.
npm install -g graphstore-cli
gs auth login --email you@example.com
gs graph create "My graph"
gs --help
For CI or agents, set GRAPHSTORE_URL and GRAPHSTORE_API_KEY, or pass --url and --key.
LLMs and pipelines should send structured queries on stdin:
printf '%s' '{"type":"task","where":[{"path":"$.status","op":"eq","value":"open"}]}' | gs data query --stdin
Saved files and small inline queries also work:
gs data query query.json
gs data query --json-query '{"type":"task","limit":10}'
Hybrid search combines SQLite FTS5 with optional Cloudflare Vectorize embeddings. Enable embeddings only for text-rich node types:
gs data semantic-enable observation
gs data search "what did we decide about backups?" --mode hybrid --type observation
Graph exports and backups store the semantic type allowlist, not derived vectors. Restore regenerates embeddings from restored nodes.