AgentWrite LangGraph is a rewrite and extension of AgentWrite using LangGraph, designed to create an advanced writing assistant powered by language models and graph-based workflows.
This project leverages LangGraph to orchestrate a series of language model interactions, creating a powerful tool for automated content generation. It breaks down complex writing tasks into manageable steps, including planning, writing, and refining content.
- Automated content planning
- Paragraph-by-paragraph content generation
- Integration with multiple language models (OpenAI, GROQ, OLLaMA)
- Flexible workflow management using LangGraph
- Markdown output for generated content
-
Set up your environment variables in a
.envfile:OPENAI_API_KEY=your_openai_api_key GROQ_API_KEY=your_groq_api_key -
Run the main script:
python -m agentwrite