This example contains a simple starter project.
These instructions assume you are in the coagents-starter/
directory
First, install the dependencies:
cd agent
poetry install
Then, create a .env
file inside ./agent
with the following:
GROQ_API_KEY=...
Then, run the demo:
poetry run demo
First, install the dependencies:
cd ./ui
pnpm i
Then, create a .env
file inside ./ui
with the following:
GROQ_API_KEY=...
Then, run the Next.js project:
pnpm run dev
Navigate to http://localhost:3000.
Run LangGraph studio, then load the ./agent
folder into it.
Make sure to create teh .env
mentioned above first!
A few things to try if you are running into trouble:
- Make sure there is no other local application server running on the 8000 port.
- Under
/agent/my_agent/demo.py
, change0.0.0.0
to127.0.0.1
or tolocalhost