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.