Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Lgctl – A Unix-style CLI for managing LangGraph stores, threads, and memories (github.com/barneyjm)
1 point by james-barney 2 hours ago | hide | past | favorite | 1 comment




I built lgctl because I needed a simple way to inspect and manage LangGraph deployments from the command line. It follows Unix conventions like ls, get, put, rm, grep, find so the commands feel familiar.

Really it's a convenience wrapper on the Langsmith SDK but has some higher level abstractions and nice features like:

- Store ops: lgctl store ls, lgctl store search user,123 "pizza preferences"

- Bulk operations: lgctl ops export -o backup.jsonl, lgctl ops import data.jsonl

- Memory analysis: lgctl ops analyze, lgctl ops grep "pattern"

- Interactive REPL: lgctl repl for namespace navigation

- MCP server: For AI agent integration

pip install lgctl

Example workflow:

$ lgctl store ls -i user,123

$ lgctl store search user,123 "food"

$ lgctl ops export user,123 -o backup.jsonl

$ lgctl ops import backup.jsonl

Totally open to PRs, comments, issues, etc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: