graphstore-cli
v0.1.5
Published
CLI for the Graphstore agent-first graph database
Downloads
839
Readme
graphstore-cli
The official CLI for Graphstore.
npm install -g graphstore-cli
gs auth login --email [email protected]
gs graph create "My graph"
gs --helpFor 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 --stdinSaved 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 observationGraph exports and backups store the semantic type allowlist, not derived vectors. Restore regenerates embeddings from restored nodes.
