In recent years, AI has made significant progress in the field of literary creation. From the AI micro-fiction competition to the wonderful writing of literature to Midreal AI, these cases have proved the great potential of AI in literary creation. As an online literature enthusiast, I hope to develop an application that can automatically generate online novels through large language models and multi-agent technology.
The creation of online articles can apply the cognitive process model of writing , which regards writing as a goal-oriented thinking process, including nonlinear cognitive activities: planning, transformation and review.
Literature and practice show that LLM performs better in conversion and review, but has flaws in the planning stage. Specifically reflected in
My solution to these problems is

After some exploration, I think the current large language model does not have enough ability to create long online novels .
The possible future development directions are:
Requirements for large-scale models
Optimization of program architecture
https://modelscope.cn/studios/cjyyxn/AI_Gen_Novel/summary

First, install the required dependencies:
pip install -r requirements.txt The project relies on a large language model. You need to implement the chatLLM function in LLM.py
Run demo.py directly, the novel will be automatically created and the results will be saved in the novel_record.md file.
Run app.py to start a gradio-based application. By opening the displayed link, you can experience the visualization process of AI novel generation.