https://github.com/ashot72/ashot72-langgrap.js-server-agents
LangGraph.js Server Agents
https://github.com/ashot72/ashot72-langgrap.js-server-agents
ai ai-agents chatgpt human-in-the-loop langchain langchain-js langgraph langgraph-js langgraph-server langsmith
Last synced: 3 months ago
JSON representation
LangGraph.js Server Agents
- Host: GitHub
- URL: https://github.com/ashot72/ashot72-langgrap.js-server-agents
- Owner: Ashot72
- Created: 2025-05-14T18:04:01.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-14T18:51:19.000Z (5 months ago)
- Last Synced: 2025-05-14T19:44:20.588Z (5 months ago)
- Topics: ai, ai-agents, chatgpt, human-in-the-loop, langchain, langchain-js, langgraph, langgraph-js, langgraph-server, langsmith
- Language: TypeScript
- Homepage:
- Size: 1.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LangGraph.js Server Agents
We built three agents; Chat, Search, Job Notification, and Supervisor Agent. The Supervisor Agent determines which agent to use and routes the user prompt accordingly. All agents run on the LangGraph.js server.When we developed the server agents, we had in mind a web-based application that we are going to build. This application will make requests to the LangGraph Server agents and render the responses. It will connect to any agent, including the supervisor, and display all previous thread similar to ChatGPT where users can revisit and continue conversations. The app will also allow users to edit prompts and resubmit them (fork them), just like in ChatGPT
[LangGraph.js](https://langchain-ai.github.io/langgraphjs/) is a library for building stateful, multi-actor applications with LLMs, used to create agent and multi-agent workflows. Compared to other LLM frameworks, it offers these core benefits; cycles, controllability, and persistence.
The [LangGraph Server](https://langchain-ai.github.io/langgraphjs/concepts/langgraph_server/) is a component of the LangGraph platform, designed to facilitate the development and deployment of applications built with LangChain's LangGraph framework. It serves as an API server that integrates various tools and technologies to support the execution and management of LangGraph applications.

The Chat Agent is used for answering simple questions, such as Generate 5-letter English words. Note: You can edit the question to receive a new answer (fork it).

The Search Agent searches the web in real time using Tavily Search.

I developed a [Job Notification](https://github.com/Ashot72/Job-Interview-Notification-AI-Agent-LangGraph-JS) agent in Node.js. You can explore the project.

In the Job Notification agent, the AI agent will select the matching job categories based on a prompt from the Categories.json file. Then, from the respective categories, matching candidates in the Candidates.json file will be selected based on their skills. The app follows a human-in-the-loop (HITL) approach, requiring human intervention before proceeding with certain tasks. If the selected best candidate does not satisfy the recruiter, they can skip it and ask for the next best candidate. If the best candidate is selected, an email notification generated by AI will be sent to the candidate. If the
generated email does not satisfy the recruiter; they can skip it and ask for another one with different content.
Supervisor Agent determines which agent to use and routes the user prompt accordingly.
To get started.
```
# Clone the repositorygit clone https://github.com/Ashot72/Ashot72-LangGrap.js-Server-Agents
cd Ashot72-LangGrap.js-Server-Agents# Create the .env file based on the env.example.txt file and include the respective keys.
# installs dependencies
npm install# to run locally
npm start
```Go to [LangGraph.js Server Agents Video](https://youtu.be/MWhVpp1roKk) page
Go to [LangGraph.js Server Agents Description](https://ashot72.github.io/Ashot72-LangGrap.js-Server-Agents/doc.html) page