What problem does it solve?
Setting up a first LangGraph agent in TypeScript involves navigating documentation, choosing a model provider, and configuring a project correctly, which can be error-prone when done from memory.
Core Features & Use Cases
- Docs-Grounded Scaffolding: Fetches the official LangGraph JavaScript quickstart and implements the calculator/math agent exactly as documented, preferring the Graph API over the Functional API.
- Model-Agnostic Setup: Prompts for a provider:model string (e.g. anthropic:claude-sonnet-5, openai:gpt-5.5) and wires it via initChatModel, with provider-specific constraints like omitting temperature on Claude Sonnet 5+.
- Isolated Project Setup: Creates a new directory, installs only the required packages, and keeps secrets in a gitignored .env file.
- Use Case: A developer wants to try LangGraph locally for the first time; the agent scaffolds a working math agent in a fresh directory, runs an example query like "Add 3 and 4.", and shows the output.
Quick Start
Ask your coding agent to scaffold a minimal local LangGraph agent in TypeScript using the official quickstart with your preferred model provider.