LabscoMCP early access ↗
langchain-ai avatar✓ Official

langgraph-typescript-quickstart

Account or credentials required★ 1.3k on GitHub
part of langchain-ai/langchain-skillsby langchain-ai

Sets up the LangGraph calculator agent in TypeScript from the official quickstart: an agent whose steps are wired together as a graph, doing simple arithmetic on the AI model you pick.

WHEN TO USE

SCOPE

USE FOR

  • Wire up the docs' math agent using the Graph API rather than the Functional API.
  • Point the agent at your chosen model instead of the Anthropic model the docs assume.
  • Create the project in its own folder, apart from the code you have open.
  • Run a test question like adding 3 and 4 and see the agent's output.
  • Move on to LangGraph fundamentals, or to LangChain's higher-level agent API.