How softwaredeveloper111/langgraph-articleforge works
This is a command-line article-generation tool. A user enters a topic; the LangGraph workflow searches for sources, creates an outline, writes an article, and reviews it for textual similarity. Similarity can send the article back to the writer for up to two revisions. The program displays the outline, sources, and article, then saves the article to article.md. All implemented components are in index.js; there is no README, so the graph reflects the sampled implementation.
Main entry points: index.js LangGraph Workflow · article.md Article File
Components 10
Article Workflow
- LangGraph Workflow
index.js - Web Research
index.js - Outline Generation
index.js - Article Writer
index.js - Originality Review
index.js
External Services
- Google Gemini
- Tavily Search
Command Line
- Prompt and Output
index.js - Article File
article.md
Other components
- User
Connections 13
- User → Prompt and Output: enters topic
index.js - Prompt and Output → LangGraph Workflow: invokes
index.js - LangGraph Workflow → Web Research: dispatches
index.js - Web Research → Tavily Search: searches sources
index.js - LangGraph Workflow → Outline Generation: dispatches
index.js - Outline Generation → Google Gemini: requests outline
index.js - LangGraph Workflow → Article Writer: dispatches
index.js - Article Writer → Google Gemini: requests article
index.js - LangGraph Workflow → Originality Review: dispatches
index.js - Originality Review → Tavily Search: searches samples
index.js - Originality Review → LangGraph Workflow: routes rewrite or finish
index.js - Prompt and Output → Article File: writes article
index.js - Prompt and Output → User: displays results
index.js