Skip to content

Crewship/langgraph-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LangGraph Quickstart

A minimal LangGraph research graph. Clone, set your key, deploy — done.

Deploy in 3 steps

1. Clone & install

git clone https://github.com/Crewship/langgraph-quickstart.git
cd langgraph-quickstart
# install Crewship CLI tool
curl -fsSL crewship.dev/install | bash
pip install -e .

2. Set your API key

crewship env set OPENAI_API_KEY=sk-...

Using a different provider? Swap the ChatOpenAI import in graph.py and set the matching key — e.g. ANTHROPIC_API_KEY for Claude, GROQ_API_KEY for Groq (free tier).

3. Deploy

crewship deploy

That's it. Your research graph is live.

Run locally (optional)

cp .env.example .env   # add your OPENAI_API_KEY
python main.py

What's inside

A 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 main.py.

Customise

  • Graph logicgraph.py
  • Entry pointmain.py

Learn more

About

A minimal LangGraph research graph. Clone, set your key, run.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages