Step 1: Checkout the repo
Get the starting code
We'll use the open-research-ana repository as our starting point. Clone the tutorial-start branch:
git clone -b tutorial-start https://github.com/CopilotKit/open-research-ana.git
cd open-research-anaThe repository contains:
frontend/: A NextJS application where we'll integrate our agentagent/: A Python-based LangGraph agent we'll enhance with CopilotKit
Install frontend dependencies
Navigate to the frontend directory and install dependencies:
cd frontend
pnpm installStart the application
Launch the development server:
pnpm run devVisit http://localhost:3000 to see the initial application. You'll see an empty chat interface and document - this is our starting point.
Next, we'll explore how our LangGraph agent works.
