Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Build your first agent" tutorial #461

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

Masstronaut
Copy link
Contributor

@Masstronaut Masstronaut commented Sep 5, 2024

This PR (WIP, do not merge!) is a port of the python getting started tutorial, adapted for TS/NodeJS developers.

It also adds sections on using LangGraph Studio to iterate on an agent and deploying it via LangGraph Cloud.

This draft PR is to get early feedback on the sections of the tutorial.

@Masstronaut Masstronaut self-assigned this Sep 5, 2024
Copy link

@briangershon briangershon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great lesson @Masstronaut !

  • Even though I was familiar with the Python LangGraph, I learned some new things with this JS version!
  • LangGraph Studio is very cool -- love the time travel and debugging capabilities

I ran through all the steps (0-5), but didn't run through the last step (6, deploy to the cloud).

I added my feedback as I ran through the steps.


## Prerequisites

To complete this tutorial, you will need to have a computer set up with Node.js 18 or later. You can download Node.js from the [official website](https://nodejs.org/).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Node.js 20 to match requirements for LangGraph studio?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node 18+ is fine for parts 0-4, it's only Studio that needs to be exactly version 20. So I think it makes more sense to defer that to later and keep the first parts simpler. Hopefully we will have node 18+ support for studio in the future and can just remove the nvm section in the studio tutorial.

docs/docs/tutorials/first-agent/0-setup.md Outdated Show resolved Hide resolved
docs/docs/tutorials/first-agent/1-create-chatbot.md Outdated Show resolved Hide resolved
docs/docs/tutorials/first-agent/1-create-chatbot.md Outdated Show resolved Hide resolved
docs/docs/tutorials/first-agent/1-create-chatbot.md Outdated Show resolved Hide resolved
docs/docs/tutorials/first-agent/2-search-RAG.md Outdated Show resolved Hide resolved
docs/docs/tutorials/first-agent/3-persistent-state.md Outdated Show resolved Hide resolved
docs/docs/tutorials/first-agent/4-human-in-the-loop.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants