GenAI

Install Local Langgraph setup on Mac

  1. Create and Activate Virtual Environment
    python3 -m venv rag
    source rag/bin/activate
  2. Core & Addon Library Installation
    pip install -U langgraph
    pip install -U langchain langchain-openai
  3. LangGraph CLI & Local Server
    pip install -U “langgraph-cli[inmem]”
    — To verify if langgraph is installed
    langgraph –help
  4. LangGraph Studio (Desktop IDE) for MacOS
    brew install –cask langgraph-studio
  5. Create project
    langgraph new your-agent-project-name –template new-langgraph-project-python
    — Install dependencies
    cd your-agent-project-name && pip install -e .
    — Launch Dev Server
    langgraph dev

Leave a Reply

Your email address will not be published. Required fields are marked *