A minimal LangGraph.js research graph. Clone, set your key, deploy — done.
git clone https://github.com/Crewship/langgraph-js-quickstart.git
cd langgraph-js-quickstart
# Install Crewship CLI tool
curl -fsSL crewship.dev/install | bash
npm installcrewship env set OPENAI_API_KEY=sk-...Using a different provider? Swap the
ChatOpenAIimport insrc/graph.tsand set the matching key — e.g.ANTHROPIC_API_KEYfor Claude,GROQ_API_KEYfor Groq (free tier).
crewship deployThat's it. Your research graph is live.
cp .env.example .env # add your OPENAI_API_KEY
npm startA two-node graph powered by GPT-4o mini:
- researcher — finds 5 key points about a topic
- reporter — turns them into a short markdown report
Change the topic in src/main.ts.
- Graph logic →
src/graph.ts - Entry point →
src/main.ts