» pip install langgraph-cli
Videos
TL;DR: I built a TypeScript CLI that makes testing LangGraph agents dead simple. No more writing custom scripts or complex SDK setup for every test.
🚨 The Problem
Anyone working with LangGraph agents knows the pain:
-
❌ Writing throwaway scripts just to test one agent
-
❌ Setting up the SDK manually for every experiment
-
❌ Wrestling with JSON configs for simple tests
-
❌ No easy way to stream responses or debug runs
-
❌ You just want to throw one message at the assistant for testing
✅ The Solution
I created LangGraph Client CLI - a comprehensive TypeScript CLI that wraps the LangGraph SDK and makes agent easy for you, and apps like Claude Code
🔧 Key Features
-
🤖 Complete LangGraph coverage: assistants, threads, runs management
-
⚙️ Smart configuration: JSON files + environment variables + CLI overrides
-
📡 Real-time streaming: See agent responses as they happen
-
🚀 Production ready: Secure config, multiple deployment options
-
📝 TypeScript throughout: Full type safety and great DX
🚀 Quick Start
# Install and test instantly
npx langgraph-client-cli@latest assistants list
npx langgraph-client-cli threads create
npx langgraph-client-cli runs stream <thread> <agent> --input '{"messages": [{"role": "human", "content": "Hello!"}]}'💡 Real-World Usage
Perfect for:
-
🔬 Rapid agent prototyping and testing
-
🤖 Claude Code users who need command-line agent testing
-
😤 Anyone tired of writing boilerplate SDK code
🔗 Links
-
NPM: https://www.npmjs.com/package/langgraph-client-cli
-
GitHub: https://github.com/nickwinder/langgraph-client-cli
Built this scratching my own itch - hope it helps others in the LangGraph community! Feedback and contributions welcome.
» npm install @langchain/langgraph-cli