1 pointby james-barney7 hours ago1 comment
  • james-barney7 hours ago
    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.